taglinefilesource code
CURRENT1712drivers/block/floppy.cprintk("CURRENT=%p\n", CURRENT);
CURRENT2083drivers/block/floppy.cif (!CURRENT){
CURRENT2090drivers/block/floppy.cblock = current_count_sectors + CURRENT->sector;
CURRENT2096drivers/block/floppy.cwhile (current_count_sectors && CURRENT &&
CURRENT2097drivers/block/floppy.ccurrent_count_sectors >= CURRENT->current_nr_sectors){
CURRENT2098drivers/block/floppy.ccurrent_count_sectors -= CURRENT->current_nr_sectors;
CURRENT2099drivers/block/floppy.cCURRENT->nr_sectors -= CURRENT->current_nr_sectors;
CURRENT2100drivers/block/floppy.cCURRENT->sector += CURRENT->current_nr_sectors;
CURRENT2103drivers/block/floppy.cif (current_count_sectors && CURRENT){
CURRENT2105drivers/block/floppy.cCURRENT->buffer += current_count_sectors <<9;
CURRENT2106drivers/block/floppy.cCURRENT->current_nr_sectors -= current_count_sectors;
CURRENT2107drivers/block/floppy.cCURRENT->nr_sectors -= current_count_sectors;
CURRENT2108drivers/block/floppy.cCURRENT->sector += current_count_sectors;
CURRENT2112drivers/block/floppy.cif (current_count_sectors && !CURRENT)
CURRENT2116drivers/block/floppy.cif (CURRENT->cmd == WRITE) {
CURRENT2120drivers/block/floppy.cDRWE->first_error_sector = CURRENT->sector;
CURRENT2123drivers/block/floppy.cDRWE->last_error_sector = CURRENT->sector;
CURRENT2191drivers/block/floppy.craw_cmd->kernel_data == CURRENT->buffer){
CURRENT2209drivers/block/floppy.cbase = CURRENT->buffer;
CURRENT2210drivers/block/floppy.csize = CURRENT->current_nr_sectors << 9;
CURRENT2211drivers/block/floppy.cbh = CURRENT->bh;
CURRENT2249drivers/block/floppy.cCURRENT->nr_sectors);
CURRENT2252drivers/block/floppy.cbuffer_max > sector_t + CURRENT->nr_sectors)
CURRENT2254drivers/block/floppy.cCURRENT->nr_sectors);
CURRENT2258drivers/block/floppy.cif ((remaining >> 9) > CURRENT->nr_sectors  &&
CURRENT2263drivers/block/floppy.cprintk("CURRENT->nr_sectors=%ld\n",CURRENT->nr_sectors);
CURRENT2265drivers/block/floppy.cCURRENT->current_nr_sectors);
CURRENT2275drivers/block/floppy.cbh = CURRENT->bh;
CURRENT2276drivers/block/floppy.csize = CURRENT->current_nr_sectors << 9;
CURRENT2277drivers/block/floppy.cbuffer = CURRENT->buffer;
CURRENT2346drivers/block/floppy.cset_fdc(DRIVE(CURRENT->rq_dev));
CURRENT2352drivers/block/floppy.cif (CURRENT->cmd == READ){
CURRENT2355drivers/block/floppy.c} else if (CURRENT->cmd == WRITE){
CURRENT2365drivers/block/floppy.cTRACK = CURRENT->sector / max_sector;
CURRENT2366drivers/block/floppy.csector_t = CURRENT->sector % max_sector;
CURRENT2380drivers/block/floppy.cCURRENT->nr_sectors);
CURRENT2420drivers/block/floppy.cmax_size = CURRENT->nr_sectors;
CURRENT2429drivers/block/floppy.c} else if (aligned_sector_t != sector_t || CURRENT->nr_sectors < ssize){
CURRENT2431drivers/block/floppy.cif (sector_t + CURRENT->nr_sectors > ssize &&
CURRENT2432drivers/block/floppy.csector_t + CURRENT->nr_sectors < ssize + ssize)
CURRENT2440drivers/block/floppy.c} else if ((unsigned long)CURRENT->buffer < MAX_DMA_ADDRESS) {
CURRENT2452drivers/block/floppy.cdma_limit = (MAX_DMA_ADDRESS - ((unsigned long) CURRENT->buffer)) >> 9;
CURRENT2457drivers/block/floppy.cif (CROSS_64KB(CURRENT->buffer, max_size << 9))
CURRENT2458drivers/block/floppy.cmax_size = (K_64 - ((long) CURRENT->buffer) % K_64)>>9;
CURRENT2472drivers/block/floppy.cmax_size = CURRENT->nr_sectors;
CURRENT2474drivers/block/floppy.craw_cmd->kernel_data = CURRENT->buffer;
CURRENT2495drivers/block/floppy.c(aligned_sector_t == sector_t && CURRENT->nr_sectors >= ssize))&&
CURRENT2528drivers/block/floppy.c(raw_cmd->kernel_data != CURRENT->buffer &&
CURRENT2536drivers/block/floppy.cif (raw_cmd->kernel_data != CURRENT->buffer)
CURRENT2553drivers/block/floppy.cif (raw_cmd->kernel_data != CURRENT->buffer){
CURRENT2571drivers/block/floppy.c} else if (raw_cmd->length > CURRENT->nr_sectors << 9 ||
CURRENT2572drivers/block/floppy.ccurrent_count_sectors > CURRENT->nr_sectors){
CURRENT2598drivers/block/floppy.cif (CURRENT && CURRENT->rq_status == RQ_INACTIVE){
CURRENT2604drivers/block/floppy.cif (!CURRENT) {
CURRENT2609drivers/block/floppy.cif (MAJOR(CURRENT->rq_dev) != MAJOR_NR)
CURRENT2611drivers/block/floppy.cif (CURRENT->bh && !buffer_locked(CURRENT->bh))
CURRENT2614drivers/block/floppy.cdevice = CURRENT->rq_dev;
CURRENT2640drivers/block/floppy.cerrors = & (CURRENT->errors);
CURRENT134drivers/block/hd.cdevc = CURRENT ? 'a' + DEVICE_NR(CURRENT->rq_dev) : '?';
CURRENT162drivers/block/hd.cif (CURRENT)
CURRENT163drivers/block/hd.cprintk(", sector=%ld", CURRENT->sector);
CURRENT283drivers/block/hd.cunsigned int dev = DEVICE_NR(CURRENT->rq_dev);
CURRENT336drivers/block/hd.cunsigned int dev = DEVICE_NR(CURRENT->rq_dev), stat = inb_p(HD_STATUS);
CURRENT448drivers/block/hd.cif (!CURRENT)
CURRENT450drivers/block/hd.cdev = DEVICE_NR(CURRENT->rq_dev);
CURRENT451drivers/block/hd.cif (++CURRENT->errors >= MAX_ERRORS || (hd_error & BBD_ERR)) {
CURRENT454drivers/block/hd.c} else if (CURRENT->errors % RESET_FREQ == 0)
CURRENT456drivers/block/hd.celse if ((hd_error & TRK0_ERR) || CURRENT->errors % RECAL_FREQ == 0)
CURRENT474drivers/block/hd.cunsigned int dev = DEVICE_NR(CURRENT->rq_dev);
CURRENT494drivers/block/hd.cif ((nsect = CURRENT->current_nr_sectors) > msect)
CURRENT499drivers/block/hd.cinsw(HD_DATA,CURRENT->buffer,nsect<<8);
CURRENT500drivers/block/hd.cCURRENT->sector += nsect;
CURRENT501drivers/block/hd.cCURRENT->buffer += nsect<<9;
CURRENT502drivers/block/hd.cCURRENT->errors = 0;
CURRENT503drivers/block/hd.ci = (CURRENT->nr_sectors -= nsect);
CURRENT507drivers/block/hd.cdev+'a', CURRENT->sector, CURRENT->sector+nsect,
CURRENT508drivers/block/hd.cCURRENT->nr_sectors, (unsigned long) CURRENT->buffer+(nsect<<9));
CURRENT510drivers/block/hd.cif ((CURRENT->current_nr_sectors -= nsect) <= 0)
CURRENT522drivers/block/hd.cif (CURRENT)
CURRENT562drivers/block/hd.cfor (i = CURRENT->nr_sectors; i > 0;){
CURRENT563drivers/block/hd.ci -= CURRENT->current_nr_sectors;
CURRENT569drivers/block/hd.cif (CURRENT)
CURRENT593drivers/block/hd.cif ((CURRENT->nr_sectors <= 1) || (i & DRQ_STAT))
CURRENT601drivers/block/hd.cCURRENT->sector++;
CURRENT602drivers/block/hd.ci = --CURRENT->nr_sectors;
CURRENT603drivers/block/hd.c--CURRENT->current_nr_sectors;
CURRENT604drivers/block/hd.cCURRENT->buffer += 512;
CURRENT605drivers/block/hd.cif (!i || (CURRENT->bh && !SUBSECTOR(i)))
CURRENT609drivers/block/hd.coutsw(HD_DATA,CURRENT->buffer,256);
CURRENT638drivers/block/hd.cif (!CURRENT)
CURRENT643drivers/block/hd.cdev = DEVICE_NR(CURRENT->rq_dev);
CURRENT645drivers/block/hd.cif (++CURRENT->errors >= MAX_ERRORS) {
CURRENT698drivers/block/hd.cif (CURRENT && CURRENT->rq_status == RQ_INACTIVE) return;
CURRENT710drivers/block/hd.cdev = MINOR(CURRENT->rq_dev);
CURRENT711drivers/block/hd.cblock = CURRENT->sector;
CURRENT712drivers/block/hd.cnsect = CURRENT->nr_sectors;
CURRENT717drivers/block/hd.ckdevname(CURRENT->rq_dev));
CURRENT720drivers/block/hd.c(MINOR(CURRENT->rq_dev)>>6)+'a', block, nsect);
CURRENT738drivers/block/hd.cdev+'a', (CURRENT->cmd == READ)?"read":"writ",
CURRENT739drivers/block/hd.ccyl, head, sec, nsect, (unsigned long) CURRENT->buffer);
CURRENT743drivers/block/hd.cif (CURRENT->cmd == READ) {
CURRENT750drivers/block/hd.cif (CURRENT->cmd == WRITE) {
CURRENT762drivers/block/hd.cWCURRENT = *CURRENT;
CURRENT765drivers/block/hd.coutsw(HD_DATA,CURRENT->buffer,256);
CURRENT104drivers/block/rd.cminor = MINOR(CURRENT->rq_dev);
CURRENT111drivers/block/rd.coffset = CURRENT->sector << 9;
CURRENT112drivers/block/rd.clen = CURRENT->current_nr_sectors << 9;
CURRENT126drivers/block/rd.cif (CURRENT->cmd == READ) 
CURRENT127drivers/block/rd.cmemset(CURRENT->buffer, 0, len); 
CURRENT129drivers/block/rd.cset_bit(BH_Protected, &CURRENT->bh->b_state);
CURRENT216drivers/block/xd.cwhile (code = 0, CURRENT) {
CURRENT220drivers/block/xd.c&& CURRENT->sector + CURRENT->nr_sectors
CURRENT221drivers/block/xd.c<= xd[MINOR(CURRENT->rq_dev)].nr_sects) {
CURRENT222drivers/block/xd.cblock = CURRENT->sector + xd[MINOR(CURRENT->rq_dev)].start_sect;
CURRENT223drivers/block/xd.ccount = CURRENT->nr_sectors;
CURRENT225drivers/block/xd.cswitch (CURRENT->cmd) {
CURRENT229drivers/block/xd.ccode = xd_readwrite(CURRENT->cmd,CURRENT_DEV,CURRENT->buffer,block,count);
CURRENT195drivers/cdrom/aztcd.c(CURRENT && MAJOR(CURRENT -> rq_dev) == MAJOR_NR && CURRENT -> cmd == READ \
CURRENT196drivers/cdrom/aztcd.c&& CURRENT -> sector != -1)
CURRENT964drivers/cdrom/aztcd.cwhile (CURRENT -> nr_sectors) {
CURRENT965drivers/cdrom/aztcd.cint bn = CURRENT -> sector / 4;
CURRENT970drivers/cdrom/aztcd.cint offs = (i * 4 + (CURRENT -> sector & 3)) * 512;
CURRENT971drivers/cdrom/aztcd.cint nr_sectors = 4 - (CURRENT -> sector & 3);
CURRENT979drivers/cdrom/aztcd.cif (nr_sectors > CURRENT -> nr_sectors)
CURRENT980drivers/cdrom/aztcd.cnr_sectors = CURRENT -> nr_sectors;
CURRENT981drivers/cdrom/aztcd.cmemcpy(CURRENT -> buffer, azt_buf + offs, nr_sectors * 512);
CURRENT982drivers/cdrom/aztcd.cCURRENT -> nr_sectors -= nr_sectors;
CURRENT983drivers/cdrom/aztcd.cCURRENT -> sector += nr_sectors;
CURRENT984drivers/cdrom/aztcd.cCURRENT -> buffer += nr_sectors * 512;
CURRENT997drivers/cdrom/aztcd.cprintk(" do_aztcd_request(%ld+%ld) Time:%li\n", CURRENT -> sector, CURRENT -> nr_sectors,jiffies);
CURRENT1006drivers/cdrom/aztcd.cif (CURRENT->bh) {
CURRENT1007drivers/cdrom/aztcd.cif (!buffer_locked(CURRENT->bh))
CURRENT1011drivers/cdrom/aztcd.cif (CURRENT -> nr_sectors == 0) {
CURRENT1183drivers/cdrom/aztcd.cazt_next_bn = CURRENT -> sector / 4;
CURRENT1299drivers/cdrom/aztcd.c{ printk("read_count:%d CURRENT->nr_sectors:%ld azt_buf_in:%d\n", azt_read_count,CURRENT->nr_sectors,azt_buf_in);
CURRENT1328drivers/cdrom/aztcd.cif (CURRENT -> nr_sectors == 0)
CURRENT1336drivers/cdrom/aztcd.c&& (CURRENT -> sector / 4 < azt_next_bn ||
CURRENT1337drivers/cdrom/aztcd.cCURRENT -> sector / 4 > azt_next_bn + AZT_BUF_SIZ)) {
CURRENT1495drivers/cdrom/cdu31a.cif (CURRENT && CURRENT->rq_status != RQ_INACTIVE)
CURRENT1528drivers/cdrom/cdu31a.cif (!(CURRENT) || CURRENT->rq_status == RQ_INACTIVE)
CURRENT1540drivers/cdrom/cdu31a.cin.i_rdev = CURRENT->rq_dev;
CURRENT1547drivers/cdrom/cdu31a.cif (MAJOR(CURRENT->rq_dev) != MAJOR_NR)
CURRENT1551drivers/cdrom/cdu31a.cif (CURRENT->bh)
CURRENT1553drivers/cdrom/cdu31a.cif (!buffer_locked(CURRENT->bh))
CURRENT1559drivers/cdrom/cdu31a.cblock = CURRENT->sector;
CURRENT1560drivers/cdrom/cdu31a.cnblock = CURRENT->nr_sectors;
CURRENT1579drivers/cdrom/cdu31a.cswitch(CURRENT->cmd)
CURRENT1655drivers/cdrom/cdu31a.cread_data_block(CURRENT->buffer, block, nblock, res_reg, &res_size);
CURRENT642drivers/cdrom/cm206.cif (CURRENT == NULL || CURRENT->rq_status == RQ_INACTIVE)
CURRENT644drivers/cdrom/cm206.cif (CURRENT->cmd != READ) {
CURRENT645drivers/cdrom/cm206.cdebug(("Non-read command %d on cdrom\n", CURRENT->cmd));
CURRENT650drivers/cdrom/cm206.cfor (i=0; i<CURRENT->nr_sectors; i++) {
CURRENT651drivers/cdrom/cm206.ccd_sec_no = (CURRENT->sector+i)/4; /* 4 times 512 bytes */
CURRENT652drivers/cdrom/cm206.cquarter = (CURRENT->sector+i) % 4; 
CURRENT653drivers/cdrom/cm206.cdest = CURRENT->buffer + i*512;
CURRENT244drivers/cdrom/gscd.cwhile (CURRENT -> nr_sectors > 0 && gscd_bn == CURRENT -> sector / 4)
CURRENT246drivers/cdrom/gscd.coffs = (CURRENT -> sector & 3) * 512;
CURRENT247drivers/cdrom/gscd.cmemcpy(CURRENT -> buffer, gscd_buf + offs, 512);
CURRENT248drivers/cdrom/gscd.cCURRENT -> nr_sectors--;
CURRENT249drivers/cdrom/gscd.cCURRENT -> sector++;
CURRENT250drivers/cdrom/gscd.cCURRENT -> buffer += 512;
CURRENT265drivers/cdrom/gscd.cif (!(CURRENT) || CURRENT->rq_status == RQ_INACTIVE) return;
CURRENT267drivers/cdrom/gscd.cdev = MINOR(CURRENT->rq_dev);
CURRENT268drivers/cdrom/gscd.cblock = CURRENT->sector;
CURRENT269drivers/cdrom/gscd.cnsect = CURRENT->nr_sectors;
CURRENT271drivers/cdrom/gscd.cif (CURRENT == NULL || CURRENT -> sector == -1)
CURRENT274drivers/cdrom/gscd.cif (CURRENT -> cmd != READ)
CURRENT276drivers/cdrom/gscd.cprintk("GSCD: bad cmd %d\n", CURRENT -> cmd);
CURRENT281drivers/cdrom/gscd.cif (MINOR(CURRENT -> rq_dev) != 0)
CURRENT292drivers/cdrom/gscd.cif (CURRENT -> nr_sectors == 0)
CURRENT337drivers/cdrom/gscd.cblock = CURRENT -> sector / 4;
CURRENT349drivers/cdrom/gscd.cgscd_bn = CURRENT -> sector / 4;
CURRENT132drivers/cdrom/mcd.c(CURRENT && MAJOR(CURRENT -> rq_dev) == MAJOR_NR && CURRENT -> cmd == READ \
CURRENT133drivers/cdrom/mcd.c&& CURRENT -> sector != -1)
CURRENT595drivers/cdrom/mcd.cwhile (CURRENT -> nr_sectors) {
CURRENT596drivers/cdrom/mcd.cint bn = CURRENT -> sector / 4;
CURRENT601drivers/cdrom/mcd.cint offs = (i * 4 + (CURRENT -> sector & 3)) * 512;
CURRENT602drivers/cdrom/mcd.cint nr_sectors = 4 - (CURRENT -> sector & 3);
CURRENT610drivers/cdrom/mcd.cif (nr_sectors > CURRENT -> nr_sectors)
CURRENT611drivers/cdrom/mcd.cnr_sectors = CURRENT -> nr_sectors;
CURRENT612drivers/cdrom/mcd.cmemcpy(CURRENT -> buffer, mcd_buf + offs, nr_sectors * 512);
CURRENT613drivers/cdrom/mcd.cCURRENT -> nr_sectors -= nr_sectors;
CURRENT614drivers/cdrom/mcd.cCURRENT -> sector += nr_sectors;
CURRENT615drivers/cdrom/mcd.cCURRENT -> buffer += nr_sectors * 512;
CURRENT655drivers/cdrom/mcd.cprintk(" do_mcd_request(%ld+%ld)\n", CURRENT -> sector, CURRENT -> nr_sectors);
CURRENT659drivers/cdrom/mcd.cif (CURRENT->bh) {
CURRENT660drivers/cdrom/mcd.cif (!buffer_locked(CURRENT->bh))
CURRENT664drivers/cdrom/mcd.cif (CURRENT -> nr_sectors == 0) {
CURRENT861drivers/cdrom/mcd.cmcd_next_bn = CURRENT -> sector / 4;
CURRENT927drivers/cdrom/mcd.cif (CURRENT -> nr_sectors == 0)
CURRENT935drivers/cdrom/mcd.c&& (CURRENT -> sector / 4 < mcd_next_bn || 
CURRENT936drivers/cdrom/mcd.cCURRENT -> sector / 4 > mcd_next_bn + 16)) {
CURRENT543drivers/cdrom/mcdx.cif ((CURRENT == NULL) || (CURRENT->rq_status == RQ_INACTIVE))  {
CURRENT548drivers/cdrom/mcdx.cstuffp = mcdx_stuffp[MINOR(CURRENT->rq_dev)];
CURRENT552drivers/cdrom/mcdx.cdev = MINOR(CURRENT->rq_dev);
CURRENT556drivers/cdrom/mcdx.ckdevname(CURRENT->rq_dev)));
CURRENT567drivers/cdrom/mcdx.cswitch (CURRENT->cmd) {
CURRENT575drivers/cdrom/mcdx.cwhile (CURRENT->nr_sectors) {
CURRENT580drivers/cdrom/mcdx.cCURRENT->buffer,
CURRENT581drivers/cdrom/mcdx.cCURRENT->sector,
CURRENT582drivers/cdrom/mcdx.cCURRENT->nr_sectors))) {
CURRENT585drivers/cdrom/mcdx.cCURRENT->sector += CURRENT->nr_sectors;
CURRENT586drivers/cdrom/mcdx.cCURRENT->nr_sectors = 0;
CURRENT591drivers/cdrom/mcdx.cCURRENT->sector += i;
CURRENT592drivers/cdrom/mcdx.cCURRENT->nr_sectors -= i;
CURRENT593drivers/cdrom/mcdx.cCURRENT->buffer += (i * 512);
CURRENT675drivers/cdrom/optcd.cwhile (CURRENT -> nr_sectors) {
CURRENT676drivers/cdrom/optcd.cint bn = CURRENT -> sector / 4;
CURRENT686drivers/cdrom/optcd.coffs = (i * 4 + (CURRENT -> sector & 3)) * 512;
CURRENT687drivers/cdrom/optcd.cnr_sectors = 4 - (CURRENT -> sector & 3);
CURRENT695drivers/cdrom/optcd.cif (nr_sectors > CURRENT -> nr_sectors)
CURRENT696drivers/cdrom/optcd.cnr_sectors = CURRENT -> nr_sectors;
CURRENT697drivers/cdrom/optcd.cmemcpy(CURRENT -> buffer, opt_buf + offs, nr_sectors * 512);
CURRENT698drivers/cdrom/optcd.cCURRENT -> nr_sectors -= nr_sectors;
CURRENT699drivers/cdrom/optcd.cCURRENT -> sector += nr_sectors;
CURRENT700drivers/cdrom/optcd.cCURRENT -> buffer += nr_sectors * 512;
CURRENT815drivers/cdrom/optcd.copt_next_bn = CURRENT -> sector / 4;
CURRENT887drivers/cdrom/optcd.cCURRENT->nr_sectors,
CURRENT917drivers/cdrom/optcd.cif (CURRENT -> nr_sectors == 0)
CURRENT925drivers/cdrom/optcd.c&& (CURRENT -> sector / 4 < opt_next_bn ||
CURRENT926drivers/cdrom/optcd.cCURRENT -> sector / 4 >
CURRENT996drivers/cdrom/optcd.cCURRENT -> sector, CURRENT -> nr_sectors);
CURRENT1000drivers/cdrom/optcd.cif (CURRENT->bh) {
CURRENT1001drivers/cdrom/optcd.cif (!buffer_locked(CURRENT->bh))
CURRENT1005drivers/cdrom/optcd.cif (CURRENT -> nr_sectors == 0) {
CURRENT4345drivers/cdrom/sbpcd.cwhile ( (CURRENT->nr_sectors > 0) &&
CURRENT4346drivers/cdrom/sbpcd.c(CURRENT->sector/4 >= D_S[d].sbp_first_frame) &&
CURRENT4347drivers/cdrom/sbpcd.c(CURRENT->sector/4 <= D_S[d].sbp_last_frame) )
CURRENT4349drivers/cdrom/sbpcd.coffs = (CURRENT->sector - D_S[d].sbp_first_frame * 4) * 512;
CURRENT4350drivers/cdrom/sbpcd.cmemcpy(CURRENT->buffer, D_S[d].sbp_buf + offs, 512);
CURRENT4351drivers/cdrom/sbpcd.cCURRENT->nr_sectors--;
CURRENT4352drivers/cdrom/sbpcd.cCURRENT->sector++;
CURRENT4353drivers/cdrom/sbpcd.cCURRENT->buffer += 512;
CURRENT4370drivers/cdrom/sbpcd.cif ((CURRENT == NULL) || CURRENT->rq_status == RQ_INACTIVE)
CURRENT4372drivers/cdrom/sbpcd.cif (CURRENT -> sector == -1)
CURRENT4374drivers/cdrom/sbpcd.cif (CURRENT->cmd != READ)
CURRENT4376drivers/cdrom/sbpcd.cmsg(DBG_INF, "bad cmd %d\n", CURRENT->cmd);
CURRENT4379drivers/cdrom/sbpcd.ci = MINOR(CURRENT->rq_dev);
CURRENT4383drivers/cdrom/sbpcd.ckdevname(CURRENT->rq_dev));
CURRENT4392drivers/cdrom/sbpcd.cblock = CURRENT->sector; /* always numbered as 512-byte-pieces */
CURRENT4393drivers/cdrom/sbpcd.cnsect = CURRENT->nr_sectors; /* always counted as 512-byte-pieces */
CURRENT4402drivers/cdrom/sbpcd.cif (CURRENT->nr_sectors == 0)
CURRENT4460drivers/cdrom/sbpcd.cblock=CURRENT->sector/4;
CURRENT4822drivers/cdrom/sbpcd.cD_S[d].sbp_first_frame = CURRENT -> sector / 4;
CURRENT980drivers/cdrom/sjcd.c( CURRENT != NULL && MAJOR( CURRENT->rq_dev ) == MAJOR_NR && \
CURRENT981drivers/cdrom/sjcd.cCURRENT->cmd == READ && CURRENT->sector != -1 )
CURRENT988drivers/cdrom/sjcd.cwhile( CURRENT->nr_sectors ){
CURRENT989drivers/cdrom/sjcd.cint i, bn = CURRENT->sector / 4;
CURRENT992drivers/cdrom/sjcd.cint offs = ( i * 4 + ( CURRENT->sector & 3 ) ) * 512;
CURRENT993drivers/cdrom/sjcd.cint nr_sectors = 4 - ( CURRENT->sector & 3 );
CURRENT1001drivers/cdrom/sjcd.cif( nr_sectors > CURRENT->nr_sectors )
CURRENT1002drivers/cdrom/sjcd.cnr_sectors = CURRENT->nr_sectors;
CURRENT1006drivers/cdrom/sjcd.cmemcpy( CURRENT->buffer, sjcd_buf + offs, nr_sectors * 512 );
CURRENT1007drivers/cdrom/sjcd.cCURRENT->nr_sectors -= nr_sectors;
CURRENT1008drivers/cdrom/sjcd.cCURRENT->sector += nr_sectors;
CURRENT1009drivers/cdrom/sjcd.cCURRENT->buffer += nr_sectors * 512;
CURRENT1125drivers/cdrom/sjcd.csjcd_next_bn = CURRENT->sector / 4;
CURRENT1236drivers/cdrom/sjcd.cif( CURRENT->nr_sectors == 0 ) end_request( 1 );
CURRENT1241drivers/cdrom/sjcd.c( CURRENT->sector / 4 < sjcd_next_bn ||
CURRENT1242drivers/cdrom/sjcd.cCURRENT->sector / 4 > sjcd_next_bn + SJCD_BUF_SIZ ) ){
CURRENT1330drivers/cdrom/sjcd.cCURRENT->sector, CURRENT->nr_sectors );
CURRENT1337drivers/cdrom/sjcd.cif( CURRENT->bh && !buffer_locked(CURRENT->bh) )
CURRENT1341drivers/cdrom/sjcd.cif( CURRENT->nr_sectors == 0 ) end_request( 1 );
CURRENT803drivers/cdrom/sonycd535.cif (!(CURRENT) || CURRENT->rq_status == RQ_INACTIVE) {
CURRENT807drivers/cdrom/sonycd535.cdev = MINOR(CURRENT->rq_dev);
CURRENT808drivers/cdrom/sonycd535.cblock = CURRENT->sector;
CURRENT809drivers/cdrom/sonycd535.cnsect = CURRENT->nr_sectors;
CURRENT814drivers/cdrom/sonycd535.cswitch (CURRENT->cmd) {
CURRENT910drivers/cdrom/sonycd535.cmemcpy(CURRENT->buffer,
CURRENT915drivers/cdrom/sonycd535.cCURRENT->buffer += 512;
CURRENT517drivers/scsi/scsi.hif (!CURRENT) {             \
CURRENT522drivers/scsi/scsi.hif (MAJOR(CURRENT->rq_dev) != MAJOR_NR)           \
CURRENT524drivers/scsi/scsi.hif (CURRENT->bh) {                                \
CURRENT525drivers/scsi/scsi.hif (!buffer_locked(CURRENT->bh))              \
CURRENT417drivers/scsi/sd.cif (CURRENT != NULL && CURRENT->rq_status == RQ_INACTIVE) {
CURRENT423drivers/scsi/sd.cSDev = rscsi_disks[DEVICE_NR(CURRENT->rq_dev)].device;
CURRENT459drivers/scsi/sd.cSCpnt = allocate_device(&CURRENT,
CURRENT460drivers/scsi/sd.crscsi_disks[DEVICE_NR(CURRENT->rq_dev)].device, 0); 
CURRENT483drivers/scsi/sd.creq = CURRENT;
CURRENT491drivers/scsi/sd.cif (req == CURRENT) 
CURRENT492drivers/scsi/sd.cCURRENT = CURRENT->next;
CURRENT566drivers/scsi/sr.cif (CURRENT != NULL && CURRENT->rq_status == RQ_INACTIVE) {
CURRENT573drivers/scsi/sr.cSDev = scsi_CDs[DEVICE_NR(CURRENT->rq_dev)].device;
CURRENT596drivers/scsi/sr.cSCpnt = allocate_device(&CURRENT,
CURRENT597drivers/scsi/sr.cscsi_CDs[DEVICE_NR(CURRENT->rq_dev)].device, 0); 
CURRENT613drivers/scsi/sr.creq = CURRENT;
CURRENT622drivers/scsi/sr.cif (req == CURRENT) 
CURRENT623drivers/scsi/sr.cCURRENT = CURRENT->next;
CURRENT33include/linux/blk.hblksize_size[MAJOR_NR][MINOR(CURRENT->rq_dev)] ? \
CURRENT34include/linux/blk.h((blksize_size[MAJOR_NR][MINOR(CURRENT->rq_dev)] >> 9) - 1) :  \
CURRENT38include/linux/blk.h#define SUBSECTOR(block) (CURRENT->current_nr_sectors > 0)
CURRENT286include/linux/blk.h#ifndef CURRENT
CURRENT290include/linux/blk.h#define CURRENT_DEV DEVICE_NR(CURRENT->rq_dev)
CURRENT325include/linux/blk.hif (!CURRENT) {\
CURRENT329include/linux/blk.hif (MAJOR(CURRENT->rq_dev) != MAJOR_NR) \
CURRENT331include/linux/blk.hif (CURRENT->bh) { \
CURRENT332include/linux/blk.hif (!buffer_locked(CURRENT->bh)) \
CURRENT352include/linux/blk.hstruct request *req = CURRENT;
CURRENT389include/linux/blk.hCURRENT = req->next;
CURRENT173include/linux/optcd.h(CURRENT && MAJOR(CURRENT -> rq_dev) == MAJOR_NR \
CURRENT174include/linux/optcd.h&& CURRENT -> cmd == READ && CURRENT -> sector != -1)