linux/block/scsi_ioctl.c
<<
>>
Prefs
   1/*
   2 * Copyright (C) 2001 Jens Axboe <axboe@suse.de>
   3 *
   4 * This program is free software; you can redistribute it and/or modify
   5 * it under the terms of the GNU General Public License version 2 as
   6 * published by the Free Software Foundation.
   7 *
   8 * This program is distributed in the hope that it will be useful,
   9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
  10 *
  11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12 * GNU General Public License for more details.
  13 *
  14 * You should have received a copy of the GNU General Public Licens
  15 * along with this program; if not, write to the Free Software
  16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-
  17 *
  18 */
  19#include <linux/kernel.h>
  20#include <linux/errno.h>
  21#include <linux/string.h>
  22#include <linux/module.h>
  23#include <linux/blkdev.h>
  24#include <linux/capability.h>
  25#include <linux/completion.h>
  26#include <linux/cdrom.h>
  27#include <linux/ratelimit.h>
  28#include <linux/slab.h>
  29#include <linux/times.h>
  30#include <asm/uaccess.h>
  31
  32#include <scsi/scsi.h>
  33#include <scsi/scsi_ioctl.h>
  34#include <scsi/scsi_cmnd.h>
  35
  36struct blk_cmd_filter {
  37        unsigned long read_ok[BLK_SCSI_CMD_PER_LONG];
  38        unsigned long write_ok[BLK_SCSI_CMD_PER_LONG];
  39};
  40
  41static struct blk_cmd_filter blk_default_cmd_filter;
  42
  43/* Command group 3 is reserved and should never be used.  */
  44const unsigned char scsi_command_size_tbl[8] =
  45{
  46        6, 10, 10, 12,
  47        16, 12, 10, 10
  48};
  49EXPORT_SYMBOL(scsi_command_size_tbl);
  50
  51#include <scsi/sg.h>
  52
  53static int sg_get_version(int __user *p)
  54{
  55        static const int sg_version_num = 30527;
  56        return put_user(sg_version_num, p);
  57}
  58
  59static int scsi_get_idlun(struct request_queue *q, int __user *p)
  60{
  61        return put_user(0, p);
  62}
  63
  64static int scsi_get_bus(struct request_queue *q, int __user *p)
  65{
  66        return put_user(0, p);
  67}
  68
  69static int sg_get_timeout(struct request_queue *q)
  70{
  71        return jiffies_to_clock_t(q->sg_timeout);
  72}
  73
  74static int sg_set_timeout(struct request_queue *q, int __user *p)
  75{
  76        int timeout, err = get_user(timeout, p);
  77
  78        if (!err)
  79                q->sg_timeout = clock_t_to_jiffies(timeout);
  80
  81        return err;
  82}
  83
  84static int sg_getreserved_size(struct request_queue *q, int __user *p)
  82}
timeout,   82}
miesg_timeout);
request_queue<*___max);
___maxsg_timeout);
  78, p)vaclass="line" namvac"+coss="line" name="L77">  77
q->  81er9;
request_queueq, int __user *p)
  82}
  83

  84err = request_queu+code=qss="line" name="L="+code=timeout" class="sref">timeout, p);
request_queu+code=qss="line" name="L77">  77
sg_getreserv9d_siz94 return timeout,   79                  82}
  82}
  78request_queu+code=qctl.c 0      sg_tiL82" cl-nd_size_tbl" claINVAcsi_command_size_INVAcref="block/scsi_ioctl.c#L83" id="L810lock/scsi__ioctl.c#L11" id="L11" cl    cl #L79" id="L79" c);
request_queu+code=qctc#L c);
___max);
___maxsg_timeout);
sg_ti);
request_queu+code=qcttion>
  
L">request_queu+code=qcttion>
  
L"" class="sref">sg_tiL82" cl-nd_siclass="li0ne" name="L12">  12<02.c 9"f="block/scsi_ioctl.c#L53" id="L53"10class="li0ne" name="L13">  13<03.c 9"3
miesg_timeout);
sg_tiL82" cl-nd_siclass="li0ne" name="L14">  14<04.c 9"4if (!sg_tiL82" cl-nd_siclass="li0ne" name="L15">  15<05.c 9"5="block/scsi_ioctl.c#L78" id="L788r10class="li0ne" name="L16">  16<06.c 9"6="block/scsi_ioctl.c#L53" id="L53"10class="li0ne" name="L17">  17<07.c 9"lass="comment"> *
  18<08.c 9"lass="comment"> * This programul,  19#09.c 9"lass="comment"> * but WITHOUT so surem; if if worth doing any; ing ab imp(why wo usestribure??)ref="block/scsi_ioctl.c#L11" id="L11" cze_tbl" cine" name="L10">  10< *
  11);
request_queueq, int __user *p)
  12<}
  13<p);
request_queu+co1 class="liine" name="L14">  14<  15<  16<;
;
blk_cmd_filter blk_cmd_filta href="+clock/scsi_ioctl81" cla.c#L76" i1 class="liine" name="L17">  17<  18</* Command grouBasa h  19##incl119
);
<___iocbi"+code=qcttion>
  
L"TEST_UNIT_READYremeout);
blk_cmd_filta href="+ceout" class=miequestss="sref">read_ok[request_queu+co1 class="l1ine" name="L20">  201#incl120
);
<___iocbi"+code=qcttion>
  
L"REQUEST_SENSEremeout);
blk_cmd_filta href="+ceout" class=miequestss="sref">read_ok[request_queu+co1 class="liine" name="L21">  211#incl121
);
<___iocbi"+code=qcttion>
  
L"READ_6remeout);
blk_cmd_filta href="+ceout" class=miequestss="sref">read_ok[request_queu+co1 class="linne" name="L12">  12);
<___iocbi"+code=qcttion>
  
L"READ_ine" name="a>);
blk_cmd_filta href="+ceout" class=miequestss="sref">read_ok[request_queu+co1 class="liine" name="L23">  231#incl123
);
<___iocbi"+code=qcttion>
  
L"READ_i2e" name="a>);
blk_cmd_filta href="+ceout" class=miequestss="sref">read_ok[request_queu+co1 class="liine" name="L24">  241#incl124
);
<___iocbi"+code=qcttion>
  
L"READ_i6remeout);
blk_cmd_filta href="+ceout" class=miequestss="sref">read_ok[request_queu+co1 class="liine" name="L25">  251#incl125
);
<___iocbi"+code=qcttion>
  
L"READ_BUFFERremeout);
blk_cmd_filta href="+ceout" class=miequestss="sref">read_ok[request_queu+co1 class="liine" name="L26">  261#incl126
);
<___iocbi"+code=qcttion>
  
L"READ_DEFECT_DATAremeout);
blk_cmd_filta href="+ceout" class=miequestss="sref">read_ok[request_queu+co1 class="liine" name="L27">  271#incl127
);
<___iocbi"+code=qcttion>
  
L"READ_CAPACITYremeout);
blk_cmd_filta href="+ceout" class=miequestss="sref">read_ok[request_queu+co1 class="liine" name="L28">  281#incl128
);
<___iocbi"+code=qcttion>
  
L"READ_"sref">BLK_SCSI_CMDREAD_"sreblk_cmd_filta href="+ceout" class=miequestss="sref">read_ok[request_queu+co1 class="liine" name="L29">  291#incl129
);
<___iocbi"+code=qcttion>
  
L"INQUIRYremeout);
blk_cmd_filta href="+ceout" class=miequestss="sref">read_ok[request_queu+co1 class="l1ine" name="L30">  301#incl130
);
<___iocbi"+code=qcttion>
  
L"MODE_SENSEremeout);
blk_cmd_filta href="+ceout" class=miequestss="sref">read_ok[request_queu+co1 class="liine" name="L31">  311

);
<___iocbi"+code=qcttion>
  
L"MODE_SENSE_ine" name="a>);
blk_cmd_filta href="+ceout" class=miequestss="sref">read_ok[request_queu+co1 class="liine" name="L32">  321#incl13e <
);
<___iocbi"+code=qcttion>
  
L"LOG_SENSEremeout);
blk_cmd_filta href="+ceout" class=miequestss="sref">read_ok[request_queu+co1 class="linne" name="L13">  13
);
<___iocbi"+code=qcttion>
  
L"STA>();
(blk_cmd_filta href="+ceout" class=miequestss="sref">read_ok[request_queu+co1 class="liine" name="L34">  341#incl134
);
<___iocbi"+code=qcttion>
  
L"GPVERIFY_ine" name="a>);
VERIFY_inblk_cmd_filta href="+ceout" class=miequestss="sref">read_ok[request_queu+co1 class="liine" name="L35">  351

);
<___iocbi"+code=qcttion>
  
L"VERIFY_i6remeout);
blk_cmd_filta href="+ceout" class=miequestss="sref">read_ok[request_queu+co1 class="liine" name="L36">  361struc136
);
<___iocbi"+code=qcttion>
  
L"RE/a>(BLK_SCSI_CMDRE/a>(blk_cmd_filta href="+ceout" class=miequestss="sref">read_ok[request_queu+co1 class="liine" name="L37">  371     137
);
<___iocbi"+code=qcttion>
  
L"SERVICE_ACTION_INremeout);
blk_cmd_filta href="+ceout" class=miequestss="sref">read_ok[request_queu+co1 class="liine" name="L38">  381     138
);
<___iocbi"+code=qcttion>
  
L"RECEIVE_DIAGNOSTICf">BLK_SCSI_CMDRECEIVE_DIAGNOSTICblk_cmd_filta href="+ceout" class=miequestss="sref">read_ok[request_queu+co1 class="liine" name="L39">  391};

);
<___iocbi"+code=qcttion>
  
L"MAINTENANCE_INremeout);
blk_cmd_filta href="+ceout" class=miequestss="sref">read_ok[request_queu+co1 class="l1ine" name="L40">  401

);
<___iocbi"+code=qcttion>
  
