taglinefilesource code
CURRENT1713drivers/block/floppy.cprintk("CURRENT=%p\n", CURRENT);
CURRENT2084drivers/block/floppy.cif (!CURRENT){
CURRENT2092drivers/block/floppy.cblock = current_count_sectors + CURRENT->sector;
CURRENT2098drivers/block/floppy.cwhile (current_count_sectors && CURRENT &&
CURRENT2099drivers/block/floppy.ccurrent_count_sectors >= CURRENT->current_nr_sectors){
CURRENT2100drivers/block/floppy.ccurrent_count_sectors -= CURRENT->current_nr_sectors;
CURRENT2101drivers/block/floppy.cCURRENT->nr_sectors -= CURRENT->current_nr_sectors;
CURRENT2102drivers/block/floppy.cCURRENT->sector += CURRENT->current_nr_sectors;
CURRENT2105drivers/block/floppy.cif (current_count_sectors && CURRENT){
CURRENT2107drivers/block/floppy.cCURRENT->buffer += current_count_sectors <<9;
CURRENT2108drivers/block/floppy.cCURRENT->current_nr_sectors -= current_count_sectors;
CURRENT2109drivers/block/floppy.cCURRENT->nr_sectors -= current_count_sectors;
CURRENT2110drivers/block/floppy.cCURRENT->sector += current_count_sectors;
CURRENT2114drivers/block/floppy.cif (current_count_sectors && !CURRENT)
CURRENT2118drivers/block/floppy.cif (CURRENT->cmd == WRITE) {
CURRENT2122drivers/block/floppy.cDRWE->first_error_sector = CURRENT->sector;
CURRENT2125drivers/block/floppy.cDRWE->last_error_sector = CURRENT->sector;
CURRENT2193drivers/block/floppy.craw_cmd->kernel_data == CURRENT->buffer){
CURRENT2211drivers/block/floppy.cbase = CURRENT->buffer;
CURRENT2212drivers/block/floppy.csize = CURRENT->current_nr_sectors << 9;
CURRENT2213drivers/block/floppy.cbh = CURRENT->bh;
CURRENT2251drivers/block/floppy.cCURRENT->nr_sectors);
CURRENT2254drivers/block/floppy.cbuffer_max > sector_t + CURRENT->nr_sectors)
CURRENT2256drivers/block/floppy.cCURRENT->nr_sectors);
CURRENT2260drivers/block/floppy.cif ((remaining >> 9) > CURRENT->nr_sectors  &&
CURRENT2265drivers/block/floppy.cprintk("CURRENT->nr_sectors=%ld\n",CURRENT->nr_sectors);
CURRENT2267drivers/block/floppy.cCURRENT->current_nr_sectors);
CURRENT2277drivers/block/floppy.cbh = CURRENT->bh;
CURRENT2278drivers/block/floppy.csize = CURRENT->current_nr_sectors << 9;
CURRENT2279drivers/block/floppy.cbuffer = CURRENT->buffer;
CURRENT2348drivers/block/floppy.cset_fdc(DRIVE(CURRENT->rq_dev));
CURRENT2354drivers/block/floppy.cif (CURRENT->cmd == READ){
CURRENT2357drivers/block/floppy.c} else if (CURRENT->cmd == WRITE){
CURRENT2367drivers/block/floppy.cTRACK = CURRENT->sector / max_sector;
CURRENT2368drivers/block/floppy.csector_t = CURRENT->sector % max_sector;
CURRENT2382drivers/block/floppy.cCURRENT->nr_sectors);
CURRENT2422drivers/block/floppy.cmax_size = CURRENT->nr_sectors;
CURRENT2431drivers/block/floppy.c} else if (aligned_sector_t != sector_t || CURRENT->nr_sectors < ssize){
CURRENT2433drivers/block/floppy.cif (sector_t + CURRENT->nr_sectors > ssize &&
CURRENT2434drivers/block/floppy.csector_t + CURRENT->nr_sectors < ssize + ssize)
CURRENT2442drivers/block/floppy.c} else if ((unsigned long)CURRENT->buffer < MAX_DMA_ADDRESS) {
CURRENT2454drivers/block/floppy.cdma_limit = (MAX_DMA_ADDRESS - ((unsigned long) CURRENT->buffer)) >> 9;
CURRENT2459drivers/block/floppy.cif (CROSS_64KB(CURRENT->buffer, max_size << 9))
CURRENT2460drivers/block/floppy.cmax_size = (K_64 - ((long) CURRENT->buffer) % K_64)>>9;
CURRENT2474drivers/block/floppy.cmax_size = CURRENT->nr_sectors;
CURRENT2476drivers/block/floppy.craw_cmd->kernel_data = CURRENT->buffer;
CURRENT2497drivers/block/floppy.c(aligned_sector_t == sector_t && CURRENT->nr_sectors >= ssize))&&
CURRENT2530drivers/block/floppy.c(raw_cmd->kernel_data != CURRENT->buffer &&
CURRENT2538drivers/block/floppy.cif (raw_cmd->kernel_data != CURRENT->buffer)
CURRENT2555drivers/block/floppy.cif (raw_cmd->kernel_data != CURRENT->buffer){
CURRENT2573drivers/block/floppy.c} else if (raw_cmd->length > CURRENT->nr_sectors << 9 ||
CURRENT2574drivers/block/floppy.ccurrent_count_sectors > CURRENT->nr_sectors){
CURRENT2600drivers/block/floppy.cif (CURRENT && CURRENT->rq_status == RQ_INACTIVE){
CURRENT2606drivers/block/floppy.cif (!CURRENT) {
CURRENT2611drivers/block/floppy.cif (MAJOR(CURRENT->rq_dev) != MAJOR_NR)
CURRENT2613drivers/block/floppy.cif (CURRENT->bh && !buffer_locked(CURRENT->bh))
CURRENT2616drivers/block/floppy.cdevice = CURRENT->rq_dev;
CURRENT2642drivers/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);
CURRENT155drivers/block/loop.cif (MINOR(CURRENT->rq_dev) >= MAX_LOOP)
CURRENT157drivers/block/loop.clo = &loop_dev[MINOR(CURRENT->rq_dev)];
CURRENT168drivers/block/loop.cdest_addr = CURRENT->buffer;
CURRENT171drivers/block/loop.cblock = CURRENT->sector * (512/blksize);
CURRENT174drivers/block/loop.cblock = CURRENT->sector / (blksize >> 9);
CURRENT175drivers/block/loop.coffset = CURRENT->sector % (blksize >> 9);
CURRENT183drivers/block/loop.clen = CURRENT->current_nr_sectors << 9;
CURRENT184drivers/block/loop.cif ((CURRENT->cmd != WRITE) && (CURRENT->cmd != READ)) {
CURRENT185drivers/block/loop.cprintk("unknown loop device command (%d)?!?", CURRENT->cmd);
CURRENT204drivers/block/loop.cif (!buffer_uptodate(bh) && ((CURRENT->cmd == READ) ||
CURRENT217drivers/block/loop.cif ((lo->transfer)(lo, CURRENT->cmd, bh->b_data + offset,
CURRENT223drivers/block/loop.cif (CURRENT->cmd == WRITE)
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;
CURRENT133drivers/cdrom/mcd.c(CURRENT && MAJOR(CURRENT -> rq_dev) == MAJOR_NR && CURRENT -> cmd == READ \
CURRENT134drivers/cdrom/mcd.c&& CURRENT -> sector != -1)
CURRENT596drivers/cdrom/mcd.cwhile (CURRENT -> nr_sectors) {
CURRENT597drivers/cdrom/mcd.cint bn = CURRENT -> sector / 4;
CURRENT602drivers/cdrom/mcd.cint offs = (i * 4 + (CURRENT -> sector & 3)) * 512;
CURRENT603drivers/cdrom/mcd.cint nr_sectors = 4 - (CURRENT -> sector & 3);
CURRENT611drivers/cdrom/mcd.cif (nr_sectors > CURRENT -> nr_sectors)
CURRENT612drivers/cdrom/mcd.cnr_sectors = CURRENT -> nr_sectors;
CURRENT613drivers/cdrom/mcd.cmemcpy(CURRENT -> buffer, mcd_buf + offs, nr_sectors * 512);
CURRENT614drivers/cdrom/mcd.cCURRENT -> nr_sectors -= nr_sectors;
CURRENT615drivers/cdrom/mcd.cCURRENT -> sector += nr_sectors;
CURRENT616drivers/cdrom/mcd.cCURRENT -> buffer += nr_sectors * 512;
CURRENT656drivers/cdrom/mcd.cprintk(" do_mcd_request(%ld+%ld)\n", CURRENT -> sector, CURRENT -> nr_sectors);
CURRENT660drivers/cdrom/mcd.cif (CURRENT->bh) {
CURRENT661drivers/cdrom/mcd.cif (!buffer_locked(CURRENT->bh))
CURRENT665drivers/cdrom/mcd.cif (CURRENT -> nr_sectors == 0) {
CURRENT862drivers/cdrom/mcd.cmcd_next_bn = CURRENT -> sector / 4;
CURRENT928drivers/cdrom/mcd.cif (CURRENT -> nr_sectors == 0)
CURRENT936drivers/cdrom/mcd.c&& (CURRENT -> sector / 4 < mcd_next_bn || 
CURRENT937drivers/cdrom/mcd.cCURRENT -> sector / 4 > mcd_next_bn + 16)) {
CURRENT545drivers/cdrom/mcdx.cif ((CURRENT == NULL) || (CURRENT->rq_status == RQ_INACTIVE))  {
CURRENT550drivers/cdrom/mcdx.cstuffp = mcdx_stuffp[MINOR(CURRENT->rq_dev)];
CURRENT554drivers/cdrom/mcdx.cdev = MINOR(CURRENT->rq_dev);
CURRENT558drivers/cdrom/mcdx.ckdevname(CURRENT->rq_dev)));
CURRENT569drivers/cdrom/mcdx.cswitch (CURRENT->cmd) {
CURRENT577drivers/cdrom/mcdx.cwhile (CURRENT->nr_sectors) {
CURRENT582drivers/cdrom/mcdx.cCURRENT->buffer,
CURRENT583drivers/cdrom/mcdx.cCURRENT->sector,
CURRENT584drivers/cdrom/mcdx.cCURRENT->nr_sectors))) {
CURRENT587drivers/cdrom/mcdx.cCURRENT->sector += CURRENT->nr_sectors;
CURRENT588drivers/cdrom/mcdx.cCURRENT->nr_sectors = 0;
CURRENT594drivers/cdrom/mcdx.cCURRENT->sector += i;
CURRENT595drivers/cdrom/mcdx.cCURRENT->nr_sectors -= i;
CURRENT596drivers/cdrom/mcdx.cCURRENT->buffer += (i * 512);
CURRENT967drivers/cdrom/optcd.c(CURRENT && MAJOR(CURRENT -> rq_dev) == MAJOR_NR \
CURRENT968drivers/cdrom/optcd.c&& CURRENT -> cmd == READ && CURRENT -> sector != -1)
CURRENT1000drivers/cdrom/optcd.cwhile (CURRENT -> nr_sectors) {
CURRENT1001drivers/cdrom/optcd.cint bn = CURRENT -> sector / 4;
CURRENT1012drivers/cdrom/optcd.coffs = (i * 4 + (CURRENT -> sector & 3)) * 512;
CURRENT1013drivers/cdrom/optcd.cnr_sectors = 4 - (CURRENT -> sector & 3);
CURRENT1023drivers/cdrom/optcd.cif (nr_sectors > CURRENT -> nr_sectors)
CURRENT1024drivers/cdrom/optcd.cnr_sectors = CURRENT -> nr_sectors;
CURRENT1025drivers/cdrom/optcd.cmemcpy(CURRENT -> buffer, buf + offs, nr_sectors * 512);
CURRENT1026drivers/cdrom/optcd.cCURRENT -> nr_sectors -= nr_sectors;
CURRENT1027drivers/cdrom/optcd.cCURRENT -> sector += nr_sectors;
CURRENT1028drivers/cdrom/optcd.cCURRENT -> buffer += nr_sectors * 512;
CURRENT1157drivers/cdrom/optcd.cnext_bn = CURRENT -> sector / 4;
CURRENT1229drivers/cdrom/optcd.cCURRENT->nr_sectors,
CURRENT1265drivers/cdrom/optcd.cif (CURRENT -> nr_sectors == 0)
CURRENT1273drivers/cdrom/optcd.c&& (CURRENT -> sector / 4 < next_bn ||
CURRENT1274drivers/cdrom/optcd.cCURRENT -> sector / 4 >
CURRENT1349drivers/cdrom/optcd.cCURRENT -> sector, CURRENT -> nr_sectors));
CURRENT1359drivers/cdrom/optcd.cif (CURRENT->bh) {
CURRENT1360drivers/cdrom/optcd.cif (!buffer_locked(CURRENT->bh))
CURRENT1364drivers/cdrom/optcd.cif (CURRENT -> nr_sectors == 0) {
CURRENT4395drivers/cdrom/sbpcd.cwhile ( (CURRENT->nr_sectors > 0) &&
CURRENT4396drivers/cdrom/sbpcd.c(CURRENT->sector/4 >= D_S[d].sbp_first_frame) &&
CURRENT4397drivers/cdrom/sbpcd.c(CURRENT->sector/4 <= D_S[d].sbp_last_frame) )
CURRENT4399drivers/cdrom/sbpcd.coffs = (CURRENT->sector - D_S[d].sbp_first_frame * 4) * 512;
CURRENT4400drivers/cdrom/sbpcd.cmemcpy(CURRENT->buffer, D_S[d].sbp_buf + offs, 512);
CURRENT4401drivers/cdrom/sbpcd.cCURRENT->nr_sectors--;
CURRENT4402drivers/cdrom/sbpcd.cCURRENT->sector++;
CURRENT4403drivers/cdrom/sbpcd.cCURRENT->buffer += 512;
CURRENT4420drivers/cdrom/sbpcd.cif ((CURRENT == NULL) || CURRENT->rq_status == RQ_INACTIVE)
CURRENT4422drivers/cdrom/sbpcd.cif (CURRENT -> sector == -1)
CURRENT4424drivers/cdrom/sbpcd.cif (CURRENT->cmd != READ)
CURRENT4426drivers/cdrom/sbpcd.cmsg(DBG_INF, "bad cmd %d\n", CURRENT->cmd);
CURRENT4429drivers/cdrom/sbpcd.ci = MINOR(CURRENT->rq_dev);
CURRENT4433drivers/cdrom/sbpcd.ckdevname(CURRENT->rq_dev));
CURRENT4442drivers/cdrom/sbpcd.cblock = CURRENT->sector; /* always numbered as 512-byte-pieces */
CURRENT4443drivers/cdrom/sbpcd.cnsect = CURRENT->nr_sectors; /* always counted as 512-byte-pieces */
CURRENT4452drivers/cdrom/sbpcd.cif (CURRENT->nr_sectors == 0)
CURRENT4510drivers/cdrom/sbpcd.cblock=CURRENT->sector/4;
CURRENT4871drivers/cdrom/sbpcd.cD_S[d].sbp_first_frame = CURRENT -> sector / 4;
CURRENT920drivers/cdrom/sjcd.c( CURRENT != NULL && MAJOR( CURRENT->rq_dev ) == MAJOR_NR && \
CURRENT921drivers/cdrom/sjcd.cCURRENT->cmd == READ && CURRENT->sector != -1 )
CURRENT928drivers/cdrom/sjcd.cwhile( CURRENT->nr_sectors ){
CURRENT929drivers/cdrom/sjcd.cint i, bn = CURRENT->sector / 4;
CURRENT932drivers/cdrom/sjcd.cint offs = ( i * 4 + ( CURRENT->sector & 3 ) ) * 512;
CURRENT933drivers/cdrom/sjcd.cint nr_sectors = 4 - ( CURRENT->sector & 3 );
CURRENT941drivers/cdrom/sjcd.cif( nr_sectors > CURRENT->nr_sectors )
CURRENT942drivers/cdrom/sjcd.cnr_sectors = CURRENT->nr_sectors;
CURRENT946drivers/cdrom/sjcd.cmemcpy( CURRENT->buffer, sjcd_buf + offs, nr_sectors * 512 );
CURRENT947drivers/cdrom/sjcd.cCURRENT->nr_sectors -= nr_sectors;
CURRENT948drivers/cdrom/sjcd.cCURRENT->sector += nr_sectors;
CURRENT949drivers/cdrom/sjcd.cCURRENT->buffer += nr_sectors * 512;
CURRENT1065drivers/cdrom/sjcd.csjcd_next_bn = CURRENT->sector / 4;
CURRENT1176drivers/cdrom/sjcd.cif( CURRENT->nr_sectors == 0 ) end_request( 1 );
CURRENT1181drivers/cdrom/sjcd.c( CURRENT->sector / 4 < sjcd_next_bn ||
CURRENT1182drivers/cdrom/sjcd.cCURRENT->sector / 4 > sjcd_next_bn + SJCD_BUF_SIZ ) ){
CURRENT1270drivers/cdrom/sjcd.cCURRENT->sector, CURRENT->nr_sectors );
CURRENT1277drivers/cdrom/sjcd.cif( CURRENT->bh && !buffer_locked(CURRENT->bh) )
CURRENT1281drivers/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)
CURRENT308include/linux/blk.h#ifndef CURRENT
CURRENT312include/linux/blk.h#define CURRENT_DEV DEVICE_NR(CURRENT->rq_dev)
CURRENT349include/linux/blk.hif (!CURRENT) {\
CURRENT353include/linux/blk.hif (MAJOR(CURRENT->rq_dev) != MAJOR_NR) \
CURRENT355include/linux/blk.hif (CURRENT->bh) { \
CURRENT356include/linux/blk.hif (!buffer_locked(CURRENT->bh)) \
CURRENT378include/linux/blk.hstruct request *req = CURRENT;
CURRENT415include/linux/blk.hCURRENT = req->next;