linux/block/ioctl.c
<<
>>
Prefs
   1#include <linux/capability.h>
   2#include <linux/blkdev.h>
   3#include <linux/export.h>
   4#include <linux/gfp.h>
   5#include <linux/blkpg.h>
   6#include <linux/hdreg.h>
   7#include <linux/backing-dev.h>
   8#include <linux/fs.h>
   9#include <linux/blktrace_api.h>
  10#include <asm/uaccess.h>
  11
  12static int blkpg_ioctl(struct block_device *bdev, struct blkpg_ioctl_arg __user *arg)
  13{
  14        struct block_device *bdevp;
  15        struct gendisk *disk;
  16        struct hd_struct *part, *lpart;
  17        struct blkpg_ioctl_arg a;
  18        struct blkpg_partition p;
  19        struct disk_part_iter piter;
  20        long long start, t   12statir" cno *  11
  12stati" clalef="+code=block_" claless="s">  12statiCAP_SYS_ADMINf="+code=block_CAP_SYS_ADMINarg"  class="sref">arg)
  12statiEACCESf="+code=block_EACCES" cle=bde0ck/ioctl.c#L10" i0a href="blo2k/ioctl.c#L15" id="L15"2class25line" name=""f (">  12stati"opy_from  ss="s&>blkpg_ioctl_arg start *blkpg_ioctl(struct arg)
  12statiEFAULTf="+code=block_EFAULT" cle=bde0ck/ioctl.c#L10" i0a href="blo2k/ioctl.c#L17" id="L17"2class27line" name=""f (">  12stati"opy_from  ss="s&>blkpg_ioctl_arn start< blkpg_ioctl(struct arg)
  12statiEFAULTf="+code=block_EFAULT" cle=bde0ck/ioctl.c#L10" i0a href="blo2k/ioctl.c#L19" id="L19"2class2"line" name="="sref">gendisk *(st/a> *kpg_ioctl(st/_ *  12statit/a> *(st/a> *kpg_ioctl(st/_ent"ains *arg)
  12statiEINVALf="+code=block_EINVAL" cle=bde0ck/ioctl.c#L10" i0a 3href="bl3ock/ioctl.c#L2" id="L2"3class32line" name="="sref">gendiskr" cno *(sn gendiskr" cno *= 0 class="sref">arg)
  12statiEINVALf="+code=block_EINVAL" cle=bde0ck/ioctl.c#L10" i0a 3ref="blo3k/ioctl.c#L15" id="L15"3class3"line" name="Lwitch (="sref">gendisk<   13{
(sBLKPG_ADD_PARTITIONf="+code=block_BLKPG_ADD_PARTITIONline: name="L13">  13{
gendisk long (sn gendisk, t (sn >
        s ector_g   13{
        longp long (s long startp, t (s, t gendiskr long (s long startp, t (s, t startp long  0 ||ass="sref">startp, t  0 ||ass="sref">startp" cno *arg)
  12statiEINVALf="+code=block_EINVAL" cle=bde0ck/ioctl.c#L10" i0a 4ref="blo4k/ioctl.c#L16" id="L16"4class46line" name="""""""""""""""""}=bde0ck/ioctl.c#L10" i0a 4ref="blo4k/ioctl.c#L17" id="L17"4class47" cl=bde0ck/ioctl.c#L10" i0a 4ref="blo4k/ioctl.c#L18" id="L18"4class48line" name="""""""""" name="="sref">gendiskmute"ajac> *ss="s&>blkpg_ioctl_art/a> *kpg_ioctl(st/_mute" *        struct blkpg_ioctl_arn start *>
        sDISK_PITER_INCL_EMPTY *gendiskr" c *(struct 
	  a href="+codetruct 
	ss="s&>blkpg_ioctl_arn   13{
        s long gendisk, t = ="sref">gendiskr" c *kpg_ioctl(s=star_=ect   13{
        s long gendiskr" c *kpg_ioctl(s=star_=ect gendiskr" c *kpg_ioctl(snr_=ects *  13{
        struct blkpg_ioctl_arn         smute"aunjac> *ss="s&>blkpg_ioctl_art/a> *kpg_ioctl(st/_mute" *  12statiEBUSY *        struct blkpg_ioctl_arn   11

	>
gendiskr" c *(sadd   12stati *startp" cno *start long start, t >
gendiskADDPART_FLAG_NONEt startNULLf="+code=block_NULLr" c)e=bde0ck/ioctl.c#L10" i0a 6href="bloock/ioctl.c#L6" id="L6" class66line" name="""""""""""""""""19        smute"aunjac> *ss="s&>blkpg_ioctl_art/a> *kpg_ioctl(st/_mute" *(sIS_ERR *  12statir" c *(sPTR_ERR *  12statir" c *(sBLKPG_DEL_PARTITIONf="+code=block_BLKPG_DEL_PARTITIONline: name="L13">  13{
gendiskr" c *(structget_r" c *  12stati *startp" cno *  12statir" c *  12statiENXIO *  11
 *(st/"hidda href="+code=b"hiss="s">  12statir" ce" cc *  12statir" c *gendisktruct ut_r" c *  12statir" c *  12statit/a> *  12statiENOMEM *gendiskmute"ajac> *ss="s&>blkpg_ioctl_art/a> *kpg_ioctl(st/_mute" *  12statit/a> *kpg_ioctl(st/_opccess *  13{
gendiskmute"aunjac> *ss="s&>blkpg_ioctl_art/a> *kpg_ioctl(st/_mute" *  12statit/a> *  12statiEBUSY *
	>
  12statifsync_t/a> *  12statit/a> *        sinvalidate_t/a> *  12statit/a> *gendiskmute"ajac>_nested *_nestedss="s&>blkpg_ioctl_art/a> *kpg_ioctl(st/_mute" *gendiskdelete_  12stati *startp" cno * *ss="s&>blkpg_ioctl_art/a> *kpg_ioctl(st/_mute" *        smute"aunjac> *ss="s&>blkpg_ioctl_art/a> *kpg_ioctl(st/_mute" *(st/ ut *  12statit/a> *(sBLKPG_RESIZE_PARTITIONf="+code=block_BLKPG_RESIZE_PARTITIONline: name="L13">  13{
        s long (sn >
gendisk, t (sn >
        s ector_g   13{
        longp long (s long startp, t (s, t gendiskr long (s long startp, t (s, t startp long  0 ||ass="sref">startp, t  0 class="sref">arg)
  12statiEINVALf="+code=block_EINVAL" cle=bde0ck/ioctl.c#L10" i0a 10ref="bloc0k/ioctl.c#L16" id="L16" 06las c6line" name="""""""""""""""""}=bde0ck/ioctl.c#L10" i0a 10ref="bloc0k/ioctl.c#L17" id="L17" 07las c7line" name="""""""""" name="="sref">gendiskr" c *(structget_r" c *  12stati *startp" cno *  12statir" c *  12statiENXIO *(st/"hidda href="+code=b"hiss="s">  12statir" ce" cc *  12statir" c *  12statit/a> *  13{
gendisktruct ut_r" c *  12statir" c *  12statiENOMEM *  12statimute"ajac> *ss="s&>blkpg_ioctl_art/a> *kpg_ioctl(st/_mute" *        smute"ajac>_nested *_nestedss="s&>blkpg_ioctl_art/a> *kpg_ioctl(st/_mute" *gendisk long (sr" c *kpg_ioctl(s=star_=ect   13{
        smute"aunjac> *ss="s&>blkpg_ioctl_art/a> *kpg_ioctl(st/_mute" *        smute"aunjac> *ss="s&>blkpg_ioctl_art/a> *kpg_ioctl(st/_mute" *gendiskt/ ut *  12statit/a> *  12statir" c *  12statiEINVALf="+code=block_EINVAL" cle=bde0ck/ioctl.c#L10" i0a 12ref="blo12k/ioctl.c#L13" id="L13"12clas123line" name="""""""""""""""""}=bde0ck/ioctl.c#L10" i0a 12ref="blo12k/ioctl.c#L14" id="L14"12clas12"line" name="""""""""""""me="k 
	>
  12statitruct blkpg_ioctl_arn start *>
startDISK_PITER_INCL_EMPTY *gendisk/a>, *(struct 
	  a href="+codetruct 
	ss="s&>blkpg_ioctl_arn   13{
gendisk/a>, *kpg_ioctl(sp" cno *(sr" cno *>
        s long gendisk, t = ="sref">gendisk/a>, *kpg_ioctl(s=star_=ect   13{
start long gendisk/a>, *kpg_ioctl(s=star_=ect gendisk, *kpg_ioctl(snr_=ects *  13{
bdevp;
(struct ig blkpg_ioctl_arn (strte"aunjac> *ss="s&>blkpg_ioctl_art/a> *kpg_ioctl(st/_mute" *(strte"aunjac> *ss="s&>blkpg_ioctl_art/a> *kpg_ioctl(st/_mute" *gendiskt/ ut *  12statit/a> *gendiskt/uct ut_r" c *  12statir" c *  12statiEBUSY *(struct ig blkpg_ioctl_arn statir" ce" _=ectsr"_wrter  12statir" c *gendisk lotor_g gendisk, t gendisk  12statit/a> *kpg_ioctl(st/_muin(ststartp"         s, t (strte"aunjac> *ss="s&>blkpg_ioctl_art/a> *kpg_ioctl(st/_mute" *(strte"aunjac> *ss="s&>blkpg_ioctl_art/a> *kpg_ioctl(st/_mute" *gendiskt/ ut *  12statit/a> *gendiskt/uct ut_r" c *  12statir" c *  13{
  12statiEINVALf="+code=block_EINVAL" cle=bde0ck/ioctl.c#L10" i0a 12ref="blo5k1/ioctl.c#L20" id="L20"5c1lass51line" name="""bde0ck/ioctl.c#L10" i0a 12ref="blo5k1/ioctl.c#L11" id="L11"5c1lass51line" bde0ck/ioctl.c#L10" i0a 12reef="bloi1ck/ioctl.c#L2" id="L2"5c1lass515ine" name="L11">  11
  12static intevp_reread" c *f">blkpg_ioctl(struct block_device *  13{
bdevp;
  15        struct gendisk *(st/a> *kpg_ioctl(st/_ *  12static re*  12statit/uct   12statir"a> *startp *(st/a> *kpg_ioctl(st/_ent"ains *arg)
  12statiEINVALf="+code=block_EINVAL" cle=bde0ck/ioctl.c#L10" i0a 12ref="blo6k1/ioctl.c#L20" id="L20"6c1lass61line" name=""" (!">  12stati" clalef="+code=block_" claless="s">  12statiCAP_SYS_ADMINf="+code=block_CAP_SYS_ADMINarg"  class="sref">arg)
  12statiEACCESf="+code=block_EACCES" cle=bde0ck/ioctl.c#L10" i0a hr1ref="bl6o1ck/ioctl.c#L2" id="L2"6c1lass6162ne" name=""" (!">  12stati" te"auntryc> * *="s&>blkpg_ioctl_art/a> *kpg_ioctl(st/_mute" *arg)
  12statiEBUSY *static re*  12statir"a> *startp"a> *(strte"aunjac> *ss="s&>blkpg_ioctl_art/a> *kpg_ioctl(st/_mute" *  12static int_0" i0/a>"car*"car*="s">f">blkpg_ioctl(struct block_device *startp"u12"64 start long >
(stru12"64 start llecode=blkpg_pardelec" clss12">  12static secur="+code=block_desecur=g" class="sref">arg)
bdevp;
        longpglag*gendisk long b 511lass="sref">arg)
  12statiEINVALf="+code=block_EINVAL" cle=bde0ck/ioctl.c#L10" i0a 12rref="bl7o1ck/ioctl.c#L6" id="L6"7c1lass71line" name=""" (="sref">gendisk/a>ecode=blkpg_pardelec" cl=mp;>b 511lass="sref">arg)
  12statiEINVALf="+code=block_EINVAL" cle=bde0ck/ioctl.c#L10" i0a 12rrf="blo6k1/ioctl.c#L18" id="L18"7c1lass71line" name="""sref">gendisk long gendiskecode=blkpg_pardelec" cl=mx/rig 9=e=bde0ck/ioctl.c#L10" i0a 9h1ef="blo8k1/ioctl.c#L20" id="L20"8c1lass81line" de0ck/ioctl.c#L10" i0a 9h1ef="blo7k1/ioctl.c#L11" id="L11"8c1lass81line" name=""" (="sref">gendisk long gendisk,ode=blkpg_pardelec" cl=mx/r="sref">gendisk li_zeof_read  12statit/a> *kpg_ioctl(st/_muin(starg)
  12statiEINVALf="+code=block_EINVAL" cle=bde0ck/ioctl.c#L10" i0a 12rref="bl8o1ck/ioctl.c#L3" id="L3"8c1lass818ine" name=""f (="sref">gendiskr"secur="+code=block_desecur=g" class="sref">arg)
        longpglag*  12statit/a> *start long start,ode=blkpg_pardelec" clss="sref">startstart  12static int_0" i0/zeroo *f">blkpg_ioctl(struct block_device *startp"u12"64 start long >
        longpu12"64 start llecode=blkpg_pardelec" cllass="sref">arg)
bdevp;
gendisk long b 511lass="sref">arg)
  12statiEINVALf="+code=block_EINVAL" cle=bde0ck/ioctl.c#L10" i0a 12rref="bl9o1ck/ioctl.c#L3" id="L3"9c1lass919ine" name=""f (="sref">gendiskr">ecode=blkpg_pardelec" cl=mp;>b 511lass="sref">arg)
  12statiEINVALf="+code=block_EINVAL" cle=bde0ck/ioctl.c#L10" i0a 12rref="bloo1ck/ioctl.c#L5" id="L5"9c1lass919ine" name="""g_ioctl(strong gendiskecode=blkpg_pardelec" cl=mx/rig 9=e=bde0ck/ioctl.c#L10" i0a 9h1ref="bl9o1ck/ioctl.c#L7" id="L7"9c1lass919 cl=bde0ck/ioctl.c#L10" i0a 8h1ref="bl9o1ck/ioctl.c#L8" id="L8"9c1lass919ine" name=""" (!"sref">gendisk long gendisk,ode=blkpg_pardelec" cl=mx/r="sref">gendisk li_zeof_read  12statit/a> *kpg_ioctl(st/_muin(starg)
  12statiEINVALf="+code=block_EINVAL" cle=bde0ck/ioctl.c#L10" i0a 122ef="block2/ioctl.c#L10" id="L10" c2las c20ine" de0ck/ioctl.c#L10" i0a 9h2ef="bloc02/ioctl.c#L11" id="L11" 02las c2line" name="""d="pokpg_ioctl(sISintevp_issue/zeroo *  12statit/a> *start long start,ode=blkpg_pardelec" clss="sref">start  12static t_r"usho *unsieSed  20        longparg        longpvalarg)
bdevp;
  12statit/val        longp_"us gendisk  12static i_r"12"a href="+code=pi_r"12"="s">unsieSed  20        longparg  12static valarg)
bdevp;
  12statit/val  12static _"us gendisk  12static t_r"u12"a href="+code=pi_r"u12"="s">unsieSed  20        longparg  12static valarg)
bdevp;
  12statit/val  12static _"us gendisk  12static i_r" 20unsieSed  20        longparg        longpvalarg)
bdevp;
  12statit/val        longp_"us gendisk  12static t_r"u 20unsieSed  20        longparg        longpvalarg)
bdevp;
  12statit/val        longp_"us gendisk  12static i_r"uck/ioctl.c#code=pi_r"uline" >unsieSed  20        longparg        longpuck/ioctl.c#code=puline" /a>        longpvalarg)
bdevp;
  12statit/val        longpuck/ioctl.c#code=puline" /a>        longp_"us gendisk  12static _" ntevp_driv_ini" i0a href="+code=p_" ntevp_driv_ini" i0="s">f">blkpg_ioctl(struct block_device *startp"fmrtp         longpm(st>
        longpcmd        longparg>
bdevp;
  15        struct gendisk *(st/a> *kpg_ioctl(st/_ *gendisk la> *kpg_ioctl(st/fop*kpg_ioctl(st/i" i0a href="+code=pi" i0="s"=ux/export.h>
kpg_ioctl(st/fop*kpg_ioctl(st/i" i0a href="+code=pi" i0="s">  12statit/a> *start lm(st        longpcmdgendisk  12statiENOMET *
	>

	
	
	
	>
statiENOXPORT_SYMBOL_GPL  12statit/_" ntevp_driv_ini" i0a href="+code=p_" ntevp_driv_ini" i0="s"=bde0ck/ioctl.c#L10" i0a 1h2ef="blo5k2/ioctl.c#L20" id="L20"5c2lass525ine" de0ck/ioctl.c#L10" i0a 9h2ef="blo5k2/ioctl.c#L11" id="L11"5c2lass52line" 
	>

	
	
	
	>

	
	
	
	
	
	
	
	>
  12static is_und=cognizedni" i0a href="+code=pis_und=cognizedni" i0="s">12">  12static rebdevp;
  12statiEINVALf="+code=block_EINVAL" cle=| name="L13">  13{
static re  12statiEINMET *  13{
static re  12statiEINMEIOCTLCMD
	>

	>

	>
  12static  ntevp_gt;
<"+code=block_devitevp_gt;
<="s">f">blkpg_ioctl(struct block_device *startp"fmrtp         longpm(st        longpcmd>
        longparg>
bdevp;
  15        struct gendisk *(st/a> *kpg_ioctl(st/_ *blkpg_ioctl(struacking_evp_gnf*block_deviceigendiskoff         longpzeofa href="+code=ezeofcle=bde0ck/ioctl.c#L10" i0a 3r2ef="blo8k2/ioctl.c#L20" id="L20"8c2lass828ine" name=""" 2">  12static restartp",ode=blkpg_pardencle=bde0ck/ioctl.c#L10" i0a 3r2ef="blo7k2/ioctl.c#L11" id="L11"8c2lass828ine" de0ck/ioctl.c#L10" i0a 1h2ref="bl8o2ck/ioctl.c#L2" id="L2"8c2lass82line" name="""switch>  12statit/cmdbdevp;
(st/BLKFLSBUF  13{
  12stati" clalef="+code=block_" claless="s">  12statiCAP_SYS_ADMINf="+code=block_CAP_SYS_ADMINarg"  class="sref">arg)
  12statiEACCESf="+code=block_EACCES" cle=bde0ck/ioctl.c#L10" i0a hr2ref="bl8o2ck/ioctl.c#L6" id="L6"8c2lass82line" de0ck/ioctl.c#L10" i0a hr2rf="block2ck/ioctl.c#L7" id="L7"8c2lass828ine" name=""""""""""   12static re  12static _" ntevp_driv_ini" i0a href="+code=p_" ntevp_driv_ini" i0="s">  12statit/a> *start lm(st        longpcmdgendisk  12stati" is_und=cognizedni" i0a href="+code=pis_und=cognizedni" i0="s">  12static rearg)
startp"fsync_a> *  12statit/a> *(st/invalidate_a> *  12statit/a> *(st/BLKROSET  13{
static re  12static _" ntevp_driv_ini" i0a href="+code=p_" ntevp_driv_ini" i0="s">  12statit/a> *start lm(st        longpcmdgendisk  12stati" is_und=cognizedni" i0a href="+code=pis_und=cognizedni" i0="s">  12static rearg)
  12stati" clalef="+code=block_" claless="s">  12statiCAP_SYS_ADMINf="+code=block_CAP_SYS_ADMINarg"  class="sref">arg)
  12statiEACCESf="+code=block_EACCES" cle=bde0ck/ioctl.c#L10" i0a hr3ef="bloc03/ioctl.c#L11" id="L11" 03las c30ine" name=""""""""""" (!"sref">gendisk lger"us   12statiCA,ode=blkpg_pardencle=, (12">  12static _"us   12statiCAargarg)
  12statiEACFAULT        longpzer"class=_r*  12statit/a> *start l,ode=blkpg_pardencle==bde0ck/ioctl.c#L10" i0a 1h3ef="bloc03/ioctl.c#L14" id="L14" 03las c30ine" name="""""""""""d="po-"=bde0ck/ioctl.c#L10" i0a 9h3ef="bloc03/ioctl.c#L15" id="L15" 03las c3line" de0ck/ioctl.c#L10" i0a 9h3e6="bloc03/k/ioctl.c#L6" id="L6"9c3las c30ine" name="""selkpg_ioctl(st/BLKDISCARD  13{
(st/BLKSECDISCARDbdevp;
static u12"64 start lrang="+code=block_" rang="sre[2]bde0ck/ioctl.c#L10" i0a 9h3e9="bloc03/k/ioctl.c#L9" id="L9" c3las c30ine" de0ck/ioctl.c#L10" i0a 9h3ef="blocc3/ioctl.c#L10" id="L10"  3las1131ine" name=""""""""""  (!">>  12statit/m(stb   12statit/FMODE_WRITEarg)
  12statiEBUSADF  11
gendisk lcopy_from"us   12static rang="+code=block_" rang="sre, (void a>        longp_"us gendisk  12static rang="+code=block_" rang="sre=class="sref">arg)
  12statiEACFAULT"car*"car*="s">  12statit/a> *start lrang="+code=block_" rang="sre[0]ss="sref">start lrang="+code=block_" rang="sre[1]sux/export.h>
        longpcmd(st/BLKSECDISCARD(st/BLKZEROOUTbdevp;
static u12"64 start lrang="+code=block_" rang="sre[2]bde0ck/ioctl.c#L10" i0a 9h3ef="blo1c3/ioctl.c#L11" id="L11"123las1232ine" de0ck/ioctl.c#L10" i0a 1h3ref="bl1o3ck/ioctl.c#L2" id="L2"1 3las1232ine" name=""""""""""" (!">>  12statit/m(stb   12statit/FMODE_WRITEarg)
  12statiEBUSADFgendisk lcopy_from"us   12static rang="+code=block_" rang="sre, (void a>        longp_"us gendisk  12static rang="+code=block_" rang="sre=class="sref">arg)
  12statiEBUFAULT  12statit/a> *start lrang="+code=block_" rang="sre[0]ss="sref">start lrang="+code=block_" rang="sre[1]=bde0ck/ioctl.c#L10" i0a 1h3ef="blo123/ioctl.c#L19" id="L19"123las12329ne" name="""bde0ck/ioctl.c#L10" i0a 123ef="blo133/ioctl.c#L20" id="L20"133las1333ine" de0ck/ioctl.c#L10" i0a 9h3ef="blo133/ioctl.c#L11" id="L11"133las1333ine" name="""selkpg_ioctl(st/HDIO_GETGEO"+code=block_" HDIO_GETGEOne" nclass="sref">bdevp;
blkpg_ioctl(strhd_geometry"+code=block_" hd_geometry"sref="sref">start lgeoa href="+code=pgeocle=bde0ck/ioctl.c#L10" i0a hr33f="block3iioctl.c#L13" id="L13" c3aas1233 cl=bde0ck/ioctl.c#L10" i0a 9h3ef="blo3k3/ioctl.c#L14" id="L14"3c3lass333ine" name=""""""""""" (!">  12stati" arg>
  12statiEINVALf="+code=block_EINVAL" cle=bde0ck/ioctl.c#L10" i0a 123ef="blo123/ioctl.c#L16" id="L16"3c3lass333ine" name=""""""""""  (!">  12statit/uct "+code=block_EIdisk" clt">kpg_ioctl(st/fop*kpg_ioctl(st/getgeoa href="+code=pgetgeocle==ux/export.h>
  12statiENOMET *
	>

	>

	
	>
statit/memsemp;>blkpg_ioctl_art/geoa href="+code=pgeocle=, 0, sizeof>  12static geoa href="+code=pgeocle=)=bde0ck/ioctl.c#L10" i0a 1h3ref="bloo3ck/ioctl.c#L4" id="L4" c3lass43line" name="""""""""""  12static geoa href="+code=pgeocle=.a>        longpzng (st/ger"tart"_ctora href="+code=pger"tart"_ctor="s">  12statit/a> *static re  12static uct "+code=block_EIdisk" clt">kpg_ioctl(st/fop*kpg_ioctl(st/getgeoa href="+code=pgetgeocle=>  12statit/a> *blkpg_ioctl_art/geoa href="+code=pgeocle==bde0ck/ioctl.c#L10" i0a 1h3ef="blo123/ioctl.c#L16" id="L16"4c3lass43line" name=""""""""""" (!"sref">gendisk lre(sISregendisk lcopy_to"us >f">blkpg_ioctl(strhd_geometry"+code=block_" hd_geometry"sref="sref">start l_"us gendiskblkpg_ioctl_art/geoa href="+code=pgeocle=,de0ck/ioctl.c#L10" i0a 1h3ef="blo3k3/ioctl.c#L19" id="L19"4c3lass434ine" name="""""""""" name="="""""""""""""""""sizeof>  12static geoa href="+code=pgeocle=)=bde0ck/ioctl.c#L10" i0a 103ef="blo5k3/ioctl.c#L20" id="L20"5c3lass535ine" name="""""""""" name=""fd="po-">  12statiEACFAULT(st/BLKRAGET  13{
(st/BLKFRAGET  13{
  12stati" arg>
  12statiEBUVALf="+code=block_EINVAL" cle=bde0ck/ioctl.c#L10" i0a 123e7="bloc03/ioctl.c#L17" id="L17"5c3lass535ine" name=""""""""""   12static a>i  12statit/a> *gendisk la>i>
sref">gendiskgendisk la>ikpg_ioctl(st/ra_page*(sISPAGE_CACHE_SIZE(st/BLKROGET  13{
(sISi_r"12"a href="+code=pi_r"12"="s">sref">gendiskstatit/a> *_read_only  12statit/a> *(st/BLKBSZGET
	>
(sISi_r"12"a href="+code=pi_r"12"="s">sref">gendiskstatit/aice" zeofa href="+code=eaice" zeof="s">  12statit/a> *(st/BLKSSZGET
	>
sref">gendiskstatit/a> *_logical_aice" zeofa href="+code=ea> *_logical_aice" zeof="s">  12statit/a> *(st/BLKPBSZGET
	>
sref">gendiskstatit/a> *_physical_aice" zeofa href="+code=ea> *_physical_aice" zeof="s">  12statit/a> *(st/BLKIONf="+code=block_CABLKIONf=ne" name="L13">  13{
sref">gendiskstatit/a> *_io_mi,ode=blkpg_pardea> *_io_mi,="s">  12statit/a> *(st/BLKIOOPT  13{
(sISi_r"u12"a href="+code=pi_r"u12"="s">sref">gendiskstatit/a> *_io_op*  12statit/a> *(st/BLKALIGNOFF  13{
(sISi_r"12"a href="+code=pi_r"12"="s">sref">gendiskstatit/a> *_align/div_offse  12statit/a> *(st/BLKDISCARDZEROf="+code=block_EABLKDISCARDZEROf=ne" name="L13">  13{
sref">gendiskstatit/a> *_a>"car*/zeroes_dataa href="+code=ea> *_a>"car*/zeroes_data="s">  12statit/a> *(st/BLKSECTGET  13{
sref">gendiskstatit/queue_max_ctoror*  12statit/a> *_ger"queuea href="+code=ea> *_ger"queue="s">  12statit/a> *(st/BLKROTATIONf="+code=block_EIBLKROTATIONf=ne" name="L13">  13{
sref">gendisk  12stati" ulk_queue_nonro*  12statit/a> *_ger"queuea href="+code=ea> *_ger"queue="s">  12statit/a> *(st/BLKRASET  13{
(st/BLKFRASET  13{
  12stati" clalef="+code=block_" claless="s">  12statiCAP_SYS_ADMINf="+code=block_CAP_SYS_ADMINarg"  class="sref">arg)
static a>i  12statit/a> *gendisk la>i>
gendisk la>ikpg_ioctl(st/ra_page*gendisk larg(sISPAGE_CACHE_SIZE(st/BLKBSZSET  13{

	>
  12stati" clalef="+code=block_" claless="s">  12statiCAP_SYS_ADMINf="+code=block_CAP_SYS_ADMINarg"  class="sref">arg)
  12stati" arg>
  12statiEINVALf="+code=block_EINVAL" cle=bde0ck/ioctl.c#L10" i0a 123ref="bl9o3ck/ioctl.c#L6" id="L6"9c3lass93line" name=""""""""""  (!"sref">gendisk lger"us   12statiCA,ode=blkpg_pardencle=, (12">  12static _"us gendisk>
  12statiEINFAULT>  12statit/m(stb   12statit/FMODE_EXC="+code=block_EIFMODE_EXC=" cl==class="sref">bdevp;
gendisk la>grab  12statit/a> *gendisk lantevp_ge  12statit/a> *start lm(ststatit/FMODE_EXC="+code=block_EIFMODE_EXC=" cl, mp;>blkpg_ioctl_art/a> *>
  12statiEINBUS*        longpre  12static zer"l.c#Lzeofa href="+code=ezer"l.c#Lzeof="s">  12statit/a> *start l,ode=blkpg_pardencle==bde0ck/ioctl.c#L10" i0a 1h4ef="bloc04/ioctl.c#L14" id="L14" 04las c40ine" name=""""""""""" (!">>  12statit/m(stb   12statit/FMODE_EXC="+code=block_EIFMODE_EXC=" cl==de0ck/ioctl.c#L10" i0a 1h4e5="bloc04/k/ioctl.c#L5" id="L5"9c4las c40ine" name="""""""""""""""""""sref">gendisk lantevp_p *  12statit/a> *start lm(ststatit/FMODE_EXC="+code=block_EIFMODE_EXC=" cl=bde0ck/ioctl.c#L10" i0a 1h4e6="bloc04/k/ioctl.c#L6" id="L6"9c4las c40ine" name="""""""""" d="pokpg_ioctl(sISre(st/BLKPG  13{
static re  12static  ntpgni" i0a href="+code=p ntpgni" i0="s">  12statit/a> *f">blkpg_ioctl(structpgni" i0_argstatic _"us gendisk(st/BLKRRPART  13{
static re  12static  ntdev_reread_pg   12statit/a> *(st/BLKGETSIZE  13{
static zeofa href="+code=ezeofcle==l>  12static i zeof_reada href="+code=ei zeof_read="s">  12statit/a> *kpg_ioctl(st/_  12statit/zeofa href="+code=ezeofcle==">kp">kp 9)=">kp ~0UL=de0ck/ioctl.c#L10" i0a 1h4ef="blocc4/ioctl.c#L16" id="L16"  4las1141ine" name="""""""""" """"""" d="pokp>  12statiEINFBIGsref">gendiskstatit/zeofa href="+code=ezeofcle==">kp">kp 9)bde0ck/ioctl.c#L10" i0a 1h4ef="bloc04/ioctl.c#L18" id="L18"  4las1141ine" name="""selkpg_ioctl(st/BLKGETSIZEck/ioctl.c#+codt/BLKGETSIZE6ine" name="L13">  13{
(sISi_r"uck/ioctl.c#+codt/i_r"uck="s">sref">gendiskstatit/i zeof_reada href="+code=ei zeof_read="s">  12statit/a> *kpg_ioctl(st/_(st/BLKTRACESTART  13{
(st/BLKTRACESTOP  13{
(st/BLKTRACESETUP  13{
(st/BLKTRACETEARDOW="+code=block_CABLKTRACETEARDOW=ne" name="L13">  13{
static re  12static  nt_traceni" i0a href="+code=p nt_traceni" i0="s">  12statit/a> *start lcmdstatic _"us gendisk  13{
static re  12static _" ntevp_driv_ini" i0a href="+code=p_" ntevp_driv_ini" i0="s">  12statit/a> *start lm(st        longpcmdgendiskarg)
bdevp;



d=coorig/div LXRo getwe"copo-ed 1c#L10" i0http://sourcmmLXRo""""unitylx1@="bux.no
lx1.="bux.no kindly hostedopo-c#L10" i0http://www.redpill-="bpro.no">Redpill L"bpro AS