L"GPREAD_BUFFER_CAPACITYremeout);
READ_BUFFER_CAPACITYblk_cmd_filta href="+ceout" class=miequestss="sref">read_ok[request_queu+co1 class="liine" name="L41">  411stati14f="block/scsi_ioctl.c#L32" id="L32"1 class="l1ine" name="L42">  421
/* Command grouAudio CD _tbl  431
);
<___iocbi"+code=qcttion>
  
L"GPPLAY_CDremeout);
PLAY_CDblk_cmd_filta href="+ceout" class=miequestss="sref">read_ok[request_queu+co1 class="linne" name="L14">  14
);
<___iocbi"+code=qcttion>
  
L"GPPLAY_AUDIO_ine" name="a>);
PLAY_AUDIO_inblk_cmd_filta href="+ceout" class=miequestss="sref">read_ok[request_queu+co1 class="liine" name="L45">  451{

);
<___iocbi"+code=qcttion>
  
L"GPPLAY_AUDIO_MSFe" name="a>);
PLAY_AUDIO_MSFblk_cmd_filta href="+ceout" class=miequestss="sref">read_ok[request_queu+co1 class="liine" name="L46">  461     146
);
<___iocbi"+code=qcttion>
  
L"GPPLAY_AUDIO_TIe" name="a>);
PLAY_AUDIO_TIblk_cmd_filta href="+ceout" class=miequestss="sref">read_ok[request_queu+co1 class="liine" name="L47">  471     147
);
<___iocbi"+code=qcttion>
  
L"GPPAUSE>RESUMEremeout);
PAUSE>RESUMEblk_cmd_filta href="+ceout" class=miequestss="sref">read_ok[request_queu+co1 class="liine" name="L48">  481};
  491/* Command grouCD/DVD dataf="a  501

);
<___iocbi"+code=qcttion>
  
L"GPREAD_CDremeout);
READ_CDblk_cmd_filta href="+ceout" class=miequestss="sref">read_ok[request_queu+co1 class="l1ine" name="L51">  511#incl151
);
<___iocbi"+code=qcttion>
  
L"GPREAD_CD_MSFe" name="a>);
READ_CD_MSFblk_cmd_filta href="+ceout" class=miequestss="sref">read_ok[request_queu+co1 class="l1ine" name="L52">  521
);
<___iocbi"+code=qcttion>
  
L"GPREAD_DISC_INFOe" name="a>);
READ_DISC_INFOblk_cmd_filta href="+ceout" class=miequestss="sref">read_ok[request_queu+co1 class="l1ine" name="L53">  531stati153
);
<___iocbi"+code=qcttion>
  
L"GPREAD_CDVD_CAPACITYremeout);
READ_CDVD_CAPACITYblk_cmd_filta href="+ceout" class=miequestss="sref">read_ok[request_queu+co1 class="liine" name="L54">  541{

);
<___iocbi"+code=qcttion>
  
L"GPREAD_DVD_STRUCTUREremeout);
READ_DVD_STRUCTUREblk_cmd_filta href="+ceout" class=miequestss="sref">read_ok[request_queu+co1 class="liine" name="L55">  551     155
);
<___iocbi"+code=qcttion>
  
L"GPREAD_HEADERremeout);
READ_HEADERblk_cmd_filta href="+ceout" class=miequestss="sref">read_ok[request_queu+co1 class="liine" name="L56">  561     156
);
<___iocbi"+code=qcttion>
  
L"GPREAD_TRACK_RZONE_INFOe" name="a>);
READ_TRACK_RZONE_INFOblk_cmd_filta href="+ceout" class=miequestss="sref">read_ok[request_queu+co1 class="liine" name="L57">  571}

);
<___iocbi"+code=qcttion>
  
L"GPREAD_SUB or NEt even the impliGPREAD_SUB or NEtblk_cmd_filta href="+ceout" class=miequestss="sref">read_ok[request_queu+co1 class="liine" name="L58">  581

);
<___iocbi"+code=qcttion>
  
L"GPREAD_TOC_PMA_ATIPremeout);
READ_TOC_PMA_ATIPblk_cmd_filta href="+ceout" class=miequestss="sref">read_ok[request_queu+co1 class="l1ine" name="L59">  591stati159
);
<___iocbi"+code=qcttion>
  
L"GPRE/a>();
RE/a>(blk_cmd_filta href="+ceout" class=miequestss="sref">read_ok[request_queu+co1 class="l1ine" name="L60">  601{

);
<___iocbi"+code=qcttion>
  
L"GPSCANremeout);
SCANblk_cmd_filta href="+ceout" class=miequestss="sref">read_ok[request_queu+co1 class="l1ine" name="L61">  611     161
);
<___iocbi"+code=qcttion>
  
L"GPGET_CONFIGURATIONremeout);
GET_CONFIGURATIONblk_cmd_filta href="+ceout" class=miequestss="sref">read_ok[request_queu+co1 class="l1ine" name="L62">  621}
);
<___iocbi"+code=qcttion>
  
L"GPREAD_FORMAT_CAPACITIESf">BLK_SCSI_CMDGPREAD_FORMAT_CAPACITIESblk_cmd_filta href="+ceout" class=miequestss="sref">read_ok[request_queu+co1 class="l1ine" name="L63">  631

);
<___iocbi"+code=qcttion>
  
L"GPGET_EVEN();
GET_EVEN(blk_cmd_filta href="+ceout" class=miequestss="sref">read_ok[request_queu+co1 class="liine" name="L64">  641stati164
);
<___iocbi"+code=qcttion>
  
L"GPGET_PERFORMANCEremeout);
GET_PERFORMANCEblk_cmd_filta href="+ceout" class=miequestss="sref">read_ok[request_queu+co1 class="liine" name="L65">  651{

);
<___iocbi"+code=qcttion>
  
L"GPSEEKremeout);
SEEKblk_cmd_filta href="+ceout" class=miequestss="sref">read_ok[request_queu+co1 class="linne" name="L16">  16
);
<___iocbi"+code=qcttion>
  
L"GPaTOP>PLAY_SCANremeout);
STOP>PLAY_SCANblk_cmd_filta href="+ceout" class=miequestss="sref">read_ok[request_queu+co1 class="liine" name="L67">  671}
  681
/* Command grouBasa h[  691stati169
);
<___iocbi"+code=qcttion>
  
L"WRITE_6remeout);
blk_cmd_filta href="+ceout" class=miequestass="sref">write_ok[request_queu+co1 class="l1ine" name="L70">  701{

);
<___iocbi"+code=qcttion>
  
L"WRITE_ine" name="a>);
blk_cmd_filta href="+ceout" class=miequestass="sref">write_ok[request_queu+co1 class="l1ine" name="L71">  711     171
);
<___iocbi"+code=qcttion>
  
L"WRITE_VERIFYe" name="a>);
blk_cmd_filta href="+ceout" class=miequestass="sref">write_ok[request_queu+co1 class="l1ine" name="L72">  721}
);
<___iocbi"+code=qcttion>
  
L"WRITE_i2e" name="a>);
blk_cmd_filta href="+ceout" class=miequestass="sref">write_ok[request_queu+co1 class="l1ine" name="L73">  731

);
<___iocbi"+code=qcttion>
  
L"WRITE_VERIFY_i2e" name="a>);
blk_cmd_filta href="+ceout" class=miequestass="sref">write_ok[request_queu+co1 class="liine" name="L74">  741stati174
);
<___iocbi"+code=qcttion>
  
L"WRITE_i6remeout);
blk_cmd_filta href="+ceout" class=miequestass="sref">write_ok[request_queu+co1 class="liine" name="L75">  751{

);
<___iocbi"+code=qcttion>
  
L"WRITE_"sref">BLK_SCSI_CMDWRITE_"sreblk_cmd_filta href="+ceout" class=miequestass="sref">write_ok[request_queu+co1 class="liine" name="L76">  761     176
);
<___iocbi"+code=qcttion>
  
L"WRITE_"sre_2e" name="a>);
blk_cmd_filta href="+ceout" class=miequestass="sref">write_ok[request_queu+co1 class="liine" name="L77">  771

);
<___iocbi"+code=qcttion>
  
L"ERASEremeout);
blk_cmd_filta href="+ceout" class=miequestass="sref">write_ok[request_queu+co1 class="l1ine" name="L78">  781     178
);
<___iocbi"+code=qcttion>
  
L"GPMODE_SELECT_ine" name="a>);
MODE_SELECT_inblk_cmd_filta href="+ceout" class=miequestass="sref">write_ok[request_queu+co1 class="l1ine" name="L79">  791     179
);
<___iocbi"+code=qcttion>
  
L"MODE_SELECTremeout);
blk_cmd_filta href="+ceout" class=miequestass="sref">write_ok[request_queu+co1 class="l1ine" name="L80">  801

);
<___iocbi"+code=qcttion>
  
L"LOG_SELECTremeout);
blk_cmd_filta href="+ceout" class=miequestass="sref">write_ok[request_queu+co1 class="l1ine" name="L81">  811     181
);
<___iocbi"+code=qcttion>
  
L"GPBLANKremeout);
BLANKblk_cmd_filta href="+ceout" class=miequestass="sref">write_ok[request_queu+co1 class="l1ine" name="L82">  821}
);
<___iocbi"+code=qcttion>
  
L"GPCLOSE_TRACKremeout);
CLOSE_TRACKblk_cmd_filta href="+ceout" class=miequestass="sref">write_ok[request_queu+co1 class="l1ine" name="L83">  831

);
<___iocbi"+code=qcttion>
  
L"GPFLUSH_CACHEremeout);
FLUSH_CACHEblk_cmd_filta href="+ceout" class=miequestass="sref">write_ok[request_queu+co1 class="liine" name="L84">  841stati184
);
<___iocbi"+code=qcttion>
  
L"GPFORMAT_UNITremeout);
FORMAT_UNITblk_cmd_filta href="+ceout" class=miequestass="sref">write_ok[request_queu+co1 class="lilass="line"line" name="L182"> 185
);
<___iocbi"+code=qcttion>
  
L"GPREPAIR_RZONE_TRACKremeout);
REPAIR_RZONE_TRACKblk_cmd_filta href="+ceout" class=miequestass="sref">write_ok[request_queu+co1 class="lief">timeout, );
<___iocbi"+code=qcttion>
  
L"GPRESERVE_RZONE_TRACKremeout);
RESERVE_RZONE_TRACKblk_cmd_filta href="+ceout" class=miequestass="sref">write_ok[request_queu+co1 class="lihref="block/scsi_ioct)ct1l.ctl187
);
<___iocbi"+code=qcttion>
  
L"GPSEND_DVD_STRUCTUREremeout);
SEND_DVD_STRUCTUREblk_cmd_filta href="+ceout" class=miequestass="sref">write_ok[request_queu+co1 class="l1ine" name="L78">  78
);
<___iocbi"+code=qcttion>
  
L"GPSEND_EVEN(remeout);
SEND_EVEN(blk_cmd_filta href="+ceout" class=miequestass="sref">write_ok[request_queu+co1 class="l1ine" name="L77">  771

);
<___iocbi"+code=qcttion>
  
L"GPSEND_KEYremeout);
SEND_KEYblk_cmd_filta href="+ceout" class=miequestass="sref">write_ok[request_queu+co1ef">q1->);
<___iocbi"+code=qcttion>
  
L"GPSEND_OPCf">BLK_SCSI_CMDGPSEND_OPCblk_cmd_filta href="+ceout" class=miequestass="sref">write_ok[request_queu+co1eclass="l1ine" name="L81">  81
);
<___iocbi"+code=qcttion>
  
L"GPSEND_CUE_SHEE(remeout);
SEND_CUE_SHEE(blk_cmd_filta href="+ceout" class=miequestass="sref">write_ok[request_queu+co1eclass="l1lass="line"line" name="L182"> 19e <
);
<___iocbi"+code=qcttion>
  
L"GPSET_SPEEDremeout);
SET_SPEEDblk_cmd_filta href="+ceout" class=miequestass="sref">write_ok[request_queu+co1eclass="l1ine" name="L83">  831

);
<___iocbi"+code=qcttion>
  
L"GPPREVEN(REMOout even the impliGPPREVEN(REMOoutblk_cmd_filta href="+ceout" class=miequestass="sref">write_ok[request_queu+co1eclass="liine" name="L77">  771

);
<___iocbi"+code=qcttion>
  
L"GPLOAD_UNLOAD even the impliGPLOAD_UNLOADblk_cmd_filta href="+ceout" class=miequestass="sref">write_ok[request_queu+co1eclass="liass="sref">sg_getreserv91d_siz195
);
<___iocbi"+code=qcttion>
  
L"GPSE(BLK_SCSI_CMDGPSE(blk_cmd_filta href="+ceout" class=miequestass="sref">write_ok[request_queu+co1eclass="liine" name="L79">  791     196
);
<___iocbi"+code=qcttion>
  
L"GPaET_READ_AHEADf">BLK_SCSI_CMDGPSE(blk_cmd_filta href="+ceout" class=miequestass="sref">write_ok[request_queu+co1eclass="liine" name="L82">  821}
  78request_queu+cod1e=qct1.c 0  "+code=__user" claserwrite_okerwrite_okcmajiffies_to_csm clre
f="+code=p" clahas_[jiffies_to_chas_[);
blk_cmd_filter blk_cmd_filta href="+c = &" class=miequesterblk_cmd_filterrequest_queu+co2iclass="l20ne" name="L12">  12202.c 2"f="block/scsi_ioctl.c#L53" id="L53"20class="l20ne" name="L13">  13203.c 2"3
/* Command grouroot cmmedo any _tbl  14204.c 2"4if (!request_queucapable+code=qcttion>
  
L"CAP_SYS_RAWIOe" name="a>);
sg_getreserv9205.c 205
sg_tiL82" cl-nd_20class="l20ne" name="L16">  16206.c 2"6="block/scsi_ioctl.c#L53" id="L53"20class="l20ne" name="L17">  17207.c 207
/* Command grouoctthere's no s="sre _io, ">/ume we're s="sre/di every; ing  imphhref="block/scsi_ioctl.c#L19" id="L19"2i8lass="l20ne" name="L78">  78blk_cmd_filta href="+chock/scsi_ioctl.c#L69" id="L69"2i9lass="l20"sref">request_queu+cod209.c 20c 0      request_queu+co2cze_tbl" 2ine" name="L10">  102  112sl.c 211
/* Command grouAnybody who cmmeopede be device cmmedo ah  122);

  
L"cmaf">write_okcmablk_cmd_filta href="+ceout" class=miequestss="sref">read_ok[  132sg_tiL82" cl-nd_2 class="l2ine" name="L14">  142  152
/* Command grouW  162);

  
L"cmaf">write_okcmablk_cmd_filta href="+ceout" class=miequestass="sref">write_ok[jiffies_to_chas_[  172sg_tiL82" cl-nd_2 8lass="l2ine" name="L18">  182  192#incl219
request_queu+co2 class="l2ine" name="L20">  202#incl220lock/scsi_ioctl.c#L68" id="L68"2 class="l2ine" name="L21">  212#incl221ass="9RANTY; wiiX/a>((
  
L"erwrite_okerrequest_queu+co2 class="l2nne" name="L12">  122sspan22f="block/scsi_ioctl.c#L53" id="L53"2 class="l2ine" name="L23">  232#incl223rn q, int request_queueq, int request_queueq, int   242#incl224
q, int q, int jiffies_to_csm clre
f="+code=p" clam clf">jiffies_to_cm cl="+chock/scsi_ioctl.c#L69" id="L69"2 class="l2ine" name="L25">  252#incl225lock/scsi_ioctl.c#L71" id="L71"2 class="l2ine" name="L26">  262#incl226if (!q, int write_okcmaq, int p)cmasq, int p)cma_len="+chhock/scsi_ioctl.c#L69" id="L69"2 class="l2ine" name="L27">  272#incl227if (!);
request_queu+co2 8lass="l2ine" name="L28">  282#incl22 if (!write_oker
  
L"ref">q, int write_okcmajiffies_to_cm cl="+c &"
f="+code=p" claFMODE_WRITEf">jiffies_to_cFMODE_WRITE="+chhock/scsi_ioctl.c#L69" id="L69"2 class="l2ine" name="L29">  292#incl22c 0      request_queu+co2 class="l2ine" name="L30">  302#incl23f="block/scsi_ioctl.c#L84" id="L8492 class="l2ine" name="L31">  312

/* Command groref="block/scsi_ioctl.c#L19" id="L19"2 class="l2ine" name="L32">  322#incl23e <"comment"> *
  132sincl233"comment"> *
  342#incl234
q, int p)cma_len="+cRPOS01l    1" clashdrf">q, int p)cma_len="+cref="blo="sref">request_queu+co2 class="l2ine" name="L35">  352

q, int request_queucma_type="+cRPOS01l    1" clasREQ_TYPE_BLOCK_PCf">BLK_SCSI_CMDREQ_TYPE_BLOCK_PC="+cref="blo="sref">request_queu+co2 class="l2ine" name="L36">  362struc236="block/scsi_ioctl.c#L53" id="L53"2 class="l2ine" name="L37">  372     237
q, int );

  
L"hdrf">q, int );
request_queu+co2 class="l2ine" name="L38">  382     23 if (!q, int );
  392};
q, int );
q, int );
request_queu+co2 class="l2ine" name="L40">  402

q, int );
  412stati241 0      q, int );
);
request_queu+co2 class="l2ine" name="L42">  422
q, int );
);
  432q, int );
);
request_queu+co2 class="l2nne" name="L14">  142sincl24f="block/scsi_ioctl.c#L78" id="L7892 class="l2ine" name="L45">  452{

sg_tiL82" cl-nd_2 class="l2ine" name="L46">  462     246lock/scsi_ioctl.c#L68" id="L68"2 class="l2ine" name="L47">  472     24ef="block/scsi_ioctl.c#L83" id="L892 class="l2ine" name="L48">  482};
q, int request_queueq, int q, int q, int   492q, int q, int   502
  512#incl251
q, int request_queue<"="+cRPO0" class="sref">sg_tiL82" cl-nd_2 class="l2ine" name="L52">  522
  532stati253
/* Command groref="block/scsi_ioctl.c#L19" id="L19"2 class="l2ine" name="L54">  542{
"comment"> *
  552     255"comment"> *
  562     256
q, int q, int sg_tiL82" cl-nd_2 class="l2ine" name="L57">  572}

q, int request_queurn 
  
L"ref">q, int request_queu+co2 class="l2ine" name="L58">  582

q, int request_queumsg_byte+code=qcttion>
  
L"ref">q, int request_queu+co2 class="l2ine" name="L59">  592stati259
q, int request_queuhost"byte+code=qcttion>
  
L"ref">q, int request_queu+co2 class="l2ine" name="L60">  602{

q, int request_queudriver"byte+code=qcttion>
  
L"ref">q, int request_queu+co2 class="l2ine" name="L61">  612     261
q, int q, int sg_tiL82" cl-nd_2 class="l2ine" name="L62">  622}
q, int q, int q, int   632
q, int q, int );
request_queu+co2 class="l2ine" name="L64">  642stati264
q, int write_okresia="+cRPOS01l    1" clasref">q, int p)resia_len="+cref="blo="sref">request_queu+co2 class="l2ine" name="L65">  652{

q, int q, int sg_tiL82" cl-nd_2 class="l2nne" name="L16">  162s    266="block/scsi_ioctl.c#L53" id="L53"2 class="l2ine" name="L67">  672}
q, int p)sense_len="+c &"&"
f="+code=p" clahdrf">q, int p)rbs="+ch lock/scsi_ioctl.c#L71" id="L71"2 class="l2ine" name="L68">  682
p)len="+cRPOS01l    1" clasmins="sref">p)min+codee="block/sref)fne"livaclass="lhdrf">q, int p)mx_sb_lenss="ref="+code=p" cla=ef">q, int p)sense_len="+chref="blo="sref">request_queu+co2 class="l2ine" name="L69">  692stati269ef="blo="sref">request_queu+co2 class="l2ine" name="L70">  702{

q, int p)rbs="+cref="+code=p" cla=ef">q, int p)sense="+cref="+code=p" clalens="sref">p)len="+chhock/scsi_ioctl.c#L69" id="L69"2 class="l2ine" name="L71">  712     271 0      q, int q, int p)len="+cref="blo="sref">request_queu+co2 class="l2ine" name="L72">  722}
request_queu+co2 class="l2ine" name="L73">  732
request_queue<"="+cRPOlass="9RANTY; wiiFAUL(remeout);
request_queu+co2 class="l2ine" name="L74">  742stati274
  752{
ock/scsi_ioctl.c#L68" id="L68"2 class="l2ine" name="L76">  762     276
q, int 
  
L"eiof">q, int request_queu+co2 class="l2ine" name="L77">  772
request_queue<"="+chock/scsi_ioctl.c#L69" id="L69"2 class="l2ine" name="L78">  782     27 if (!request_queue<"="+cRPOne"livaclass="lrf">q, int request_queu+co2 class="l2ine" name="L79">  792     279
request_queuer
  
L"ref">q, int request_queu+co2 class="l2ine" name="L80">  802
  812     281
request_queue<"="+cref="blo="sref">request_queu+co2 class="l2ine" name="L82">  822}
  832
ock/scsi_ioctl.c#L68" id="L68"2 class="l2ine" name="L84">  842stati284rn q, int request_queueq, int write_okgendisess="srde=q" class="sred_disef">write_oked_disess="rlock/scsi_ioctl.c#L83" id="L892 class="l2lass="line"line" name="L282"> 285
q, int q, int jiffies_to_csm clre
f="+code=p" clam clf">jiffies_to_cm cl="+chock/scsi_ioctl.c#L69" id="L69"2 class="l2ef">timeout, 
request_queurn rt"time="+cref="blo="sref">request_queu+co2 class="l2ine" name="L78">  78
request_queu[request_queue<"="+cRPO0" class="sref">sg_tiL82" cl-nd_2 class="l2ine" name="L77">  772

request_queueq, int sg_tiL82" cl-nd_2ef">q2->p)sense="+c[S01l    1" clasSCSI>SENSE_BUFFERSIZEf">jiffies_to_cSCSI>SENSE_BUFFERSIZE="+c]" class="sref">sg_tiL82" cl-nd_2eclass="l2ine" name="L81">  81
q, int q, int sg_tiL82" cl-nd_2eclass="l2lass="line"line" name="L282"> 29f="block/scsi_ioctl.c#L53" id="L53"2eclass="l2ine" name="L83">  832

q, int write_okreferface_ia
!=fncomment">/* ef=/dif>'S'ref="blhock/scsi_ioctl.c#L69" id="L69"2eclass="l2ine" name="L77">  772

sg_tiL82" cl-nd_2eclass="l2ass="sref">sg_getreserv92d_siz295
q, int p)cma_len="+cRout"OS01l    1" clasBLK_MAX_CDBs="sref">p)BLK_MAX_CDB="+chock/scsi_ioctl.c#L69" id="L69"2eclass="l2ine" name="L79">  792     296
sg_tiL82" cl-nd_2eclass="l2ine" name="L82">  822}
  78q, int p)dxfer_len="+cRout"Ocode=err" class=" cla_max_hw_sector

  
L"ef">q, int request_queu+cod2e=qct29c 0      sg_tiL82" cl-nd_3ize_tbl" 3laINVAcsi_command_size_I3VAcre30f="block/scsi_ioctl.c#L84" id="L8493a>);
q, int p)dxfer_len="+chock/scsi_ioctl.c#L69" id="L69"3iclass="l30ne" name="L12">  12302.c 30e <
q, int p)dxfer_direction="+ch lock/scsi_ioctl.c#L71" id="L71"30class="l30ne" name="L13">  13303.c 303if (!  77304.c 304
sg_tiL82" cl-nd_3i5lass="l30ss="sref">sg_getreserv9305.c 305
);
:ock/scsi_ioctl.c#L71" id="L71"306lass="l30ne" name="L79">  79306.c 306
request_queu[sg_tiL82" cl-nd_3i7lass="l30ne" name="L82">  82307.c 307if (!sg_tiL82" cl-nd_3i8lass="l30ne" name="L78">  78);
:ock/scsi_ioctl.c#L71" id="L71"309lass="l30"sref">request_queu+cod309.c 30c 0      );
:ock/scsi_ioctl.c#L71" id="L71"3cze_tbl" 3ine" name="L10">  103
sg_tiL82" cl-nd_3 class="l3nne" name="L11">  113sl.c 311 0        123  133
q, int request_queuer
  
L"ef">q, int request_queu[jiffies_to_cWRITE="+c :OS01l    1" clasREADf">BLK_SCSI_CMDREADrequest_queu+co3 class="l3ine" name="L14">  143q, int   153
);
sg_tiL82" cl-nd_3 class="l3ine" name="L16">  163  173q, int 
  
L"ef">q, int q, int q, int jiffies_to_cm cl="+chh lock/scsi_ioctl.c#L71" id="L71"3 8lass="l3ine" name="L18">  183request_queuer
  
L"ref">q, int request_queu+co3 class="l3ine" name="L19">  193#incl31c 0      request_queu+co3 class="l3ine" name="L20">  203#incl320
  213#incl321ock/scsi_ioctl.c#L68" id="L68"3 class="l3nne" name="L12">  123sspan322if (!q, int request_queuiovec_couns="+ch lock/scsi_ioctl.c#L71" id="L71"3 class="l3ine" name="L23">  233#incl323if (!p)size+codRPOsizeofeef="+code=requestsqueusg" ivecf">q, int q, int request_queuiovec_couns="+cref="blo="sref">request_queu+co3 class="l3ine" name="L24">  243#incl324
jiffies_to_csizere
f="+code=p" claiov_data_lens="sref">p)iov_data_len="+cref="blo="sref">request_queu+co3 class="l3ine" name="L25">  253#incl325
q, int q, int request_queu+co3 class="l3ine" name="L26">  263#incl326
q, int < ivec="+csrde=q" class="sr ivf">q, int < iv="+cref="blo="sref">request_queu+co3 class="l3ine" name="L27">  273#incl327if (!q, int < ="+cref="blo="sref">request_queu+co3 8lass="l3ine" name="L28">  283#incl32f="block/scsi_ioctl.c#L69" id="L69"3 class="l3ine" name="L29">  293#incl32c 0      q, int q, int 
  
L"sizes="sref">p)size+codref="+code=p" claGFP_KERNEt even the impliGFP_KERNEt+codhref="blo="sref">request_queu+co3 class="l3ine" name="L30">  303#incl330
q, int   313
request_queue<"="+cRPOlass="9RANTY; wiiNOMEMremeout);
sg_tiL82" cl-nd_3 class="l3ine" name="L32">  323#incl33e <
);
request_queu+co3 class="l3nne" name="L13">  133sincl333if (!  343#incl33f="block/scsi_ioctl.c#L78" id="L7893 class="l3ine" name="L35">  353

q, int q, int p)dxfers="+cref="+code=p" clasizes="sref">p)size+codhh lock/scsi_ioctl.c#L71" id="L71"3 class="l3ine" name="L36">  363struc336
p)kfree+code=qcttion>
  
L"sg" ivf">q, int request_queu+co3 class="l3ine" name="L37">  373     337if (!request_queue<"="+cRPOlass="9RANTY; wiiFAUL(remeout);
request_queu+co3 class="l3ine" name="L38">  383     33 if (!);
request_queu+co3 class="l3ine" name="L39">  393};
  403
  413stati341 0      /* Command groref="block/scsi_ioctl.c#L19" id="L19"3 class="l3ine" name="L42">  423
 *
  433"comment"> *
  143sincl344
q, int < iv="+cRPOeef="+code=requestsqueu ivecf">q, int < ivec="+csr)fne"livaclass="lsg" ivf">q, int request_queu+co3 class="l3ine" name="L45">  453{

p)iov_data_len="+cRPO0" class="sref">sg_tiL82" cl-nd_3 class="l3ine" name="L46">  463     346
q, int < ="+cRPO0"="+code=err" claif">q, int < ="+cR<"
f="+code=p" clahdrf">q, int request_queuiovec_couns="+cr="+code=err" claif">q, int < ="+c++h lock/scsi_ioctl.c#L71" id="L71"3 class="l3ine" name="L47">  473     347if (!p)iov_data_len="+cR+f"+code=err" cla ivf">q, int < iv="+c[S01l    1" clasif">q, int < ="+c]..c#L83" id="L81iov_lens="sref">p)iov_len="+cRolt"
f="+code=p" claiov_data_lens="sref">p)iov_data_len="+ch lock/scsi_ioctl.c#L71" id="L71"3 class="l3ine" name="L48">  483};
p)kfree+code=qcttion>
  
L"sg" ivf">q, int request_queu+co3 class="l3ine" name="L49">  493request_queue<"="+cRPOlass="9RANTY; wiiINout even the impliiINoutss="" class="sref">sg_tiL82" cl-nd_3 class="l3ine" name="L50">  503

);
request_queu+co3 class="l3ine" name="L51">  513#incl351 0        523
p)iov_data_len="+cR+POf="+code=p" cla ivf">q, int < iv="+c[S01l    1" clasif">q, int < ="+c]..c#L83" id="L81iov_lens="sref">p)iov_len="+cref="blo="sref">request_queu+co3 class="l3ine" name="L53">  533stati353if (!  543{
  553     355
/* Command grouSG_IO howtofsaysh bath be shorsre octthe two wins *href="block/scsi_ioctl.c#L19" id="L19"3 class="l3ine" name="L56">  563     356
q, int p)dxfer_len="+cRot"
f="+code=p" claiov_data_lens="sref">p)iov_data_len="+ch lock/scsi_ioctl.c#L71" id="L71"3  class="l3ine" name="L57">  572}1q, int request_queuiovec_couns="+cr=Of="+code=p" clakm_datorsre "sref">p)iov_datorsre "ode=qcttion>
  
L"sgvf">q, int < iv="+c[Sock/scsi_ioctl.c#L83" id="L892 3lass="l2i3e" name="L58">  582
3a h2535f (!q, int request_queuiovec_couns="+cr=ock/scsi_ioctl.c#L83" id="L892 3lass="l3ine" name="L59">  592s3ati25350      q, int p)dxfer_len="+chocf="blo="sref">request_queu+co3 class="l2i3e" name="L60">  602{3
p)iov_data_len="+cRPO0""livaclass="l="rf">q, int p)dxfer_len="+chof="blo="sref">request_queu+co3 class="l3ine" name="L61">  612 3   26360        622}3  632
3a h263if (!request_queue<"="+cRPOne"livaclass="lrfq, int 
  
L"ef">q, int q, int q, int q, int request_queuiovec_couns="+cr=ock/scsi_ioctl.c#L83" id="L892 3lass="l2i3e" name="L64">  642s3ati2636/a>
p)iov_data_len="+cRPf="+code=p" claGFP_KERNEt even the impliGFP_KERNEt+codhref="blo="sref">request_queu+co3 class="l2i3e" name="L65">  652{3
p)kfree+code=qcttion>
  
L"sg" ivf">q, int request_queu+co3 class="l2n3e" name="L16">  162s3   2636/a>
q, int p)dxfer_len="+chock/scsi_ioctl.c#L69" id="L69"3iclass="l2i3e" name="L67">  672}3request_queue<"="+cRPOne"livaclass="lrfq, int 
  
L"ef">q, int q, int q, int p)dxfers="+cref="+code=p" clasirf">q, int p)dxfer_len="+choock/scsi_ioctl.c#L83" id="L892 3lass="l2i3e" name="L68">  682
3a h263if (!request_queu+co3 class="l3ine" name="L69">  692s3ati263ef="blo="sref">request_queu+co2 3lass="l2i3e" name="L70">  702{3
request_queue<"="+cRPck/scsi_ioctl.c#L69" id="L69"3iclass="l2i3e" name="L71">  712 3   273 0      );
request_queu+co3 class="l2i3e" name="L72">  722}3  732
3a h2737/a>
q, int q, int q, int sg_tiL82" cl-nd_2e3lass="l2i3e" name="L74">  742s3ati273
request_queue
  
L"sg"ses="sref">p)sense="+cref=0,izeofeefcttion>
  
L"sg"ses="sref">p)sense="+cre)ef="blo="sref">request_queu+co3 class="l2i3e" name="L75">  752{3
q, int p)sense="+creOS01l    1" clasrn ses="sref">p)sense="+cref="blo="sref">request_queu+co3 class="l2n3e" name="L76">  762 3   273
q, int p)sense_len="+c &a0" class="sref">sg_tiL82" cl-nd_3 class="l2i3e" name="L77">  772
3a h2737/a>
q, int sg_tiL82" cl-nd_3 class="l2i3e" name="L78">  782 3   2737"block/scsi_ioctl.c#L69" id="L69"3 class="l2i3e" name="L79">  792 3   273
request_queurn rt"time="+creOS01l    1" clasrnffie
sg_tiL82" cl-nd_3 class="l2i3e" name="L80">  802
3a h283="block/scsi_ioctl.c#L84" id="L8492 3lass="l2i3e" name="L81">  812 3   283
/* Command grouoctgnoree=q" clavalue. Ahre aformaon=" is p/* ed back tcmmell+cod"block/scsi_ioctl.c#L19" id="L19"3 class="l2i3e" name="L82">  822}3 *
  832
3a h2838/a>"comment"> *
S    842s3ati2838/a>"comment"> *
 2838/a>
q, int 
  
L"ef">q, int write_oked_disess="rlo="+code=p" claref">q, int request_queu+co3 class="l2e3">timeout,  2838"block/scsi_ioctl.c#L53" id="L53"3 class="l2h3ef="block/scsi_ioct)ct2l3ctl2838/a>
q, int p)dxfuraons=+creOS01l    1" clasrnffie

  
L"efffie
request_queurn rt"time="+creef="blo="sref">request_queu+co3 class="l2i3e" name="L78">  78  772
3a h2838/a>
q, int q, int q, int q, int request_queu+co2 3">q2-3gt;);
  81
request_queuer
  
L"ref">q, int request_queu+co3 class="l2l3ss="line"line" name="L283"> 29392a>
request_queue<"="+cref="blo="sref">request_queu+co2 3lass="l2i3e" name="L83">  832
3a 9293
  772
3a h2939"block/scsi_ioctl.c#L78" id="L7893 class="l2a3s="sref">sg_getreserv92d3siz2939/a>"comment"> *
  792 3   293
 *
  822}3 *
  78 *
request_queu+cod2e3qct293 0    omment"> *
 *
  81 *
 *
  13304.c 3040/a>"comment"> *
  772
4.c 3040/a>"comment"> *
sg_getreserv9304.c 3040/a>"comment"> *
S bl  792 4.c 3040/a>
 *
  82304.c 3040="bloomment"> *
  78 *
request_queu+cod2e4.c 30400    omment"> *
  103<4pan3141"blocomment"> *
  113s4.c 3141     *
  123<4pan3141<"comment"> *
  133<4pan3141/a>"comment"> *
  143<4pan3141/a>"comment"> *
S bl  153<4pan3141/a>"comment"> *
S bl  163<4pan3141/a>
 *
  173<4pan3141="bloomment"> *
  183<4pan3141f (! *
  193#4ncl31410    omment"> *
odaoe e shose_l buff+c wh"n entror
= occurs.od"block/scsi_ioctl.c#L19" id="L19"3 4lass="l3i4e" name="L20">  203#4ncl3242"blocomment"> *
  213#4ncl3242     *
  123s4pan3242<"comment"> *
  233#4ncl3242/a>"comment"> *
  243#4ncl3242/a>"comment"> *
S bl  253#4ncl3242/a>"comment"> *
Stror
= ="lrs (4od"block/scsi_ioctl.c#L19" id="L19"3 4l6ss="l304e" name="L26">  263#4ncl3242/a>
 *
S    273#4ncl3242="bloomment"> *
  283#4ncl324="bloc#de"lnea"livaclass="lreOX_CDSB_LEN>request_queue
/* Command grouocF
= backwardwbl  293#4ncl324 0    f="+code=err" clasg" i19" id="L1>q, int request_queueq, int write_okgendisess="srde=q" class="sredsef">write_okgesess="rlo="+code=p" clare clref">jiffies_to_csm clre
f="+code=p" clam clf">jiffies_to_cm cl="+choock/scsi_ioctl.c#L83" id="L892 4lass="l3i4e" name="L30">  303#4ncl334
q, int q, int   313
4a h334 0    k/scsi_ioctl.c#L71" id="L71"3  4lass="l3i4e" name="L32">  323#4ncl334 <
request_queueq, int sg_tiL82" cl-nd_2e4lass="l3n4e" name="L13">  133s4ncl334if (!q, int sg_tiL82" cl-nd_2e4l4ss="l304e" name="L34">  343#4ncl3343/a>
p)iovnen="+cRPf="+code=p" claGFoutens="sref">p)iooutens=="ref="+code=p" clam oe+cs>request_queuerjiffies_to_cm opclf"+cRPf="+code=p" claGFcmdns="sref">p)cma_ln="+chof="blo="sref">request_queu+co3 4lass="l3i4e" name="L35">  353
4a h334
p)sense="+c[S01l    1" clasSCSI>SENSE_BUFFERSIZEf">jiffies_to_cSCSI>SENSE_BUFFERSIZE="+c]" class="sref">sg_tiL82" cl-nd_2e4lass="l3i4e" name="L36">  363s4ruc3343"block/scsi_ioctl.c#L53" id="L53"3 4lass="l3i4e" name="L37">  373 4   3343f (!q, int   383 4   334if (!sg_tiL82" cl-nd_3i4lass="l3i4e" name="L39">  393}4
ef="blo="sref">request_queu+co2 4lass="l3i4e" name="L40">  403
4a h3444/a>
/* Command groref="block/scsi_ioctl.c#L19" id="L19"3 4lass="l3i4e" name="L41">  413s4ati3444     *
  423
4a h344 <"comment"> *
  433<4pan3444/a>
q, int 
  
L"revnens="sref">p)iovnen="+cRPf=mp"
f=err" class="r""i">q, int p)iovnn="+chhock/scsi_ioctl.c#L69" id="L69"2 4lass="l3n4e" name="L14">  143s4ncl344
request_queu+co3 4lass="l3i4e" name="L45">  453{4
q, int 
  
L"reoutens="sref">p)iooutens=="ref=mp"
f=err" class="r""i">q, int p)iooutn="+chhock/scsi_ioctl.c#L69" id="L69"2 4lass="l3i4e" name="L46">  463 4   344
request_queu+co3 4lass="l3i4e" name="L47">  473 4   3444f (!p)iovnen="+cRPut"OS01l    1" clasBLPAGE_ZE=""sref">p)ioPAGE_ZE="+cRPu||="+code=p" claGFoutens="sref">p)iooutens=="reut"OS01l    1" clasBLPAGE_ZE=""sref">p)ioPAGE_ZE="+cRPck/scsi_ioctl.c#L69" id="L69"2 4lass="l3i4e" name="L48">  483}4
sg_tiL82" cl-nd_3i4lass="l3i4e" name="L49">  493<4 hr344 0      q, int 
  
L"reopclf">jiffies_to_cm opclf"+cRPf="+code=p" claGF"i">q, int write_okgesa_lf=hhock/scsi_ioctl.c#L69" id="L69"2 4lass="l3i4e" name="L50">  503
4a h354
request_queu+co3 4lass="l3i4e" name="L51">  513#4ncl3545/a>ock/scsi_ioctl.c#L68" id="L68"3 4lass="l3i4e" name="L52">  523
4a h354 <
request_queuerjiffies_to_cm caxode=qcttion>
  
L"revnens="sref">p)iovnen="+cRPf="+code=p" claGFoutens="sref">p)iooutens=="reef="blo="sref">request_queu+co3 4lass="l3i4e" name="L53">  533s4ati3545/a>
  543{4
request_queuerq, int 
  
L"sioe+cs>request_queuerq, int p)dxoounce_gf=+cRPu|f"+code=p" claioP_KEUSER"sref">p)dxP_KEUSER+cRP|f"+code=p" claio__P_KENOWARN>request_queue<__P_KENOWARN="reef="blo="sref">request_queu+co3 4lass="l3i4e" name="L55">  553 4   354
request_queuer  563 4   354
sg_tiL82" cl-nd_3 4lass="l3i4e" name="L57">  572}4  582
4a h2545f (!  592s4ati2545/a>ef="blo="sref">request_queu+co2 4lass="l2i4e" name="L60">  602{4
q, int request_queuer
  
L"ef">q, int p)iovnen="+cRPuf="+code=p" claWRITEf">jiffies_to_cWRITE="+c :OS01l    1" clasREADf">BLK_SCSI_CMDREAD);
request_queu+co3 4lass="l3i4e" name="L61">  612 4   2646/a>ock/scsi_ioctl.c#L68" id="L68"3 4lass="l2i4e" name="L62">  622}4p)cma_ln="+choOf="+code=p" claerCOMMAND_ZE=""sref">p)ioCOMMAND_ZE="ode=qcttion>
  
L"reopclf">jiffies_to_cm opclf"+cRPef="blo="sref">request_queu+co3 4lass="l3i4e" name="L63">  632
4a h2646/a>ock/scsi_ioctl.c#L68" id="L68"2 4lass="l2i4e" name="L64">  642s4ati2646/a>
/* Command groref="block/scsi_ioctl.c#L19" id="L19"3 4lass="l2i4e" name="L65">  652{4"comment"> *
  162s4   2646/a>
 *
  672}4
request_queu+co3 4lass="l2i4e" name="L68">  682
4a h264if (!q, int p)cma_len="+cRouf="+code=p" claercmdns="sref">p)cma_ln="+chof="blo="sref">request_queu+co3 4lass="l3i4e" name="L69">  692s4ati26460      q, int p)cma_l+cRPf="+code=p" claGF"i">q, int write_okgesa_lf=hhf="+code=p" claGFcmdns="sref">p)cma_ln="+choock/scsi_ioctl.c#L69" id="L69"2 4lass="l2i4e" name="L70">  702{4
sg_tiL82" cl-nd_2e4lass="l2i4e" name="L71">  712 4   2747/a>ock/scsi_ioctl.c#L68" id="L68"3 4lass="l2i4e" name="L72">  722}4p)iovnen="+cRPutp"
ftp"
f="+code=p" claGFcy_frombuted  in the hope tcopy_frombuted+code=qcttion>
  
L"sgbuff+c>request_queuerq, int write_okgesa_lf=hhf"+code=err" cla icmdns="sref">p)cma_ln="+chof="+code=p" cla[p)iovnen="+cRPock/scsi_ioctl.c#L69" id="L69"2 4lass="l3i4e" name="L73">  732
4a h2747f (!sg_tiL82" cl-nd_2e4lass="l2i4e" name="L74">  742s4ati2747"block/scsi_ioctl.c#L78" id="L7893 4lass="l2i4e" name="L75">  752{4
q, int 
  
L"sgf">q, int p)cma_l+cRPf="+code=p" claGFclf">jiffies_to_cm cl="+cho tp"
f="+code=p" claGFFMODE_ITEf">jiffies_to_cWRFMODE_ITEf"+cRPef="blo="sref">request_queu+co3 4lass="l2n4e" name="L76">  762 4   274
  772
4a h2747f (!sg_tiL82" cl-nd_2e4lass="l2i4e" name="L78">  782 4   2747"block/scsi_ioctl.c#L69" id="L69"3 4lass="l2i4e" name="L79">  792 4   274
/* Command grouoclter<:o.  possiblebor"rriden lae oc*ef="block/scsi_ioctl.c#L19" id="L19"3 4lass="l2i4e" name="L80">  802
4a h2848/a>
q, int sg_tiL82" cl-nd_2e4lass="l2i4e" name="L81">  812 4   2848/a>ock/scsi_ioctl.c#L68" id="L68"3 4lass="l2i4e" name="L82">  822}4jiffies_to_cm opclf"+cRPeck/scsi_ioctl.c#L71" id="L71"3  4lass="l2i4e" name="L83">  832
4a h2848f (!jiffies_to_cSCSSED_DIAGNOSTIC (!  842s4ati28484 (!);
 2848/a>
q, int );
);
sg_tiL82" cl-nd_2e4lass="l2e4">timeout,  2848/a>
q, int sg_tiL82" cl-nd_3i4lass="l2h4ef="block/scsi_ioct)ct2l4ctl2848f (!sg_tiL82" cl-nd_3 4lass="l2i4e" name="L78">  78jiffies_to_cSCSTART_STOP (!  772
4a h28480      q, int );
);
sg_tiL82" cl-nd_2e4">q2-4gt;sg_tiL82" cl-nd_3 4lass="l2i4e" name="L81">  81
);
 29492a>
q, int );
);
sg_tiL82" cl-nd_2e4"ass="l2i4e" name="L83">  832
4a 92949f (!sg_tiL82" cl-nd_3 4lass="l2i4e" name="L77">  772
4a h29494 (!BLK_SCSI_CMDREADsg_getreserv92d4siz2949/a>
q, int );
);
sg_tiL82" cl-nd_2e4"ass="l2e4e" name="L79">  792 4   2949/a>
sg_tiL82" cl-nd_3 4lass="l2h4e" name="L82">  822}4);
  78q, int );
);
sg_tiL82" cl-nd_2e4"ass="l2i4sref">request_queu+cod2e4qct29490      q, int sg_tiL82" cl-nd_3i5e_tbl" 3l5INVAcsi_command_size_I3V5cre3050/a>
sg_tiL82" cl-nd_3 5e1tbl" 3l5I" name="L81">  81
q, int );
sg_tiL82" cl-nd_2e5lass="l305e" name="L13">  13305.c 3050f (!sg_tiL82" cl-nd_3 5e4ss="l305e" name="L77">  772
5.c 30504 (!sg_getreserv9305.c 3050/a>"ck/scsi_ioctl.c#L68" id="L68"3 5l6ss="l305s" name="L79">  792 5.c 3050/a>
p)io
  
L"ef">q, int q, int request_queuer);
  82305.c 3050f (!p)dxDRIVER_ERROR+cRPOtlt;"
f="24class="sref">sg_tiL82" cl-nd_3 5e8ss="l305e" name="L78">  78);
request_queu+co3 5l9ss="l305eref">request_queu+cod2e5.c 30509 (!  103<5pan3151"block/scsi_ioctl.c#L84" id="L8492 5e1tbl" 3l5e" name="L11">  113s5.c 3151/a>
request_queue
  
L"sg"ses="sref">p)sense="+cref=0,izeofeefcttion>
  
L"sg"ses="sref">p)sense="+cre)ef="blo="sref">request_queu+co3 5e2tbl" 3l5e" name="L12">  123<5pan3151<
q, int p)sense="+creOS01l    1" clasrn ses="sref">p)sense="+cref="blo="sref">request_queu+co3 5eass="l305e" name="L13">  133<5pan3151/a>
q, int p)sense_len="+c &a0" class="sref">sg_tiL82" cl-nd_3 5e4ss="l305e" name="L14">  143<5pan3151/a>
q, int p)sea_letyp=od" Ola"+code=p" claerADQ_TYPE_BLOCK_PC>jiffies_to_cSCADQ_TYPE_BLOCK_PC+cref="blo="sref">request_queu+co3 5eass="l305e" name="L15">  153<5pan3151/a>"ck/scsi_ioctl.c#L68" id="L68"3 5e6ss="l305e" name="L16">  163<5pan3151/a>
q, int 
  
L"ef">q, int write_okgesess="rlo="+code=p" claref">q, int request_queu+co3 5eass="l305e" name="L17">  173<5pan3151="block/scsi_ioctl.c#L83" id="L892 5e8ss="l305e" name="L18">  183<5pan3151f (!);
  193#5ncl3151/a>
q, int request_queuerrorors+cho tp"
f=0xff;a hrefne"mment">/* Command grouoc="ly 8 bit SI>S    203#5ncl3252/a>
  213#5ncl32520      q, int p)sense_len="+c &atp"
ftp"
f="+code=p" claGFf">q, int p)sense="+crecck/scsi_ioctl.c#L71" id="L71"3  5l2tbl" 3l5e" name="L12">  123s5pan3252<
q, int p)sense_len="+c &) ?/scsi_ioctl.c#L71" id="L71"3  5lass="l305e" name="L23">  233#5ncl3252f (!q, int p)sense_len="+c &aS01l    1" clasREOX_CDSB_LEN>request_queue
request_queu+co3 5l4ss="l305e" name="L24">  243#5ncl3252/a>
q, int write_okgesa_lf=hhf="+code=p" claGFf">q, int p)sense="+cref="+code=p" claGFoe+cs>request_queuer  253#5ncl3252/a>
request_queu+co3 5l6ss="l305e" name="L26">  263#5ncl3252/a>
  273#5ncl3252f (!  283#5ncl3252f (!q, int write_okgesa_lf=hhf="+code=p" claGFbuff+c>request_queuerp)iooutens=="reeck/scsi_ioctl.c#L69" id="L69"2 5l9ss="l305e" name="L29">  293#5ncl32520      request_queu+co3 5lass="l3i5e" name="L30">  303#5ncl335
  313
5a h33530        323#5ncl335 <
request_queuerroror+creck/scsi_ioctl.c#L71" id="L71"3c5lass="l3n5e" name="L13">  133s5ncl3353/a>
p)kfree+code=qcttion>
  
L"sgbuff+c>request_queuerrequest_queu+co3 5l4ss="l305e" name="L34">  343#5ncl3353/a>
request_queuer
  
L"ref">q, int request_queu+co3 5lass="l3i5e" name="L35">  353
5a h335
sg_tiL82" cl-nd_2e5lass="l3i5e" name="L36">  363s5ruc3353"blocck/scsi_ioctl.c#L68" id="L68"3 5lass="l305e" name="L37">  373 5   3353f (!
  
L"sg" i19" id="L1>q, int request_queu+co3 5l8ss="l305e" name="L38">  383 5   3353"block/scsi_ioctl.c#L69" id="L69"3 5lass="l3i5e" name="L39">  393}5
 *
  403
5a h3454/a>
< q, int request_queueq, int write_okgendisess="srde=q" class="sred_disef">write_oked_disess="rlok/scsi_ioctl.c#L19" id="L19"3 5lass="l3i5e" name="L41">  413s5ati34540      p)cma_l+cRPf=t)ff"+code=p" claiota_l>write_okgesa_lf=hhok/scsi_ioctl.c#L19" id="L19"3 5l2tbl" 3l5e" name="L42">  423
5a h345 <"ck/scsi_ioctl.c#L71" id="L71"3  5lass="l3i5e" name="L43">  433<5pan3454/a>
request_queueq, int sg_tiL82" cl-nd_2e5lass="l3n5e" name="L14">  143s5ncl345
q, int sg_tiL82" cl-nd_2e5lass="l3i5e" name="L45">  453{5"ck/scsi_ioctl.c#L68" id="L68"3 5lass="l3i5e" name="L46">  463 5   3454/a>
q, int request_queuer
  
L"ef">q, int jiffies_to_cWRITE="+c :f="+code=p" claGF__P_KEWAIemeout);
request_queu+co3 5lass="l3i5e" name="L47">  473 5   3454/a>
q, int p)sea_letyp=od" Ola"+code=p" claerADQ_TYPE_BLOCK_PC>jiffies_to_cSCADQ_TYPE_BLOCK_PC+cref="blo="sref">request_queu+co3 5lass="l3i5e" name="L48">  483}5
q, int );
sg_tiL82" cl-nd_2e5lass="l3i5e" name="L49">  493<5 hr3454/a>
q, int p)cma_l+cRP[0]uf="+code=p" claercmd"sref">p)cma_l+cRPclass="sref">sg_tiL82" cl-nd_2e5lass="l3i5e" name="L50">  503
5a h3555/a>
q, int p)cma_l+cRP[4]uf="+code=p" claerta_l>write_okgesa_lf=hhclass="sref">sg_tiL82" cl-nd_2e5lass="l3i5e" name="L51">  513#5ncl3555/a>
q, int p)cma_len="+cRouf=6class="sref">sg_tiL82" cl-nd_2e5l2tbl" 3l5e" name="L52">  523
5a h355 <
q, int q, int 
  
L"ef">q, int write_oked_disess="rlo="+code=p" claref">q, int request_queu+co3 5lass="l3i5e" name="L53">  533s5ati3555/a>
request_queuer
  
L"ref">q, int request_queu+co3 5lass="l3i5e" name="L54">  543{5  553 5   3555/a>
sg_tiL82" cl-nd_2e5lass="l3i5e" name="L56">  563 5   3555"blocck/scsi_ioctl.c#L68" id="L68"3 5lass="l3i5e" name="L57">  572}5  582
5a h2555f (!<   5, int  a>
p)dxo/punsed_ rt"tisto=ode=q="+code=requestsqueue" class="sref">request_queueq, int   592s5ati25550      write_okgendisess="srde=q" class="sred_disef">write_oked_disess="rlo=t)ff"+code=p" claiota_l>write_okgesa_lf=hhok/scsi_ioctl.c#L19" id="L19"3 5lass="l2i5e" name="L60">  602{5
  612 5   26561a>
q, int 
  
L"ef">q, int write_oked_disess="rlo="+code=p" clareGPCMD_START_STOP_UNIemeout);
write_okgesa_lf=hhoclass="sref">sg_tiL82" cl-nd_2e5lass="l2i5e" name="L62">  622}5  632
5a h2656/a>ock/scsi_ioctl.c#L68" id="L68"2 5lass="l2i5e" name="L64">  642s5ati2656/a>
request_queueq, int write_okgendisess="srde=q" class="sred_disef">write_oked_disess="rloe=requestsqueuge clref">jiffies_to_csm clre
f="+code=p" clam clf">jiffies_to_cm cl="+choock/scsi_ioctl.c#L83" id="L892 5lass="l2i5e" name="L65">  652{5
p)cma_l+cRPf=voida"livaclass="lre__ed+c>q, int   162s5   2656/a>
  672}5
q, int sg_tiL82" cl-nd_2e5lass="l2i5e" name="L68">  682
5a h2656"block/scsi_ioctl.c#L69" id="L69"3 5lass="l3i5e" name="L69">  692s5ati26560      q, int   702{5
sg_tiL82" cl-nd_2e5lass="l2i5e" name="L71">  712 5   2757/a>ock/scsi_ioctl.c#L68" id="L68"3 5lass="l2i5e" name="L72">  722}5p)cma_l+cRPcck/scsi_ioctl.c#L71" id="L71"3  5lass="l3i5e" name="L73">  732
5a h2757f (!/* Command groref="block/scsi_ioctl.c#L19" id="L19"3 5lass="l2i5e" name="L74">  742s5ati2757/a>"comment"> *
  752{5"comment"> *
  762 5   2757/a>
);
  772
5a h2757f (!q, int q, int sg_tiL82" cl-nd_2e5lass="l2i5e" name="L78">  782 5   2757f (!sg_tiL82" cl-nd_3 5lass="l2i5e" name="L79">  792 5   27570      SEIOCTLEGET_IDLUN>request_queue<_I>SEIOCTLEGET_IDLUN+creck/scsi_ioctl.c#L71" id="L71"3c5lass="l2i5e" name="L80">  802
5a h2858/a>
q, int q, int 
  
L"ef">q, int q, int sg_tiL82" cl-nd_2e5lass="l2i5e" name="L81">  812 5   28580      sg_tiL82" cl-nd_3 5lass="l2i5e" name="L82">  822}5SEIOCTLEGET_BUS_NUeBER"sref">p)dx_I>SEIOCTLEGET_BUS_NUeBER+creck/scsi_ioctl.c#L71" id="L71"3c5lass="l3i5e" name="L83">  832
5a h2858f (!q, int request_queuers1" it_e"busode=qcttion>
  
L"ef">q, int q, int sg_tiL82" cl-nd_2e5lass="l2i5e" name="L84">  842s5ati2858/a>
sg_tiL82" cl-nd_3 5lass="l2i5ss="line"line" name="L285"> 2858/a>
);
timeout,  2858/a>
q, int );

  
L"ef">q, int q, int sg_tiL82" cl-nd_2e5lass="l2i5ef="block/scsi_ioct)ct2l5ctl2858f (!sg_tiL82" cl-nd_3 5lass="l2i5e" name="L78">  78);
  772
5a h28580      q, int );

  
L"ef">q, int sg_tiL82" cl-nd_2e5">q2-5gt;sg_tiL82" cl-nd_3 5lass="l2i5e" name="L81">  81p)io_G_GET_RESERVED_ZE="+creck/scsi_ioctl.c#L71" id="L71"3c5lass="l2l5ss="line"line" name="L285"> 29592a>
q, int );

  
L"ef">q, int q, int sg_tiL82" cl-nd_2e5"ass="l2i5e" name="L83">  832
5a 92959f (!sg_tiL82" cl-nd_3 5lass="l2i5e" name="L77">  772
5a h2959/a>
p)io_G_SEe_RESERVED_ZE="+creck/scsi_ioctl.c#L71" id="L71"3c5lass="l2i5s="sref">sg_getreserv92d5siz2959/a>
q, int );

  
L"ef">q, int q, int sg_tiL82" cl-nd_2e5"ass="l2n5e" name="L79">  792 5   2959/a>
sg_tiL82" cl-nd_3 5lass="l2i5e" name="L82">  822}5);
  78q, int request_queuersg_emulae d_hof"ode=qcttion>
  
L"ef">q, int q, int sg_tiL82" cl-nd_2e5"ass="l2i5sref">request_queu+cod2e5qct29590      sg_tiL82" cl-nd_3 6e_tbl" 3l6INVAcsi_command_size_I3V6cre3060/a>
  81q, int 
f="+code=p" clam hdr>q, int 
fclass="sref">sg_tiL82" cl-nd_3 6e2tbl" 3l6Is="line"line" name="L286.c 30602a>
sg_tiL82" cl-nd_3 6e3tbl" 3l6I" name="L83">  832
6.c 3060f (!q, int request_queu+co3 6e4ss="l306e" name="L77">  772
6.c 3060/a>
q, int 
ff="+code=p" clarearg>q, int 
  
L"sghdr>q, int 
f)eck/scsi_ioctl.c#L69" id="L69"2 6lass="l306s="sref">sg_getreserv9306.c 3060/a>
sg_tiL82" cl-nd_3 6e6ss="l306s" name="L79">  792 6.c 3060/a>
q, int q, int 
  
L"ef">q, int write_oked_disess="rlo=mp"
f=err" class="r"hdr>q, int 
ff="+code=p" clareclf">jiffies_to_cm cl="+chooclass="sref">sg_tiL82" cl-nd_2e6lass="l306e" name="L82">  82306.c 3060f (!  78sg_tiL82" cl-nd_3 6e9ss="l306eref">request_queu+cod2e6.c 3060/a>ef="blo="sref">request_queu+co2 6e_tbl" 3i6e" name="L10">  103<6pan3161/a>
q, int q, int 
ff=zeofeefcttion>
  
L"sghdr>q, int 
f)eck/scsi_ioctl.c#L69" id="L69"2 6e1tbl" 3l6e" name="L11">  113s6.c 31610      q, int request_queu+co3 6e2tbl" 3l6e" name="L12">  123<6pan31612a>
sg_tiL82" cl-nd_3 6eass="l306e" name="L13">  133<6pan3161f (!  143<6pan3161/a>
);
  153<6pan3161/a>
q, int 
f="+code=p" clam cg">q, int request_queu+co3 6e6ss="l306e" name="L16">  163<6pan3161/a>
q, int 
f="+code=p" clam hdr>q, int 
fclass="sref">sg_tiL82" cl-nd_3 6eass="l306e" name="L17">  173<6pan3161="block/scsi_ioctl.c#L83" id="L892 6e8ss="l306e" name="L18">  183<6pan3161f (!q, int request_queu+co3 6e9ss="l306e" name="L19">  193#6ncl31610      q, int q, int 
  
L"sgcg">q, int   203#6ncl3262/a>
sg_tiL82" cl-nd_3 6l1tbl" 3l6e" name="L21">  213#6ncl32620      q, int );
sg__trtotjiff
sg__trtotjiff

  
L"sgcg">q, int );
sg_tiL82" cl-nd_2e6l2tbl" 3l6e" name="L12">  123s6pan3262<
request_queueq, int 
ff=0,izeofeefcttion>
  
L"sghdr>q, int 
f)eclass="sref">sg_tiL82" cl-nd_2e6lass="l306e" name="L23">  233#6ncl3262f (!
  
L"sghdr>q, int 
f."+code=p" clam derface_i_ic>q, int  *'S'f="blocclass="sref">sg_tiL82" cl-nd_2e6l4ss="l306e" name="L24">  243#6ncl3262/a>
q, int 
f."+code=p" clam a_lens="sref">p)cma_len="+cRouf=zeofeefcttion>
  
L"sgcg">q, int p)cma_lod" oclass="sref">sg_tiL82" cl-nd_2e6lass="l306e" name="L25">  253#6ncl3262/a>

  
L"sghdr>q, int 
f."+code=p" clam dxferens="sref">p)cmdxferens=od" Ola"+code=p" claercg">q, int p)cmbufns=+cref="blo="sref">request_queu+co3 6l6ss="l306e" name="L26">  263#6ncl3262/a>
q, int sg_tiL82" cl-nd_3 6lass="l306e" name="L27">  273#6ncl3262f (!q, int   283#6ncl3262f (!request_queue  293#6ncl32620      q, int 
f."+code=p" clam dxferedirectn=">q, int request_queuerequest_queu+co3 6lass="l3i6e" name="L30">  303#6ncl3363/a>
sg_tiL82" cl-nd_3 6lass="l3i6e" name="L31">  313
6a h33630      jiffies_to_cWRCGC_DATA_ITEf"+creck/scsi_ioctl.c#L71" id="L71"3c6l2tbl" 3l6e" name="L32">  323#6ncl3363<

  
L"sghdr>q, int 
f."+code=p" clam dxferedirectn=">q, int request_queuerequest_queu+co3 6lass="l306e" name="L13">  133s6ncl3363f (!sg_tiL82" cl-nd_3 6l4ss="l306e" name="L34">  343#6ncl3363/a>
BLK_SCSI_CMDRECGC_DATA_ADf"+creck/scsi_ioctl.c#L71" id="L71"3c6lass="l306e" name="L35">  353
6a h3363/a>

  
L"sghdr>q, int 
f."+code=p" clam dxferedirectn=">q, int request_queuerequest_queu+co3 6l6ss="l306e" name="L36">  363s6ruc3363/a>
sg_tiL82" cl-nd_3 6lass="l306e" name="L37">  373 6   3363f (!jiffies_to_cWRCGC_DATA_NON"+creck/scsi_ioctl.c#L71" id="L71"3c6l8ss="l306e" name="L38">  383 6   3363f (!
  
L"sghdr>q, int 
f."+code=p" clam dxferedirectn=">q, int jiffies_to_cWRSG_DXFER_NON"+cref="blo="sref">request_queu+co3 6l9ss="l306e" name="L39">  393}6
sg_tiL82" cl-nd_3 6lass="l3i6e" name="L40">  403
6a h3464/a>
  413s6ati34640      q, int request_queu+co3 6l2tbl" 3l6e" name="L42">  423
6a h3464<
  433<6pan3464f (!  143s6ncl3464/a>
sg_tiL82" cl-nd_3 6lass="l306e" name="L45">  453{6"ck/scsi_ioctl.c#L68" id="L68"3 6lass="l3i6e" name="L46">  463 6   3464/a>
q, int 
f."+code=p" clam dxfer="sref">p)dxdxfer=od" Ola"+code=p" claercg">q, int request_queuersg_tiL82" cl-nd_3 6lass="l306e" name="L47">  473 6   3464f (!q, int 
f."+code=p" clam sb="sref">p)dxsb=od" Ola"+code=p" claercg">q, int p)sense="+cref="blo="sref">request_queu+co3 6lass="l3i6e" name="L48">  483}6
p)dxsb=od" ck/scsi_ioctl.c#L69" id="L69"2 6l9ss="l306e" name="L49">  493<6 hr34640      p)cmmx_sbens=+cRouf=zeofeef="+code=requestsqueue" class=" ses="sref">p)se class=" ses=od" oclass="sref">sg_tiL82" cl-nd_2e6lass="l3i6e" name="L50">  503
6a h3565/a>
q, int 
f."+code=p" clam me=""remeout);

  
L"sgcg">q, int );
sg_tiL82" cl-nd_2e6lass="l3i6e" name="L51">  513#6ncl35650      q, int 
f."+code=p" clam a_l="sref">p)dxa_l=od" Ola(f="+code=requestsqueue"cdmbutgeneri"_blq, int 
f="+code=p" clam __ed+c>q, int q, int p)cma_l+cRPclass="sref">sg_tiL82" cl-nd_2e6l2tbl" 3l6e" name="L52">  523
6a h3565<
p)cma_len="+cRouf=zeofeefcttion>
  
L"sgcg">q, int p)cma_lod" oclass="sref">sg_tiL82" cl-nd_2e6lass="l3i6e" name="L53">  533s6ati3565/a>ock/scsi_ioctl.c#L68" id="L68"2 6lass="l3i6e" name="L54">  543{6
q, int q, int 
  
L"ef">q, int write_oked_disess="rlo=mp"
f=err" class="r"hdr>q, int 
ff="+code=p" clareclf">jiffies_to_cm cl="+chooclass="_ioctl.c#L68" id="L68"2 6lass="l306e" name="L55">  553 6   3565/a>
  563 6   3565/a>
sg_tiL82" cl-nd_3 6lass="l3i6e" name="L57">  572}6  582
6a h2565f (!  592s6ati25650      q, int sg_tiL82" cl-nd_2e6lass="l2i6e" name="L60">  602{6  612 6   26660      q, int q, int q, int sg_tiL82" cl-nd_2e6lass="l2i6e" name="L62">  622}6q, int p)cmbufns=+creOla"+code=p" claerhdr>q, int 
f."+code=p" clam resic>q, int sg_tiL82" cl-nd_2e6lass="l3i6e" name="L63">  632
6a h2666f (!q, int q, int 
  
L"sgcg">q, int   642s6ati2666/a>
q, int request_queu+co3 6lass="l2i6e" name="L65">  652{6"ck/scsi_ioctl.c#L68" id="L68"3 6lass="l3i6e" name="L16">  162s6   2666/a>
sg_tiL82" cl-nd_3 6lass="l3i6e" name="L67">  672}6  682
6a h2666"block/scsi_ioctl.c#L69" id="L69"3 6lass="l3i6e" name="L69">  692s6ati26660      /* Command groref="block/scsi_ioctl.c#L19" id="L19"3 6lass="l2i6e" name="L70">  702{6
 *
  712 6   2767/a>ocomment"> *
  722}6SEIOCTLESSED_COMMAN">BLK_SCSI_CMDRE_I>SEIOCTLESSED_COMMAN"+creck/scsi_ioctl.c#L71" id="L71"3c6lass="l3i6e" name="L73">  732
6a h2767f (!
  
L"sgprint">write_okedprint"ode=qcttion>
  
L"sgKERN_WARNING>write_okedKERN_WARNINGa>
f="mment"> *"program %s is using a deprecae d SI>S d="L7, pleeOS0convert it to _G_IO\n"f="blocf="+code=p" clarecurr
, int 
fut" class=miequesttiaan>in the hope tcopymm+chooclass="_ioctl.c#L68" id="L68"2 6lass="l2i6e" name="L74">  742s6ati2767/a>
q, int request_queu+co3 6lass="l2i6e" name="L75">  752{6
q, int   762 6   2767/a>
sg_tiL82" cl-nd_3 6lass="l2i6e" name="L77">  772
6a h2767="block/scsi_ioctl.c#L83" id="L892 6lass="l2i6e" name="L78">  782 6   2767f (!
  
L"sgror>q, int q, int write_oked_disess="rlo="+code=p" clareclf">jiffies_to_cm cl="+chof="+code=p" clarearg>q, int sg_tiL82" cl-nd_2e6lass="l2i6e" name="L79">  792 6   27670      sg_tiL82" cl-nd_3 6lass="l2i6e" name="L80">  802
6a h2868/a>
jiffies_to_cWRCDROMCLOSETRAY+creck/scsi_ioctl.c#L71" id="L71"3c6lass="l2i6e" name="L81">  812 6   28680      q, int p)dxo/punsed_ rt"tisto=ode=qcttion>
  
L"ef">q, int write_oked_disess="rlo=0x03oclass="sref">sg_tiL82" cl-nd_2e6lass="l2i6e" name="L82">  822}6sg_tiL82" cl-nd_3 6lass="l3i6e" name="L83">  832
6a h2868f (!);
  842s6ati2868/a>
q, int p)dxo/punsed_ rt"tisto=ode=qcttion>
  
L"ef">q, int write_oked_disess="rlo=0x02oclass="sref">sg_tiL82" cl-nd_2e6lass="l2i6ss="line"line" name="L286"> 2868/a>
sg_tiL82" cl-nd_3 6lass="l2n6">timeout,  2868/a>
q, int request_queu+co3 6lass="l2i6e" name="L78">  78  772
6a h2868/a>ef="blo="sref">request_queu+co2 6">q2-6gt;sg_tiL82" cl-nd_2e6lass="l2i6e" name="L81">  81 2969<
jiffies_to_cWRAXPORT_SYMBOLode=qcttion>
  
L"ef68" ia_led="L1>q, int sg_tiL82" cl-nd_2e6"ass="l2i6e" name="L83">  832
6a 92969/a>ock/scsi_ioctl.c#L68" id="L68"2 6lass="l2i6e" name="L77">  772
6a h2969/a>
jiffies_to_cm tl.c#_devic"a>
write_oked_d="rlo=block/sref)ff"+code=p" claioa_l"sref">p)cma_l+cRPok/scsi_ioctl.c#L19" id="L19"3 6lass="l2i6s="sref">sg_getreserv92d6siz2969/a>
  792 6   2969/a>
write_oked_d="rla=la"+code=p" claerwrite_oked_d="rlut" class=miequestti_dicontains>request_queuer  822}6sg_tiL82" cl-nd_3 6lass="l2i6e" name="L78">  78request_queu+cod2e6qct29690       *

 *
  81ocomment"> *
p)cma_l+cRPcck/scsi_ioctl.c#L71" id="L71"3  7e3tbl" 3l7I" name="L83">  832
7.c 3070f (!SEIOCTLEGET_IDLUN>request_queue<_I>SEIOCTLEGET_IDLUN+creck/scsi_ioctl.c#L71" id="L71"3c7e4ss="l307e" name="L77">  772
7.c 3070/a>
SEIOCTLEGET_BUS_NUeBER"sref">p)dx_I>SEIOCTLEGET_BUS_NUeBER+creck/scsi_ioctl.c#L71" id="L71"3c7lass="l307s="sref">sg_getreserv9307.c 3070/a>
SEIOCTLEGET_PCI"sref">p)dx_I>SEIOCTLEGET_PCI+creck/scsi_ioctl.c#L71" id="L71"3c7l6ss="l307s" name="L79">  792 7.c 3070/a>
SEIOCTLEPROBE_HOSemeout);
SEIOCTLEPROBE_HOSe+creck/scsi_ioctl.c#L71" id="L71"3c7l7ss="l307s" name="L82">  822}7.c 3070f (!);
  78);
request_queu+cod2e7.c 30709 (!);
  103<7pan3171/a>
p)io_G_GET_RESERVED_ZE="+creck/scsi_ioctl.c#L71" id="L71"3c7e1tbl" 3l7e" name="L11">  113s7.c 31710      p)io_G_SEe_RESERVED_ZE="+creck/scsi_ioctl.c#L71" id="L71"3c7e2tbl" 3l7e" name="L12">  123<7pan31712a>
);
  133<7pan3171f (!sg_tiL82" cl-nd_3 7e4ss="l307e" name="L14">  143<7pan3171/a>
jiffies_to_cWRCDROM_GET_CAPABILITY+creck/scsi_ioctl.c#L71" id="L71"3c7eass="l307e" name="L15">  153<7pan3171/a>
 *
  163<7pan3171/a>
 *
  173<7pan3171="bloomment"> *
  183<7pan3171f (! *
  193#7ncl31710      BLK_SCSI_CMDREAMOIOCTLCM"od" class="sref">sg_tiL82" cl-nd_2e7lass="l3i7e" name="L20">  203#7ncl3272/a>
  213#7ncl32720      sg_tiL82" cl-nd_3 7l2tbl" 3l7e" name="L12">  123s7pan3272<
  233#7ncl3272/a>ock/scsi_ioctl.c#L68" id="L68"2 7l4ss="l307e" name="L24">  243#7ncl3272/a>
jiffies_to_cm papabl"ode=qcttion>
  
L"efCAP_SYS_RAWIOven the impliiICAP_SYS_RAWIO+cre)ek/scsi_ioctl.c#L68" id="L68"2 7lass="l307e" name="L25">  253#7ncl3272/a>
sg_tiL82" cl-nd_3 7l6ss="l307e" name="L26">  263#7ncl3272/a>
sg_tiL82" cl-nd_3 7l7ss="l307e" name="L27">  273#7ncl3272f (! *
  283#7ncl3272f (!p)cmprint"_ratelimitelode=qcttion>
  
L"sgKERN_WARNING>write_okedKERN_WARNINGa>
fk/scsi_ioctl.c#L19" id="L19"3 7l9ss="l307e" name="L29">  293#7ncl32720       *"%s: nseding d="L1 %x to a pt"titn="!\n"f="blocf="+code=p" clarecurr
, int 
fut" class=miequesttiaan>in the hope tcopymm+chof="+code=p" clarec_l"sref">p)cma_lod" oclass="sref">sg_tiL82" cl-nd_2e7lass="l3i7e" name="L30">  303#7ncl3373"block/scsi_ioctl.c#L84" id="L8492 7lass="l3i7e" name="L31">  313
7a h33730      BLK_SCSI_CMDREAMOIOCTLCM"od" class="sref">sg_tiL82" cl-nd_2e7l2tbl" 3l7e" name="L32">  323#7ncl3373<
  133s7ncl3373f (!jiffies_to_cWRAXPORT_SYMBOLode=qcttion>
  
L"ef68" iverify_q, int sg_tiL82" cl-nd_2e7l4ss="l307e" name="L34">  343#7ncl3373"block/scsi_ioctl.c#L78" id="L7893 7lass="l307e" name="L35">  353
7a h3373/a>
jiffies_to_cm tl.c#_devic"a>
write_oked_d="rlo="+code=p" clare clref">jiffies_to_csm clre
f="+code=p" clam clf">jiffies_to_cm cl="+choock/scsi_ioctl.c#L83" id="L892 7l6ss="l307e" name="L36">  363s7ruc3373/a>
p)cma_l+cRPf=voida"livaclass="lre__ed+c>q, int   373 7   3373f (!  383 7   3373f (!request_queuesg_tiL82" cl-nd_2e7l9ss="l307e" name="L39">  393}7
ef="blo="sref">request_queu+co2 7lass="l3i7e" name="L40">  403
7a h3474/a>
request_queuewrite_oked_d="rlo="+code=p" clarec_l"sref">p)cma_lod" oclass="sref">sg_tiL82" cl-nd_2e7lass="l3i7e" name="L41">  413s7ati34740      request_queue  423
7a h3474<
request_queuesg_tiL82" cl-nd_2e7lass="l3i7e" name="L43">  433<7pan3474/a>ock/scsi_ioctl.c#L68" id="L68"2 7lass="l3n7e" name="L14">  143s7ncl3474/a>
write_oked_d="rlut" class=miequestti_disef">write_oked_disess="rlut" class=miequesttisref">request_queuewrite_oked_d="rlut" class=miequestti_disef">write_oked_disess="rlo="+code=p" clareclf">jiffies_to_cm cl="+chof="+code=p" clarea_l"sref">p)cma_l+cRPf==q" class="srsgarg>q, int sg_tiL82" cl-nd_2e7lass="l307e" name="L45">  453{7"cck/scsi_ioctl.c#L68" id="L68"3 7lass="l3i7e" name="L46">  463 7   3474/a>
jiffies_to_cWRAXPORT_SYMBOLode=qcttion>
  
L"ef68" ia_leq, int sg_tiL82" cl-nd_2e7lass="l307e" name="L47">  473 7   3474="block/scsi_ioctl.c#L83" id="L892 7lass="l3i7e" name="L48">  483}7
request_queue<__ini"a>
f="+code=p" clam o/pun83" id="L_ini">request_queue  493<7 hr34740    k/scsi_ioctl.c#L71" id="L71"3  7lass="l3i7e" name="L50">  503
7a h3575/a>
request_queuerrequest_queuersg_tiL82" cl-nd_2e7lass="l3i7e" name="L51">  513#7ncl35750      sg_tiL82" cl-nd_3 7l2tbl" 3l7e" name="L52">  523
7a h3575<
  533s7ati3575f (!q, int request_queuesg_tiL82" cl-nd_2e7lass="l3n7e" name="L54">  543{7
<


> The original LXR software by the ass="srefhttp://sourceforge.net/projects/lxr>>LXR pymmuni"y+cRPf=this experi> ux.no">lxr@4">ux.no+cRP.
> lxr.4">ux.no kindly hof"sreby ass="srefhttp://www.redpill-4">pro.no">Redpill L">pro AS+cRPf=provider of L">ux0cons<:oing and operatn="s servic"s since 1995.