tag | line | file | source code |
nr_sectors | 970 | drivers/block/aztcd.c | while (CURRENT -> nr_sectors) { |
nr_sectors | 977 | drivers/block/aztcd.c | int nr_sectors = 4 - (CURRENT -> sector & 3); |
nr_sectors | 985 | drivers/block/aztcd.c | if (nr_sectors > CURRENT -> nr_sectors) |
nr_sectors | 986 | drivers/block/aztcd.c | nr_sectors = CURRENT -> nr_sectors; |
nr_sectors | 987 | drivers/block/aztcd.c | memcpy(CURRENT -> buffer, azt_buf + offs, nr_sectors * 512); |
nr_sectors | 988 | drivers/block/aztcd.c | CURRENT -> nr_sectors -= nr_sectors; |
nr_sectors | 989 | drivers/block/aztcd.c | CURRENT -> sector += nr_sectors; |
nr_sectors | 990 | drivers/block/aztcd.c | CURRENT -> buffer += nr_sectors * 512; |
nr_sectors | 1003 | drivers/block/aztcd.c | printk(" do_aztcd_request(%ld+%ld) Time:%li\n", CURRENT -> sector, CURRENT -> nr_sectors,jiffies); |
nr_sectors | 1017 | drivers/block/aztcd.c | if (CURRENT -> nr_sectors == 0) { |
nr_sectors | 1288 | drivers/block/aztcd.c | { printk("read_count:%d CURRENT->nr_sectors:%ld azt_buf_in:%d\n", azt_read_count,CURRENT->nr_sectors,azt_buf_in); |
nr_sectors | 1317 | drivers/block/aztcd.c | if (CURRENT -> nr_sectors == 0) |
nr_sectors | 356 | drivers/block/blk.h | req->nr_sectors--; |
nr_sectors | 357 | drivers/block/blk.h | req->nr_sectors &= ~SECTOR_MASK; |
nr_sectors | 370 | drivers/block/blk.h | if (req->nr_sectors < req->current_nr_sectors) { |
nr_sectors | 371 | drivers/block/blk.h | req->nr_sectors = req->current_nr_sectors; |
nr_sectors | 1548 | drivers/block/cdu31a.c | nblock = CURRENT->nr_sectors; |
nr_sectors | 658 | drivers/block/cm206.c | for (i=0; i<CURRENT->nr_sectors; i++) { |
nr_sectors | 988 | drivers/block/floppy.c | raw_cmd.length > 512 * CURRENT->nr_sectors) && |
nr_sectors | 996 | drivers/block/floppy.c | CURRENT->buffer, CURRENT->nr_sectors, |
nr_sectors | 2131 | drivers/block/floppy.c | CURRENT->nr_sectors -= CURRENT->current_nr_sectors; |
nr_sectors | 2139 | drivers/block/floppy.c | CURRENT->nr_sectors -= current_count_sectors; |
nr_sectors | 2165 | drivers/block/floppy.c | int nr_sectors, ssize; |
nr_sectors | 2170 | drivers/block/floppy.c | nr_sectors = 0; |
nr_sectors | 2172 | drivers/block/floppy.c | nr_sectors = ((R_TRACK-TRACK)*floppy->head+R_HEAD-HEAD) * |
nr_sectors | 2177 | drivers/block/floppy.c | if ( nr_sectors > current_count_sectors + ssize - |
nr_sectors | 2181 | drivers/block/floppy.c | nr_sectors, current_count_sectors); |
nr_sectors | 2189 | drivers/block/floppy.c | if ( nr_sectors < 0 ) |
nr_sectors | 2190 | drivers/block/floppy.c | nr_sectors = 0; |
nr_sectors | 2191 | drivers/block/floppy.c | if ( nr_sectors < current_count_sectors ) |
nr_sectors | 2192 | drivers/block/floppy.c | current_count_sectors = nr_sectors; |
nr_sectors | 2232 | drivers/block/floppy.c | if ( nr_sectors + sector_t > buffer_max ) |
nr_sectors | 2233 | drivers/block/floppy.c | buffer_max = nr_sectors + sector_t; |
nr_sectors | 2287 | drivers/block/floppy.c | max_sector = transfer_size(ssize, max_sector, CURRENT->nr_sectors); |
nr_sectors | 2290 | drivers/block/floppy.c | buffer_max > sector_t + CURRENT->nr_sectors){ |
nr_sectors | 2292 | drivers/block/floppy.c | if ( current_count_sectors > CURRENT->nr_sectors ) |
nr_sectors | 2293 | drivers/block/floppy.c | current_count_sectors = CURRENT->nr_sectors; |
nr_sectors | 2297 | drivers/block/floppy.c | if ((remaining >> 9) > CURRENT->nr_sectors && |
nr_sectors | 2302 | drivers/block/floppy.c | printk("CURRENT->nr_sectors=%ld\n",CURRENT->nr_sectors); |
nr_sectors | 2417 | drivers/block/floppy.c | if ( current_count_sectors > CURRENT->nr_sectors ) |
nr_sectors | 2418 | drivers/block/floppy.c | current_count_sectors = CURRENT->nr_sectors; |
nr_sectors | 2458 | drivers/block/floppy.c | max_size = CURRENT->nr_sectors; |
nr_sectors | 2466 | drivers/block/floppy.c | } else if (aligned_sector_t != sector_t || CURRENT->nr_sectors < ssize){ |
nr_sectors | 2468 | drivers/block/floppy.c | if(sector_t + CURRENT->nr_sectors > ssize && |
nr_sectors | 2469 | drivers/block/floppy.c | sector_t + CURRENT->nr_sectors < ssize + ssize) |
nr_sectors | 2502 | drivers/block/floppy.c | max_size = CURRENT->nr_sectors; |
nr_sectors | 2525 | drivers/block/floppy.c | (aligned_sector_t == sector_t && CURRENT->nr_sectors >= ssize ))&& |
nr_sectors | 2599 | drivers/block/floppy.c | } else if (raw_cmd.length > CURRENT->nr_sectors << 9 || |
nr_sectors | 2600 | drivers/block/floppy.c | current_count_sectors > CURRENT->nr_sectors){ |
nr_sectors | 252 | drivers/block/gscd.c | while (CURRENT -> nr_sectors > 0 && gscd_bn == CURRENT -> sector / 4) |
nr_sectors | 256 | drivers/block/gscd.c | CURRENT -> nr_sectors--; |
nr_sectors | 277 | drivers/block/gscd.c | nsect = CURRENT->nr_sectors; |
nr_sectors | 300 | drivers/block/gscd.c | if (CURRENT -> nr_sectors == 0) |
nr_sectors | 503 | drivers/block/hd.c | i = (CURRENT->nr_sectors -= nsect); |
nr_sectors | 508 | drivers/block/hd.c | CURRENT->nr_sectors, (unsigned long) CURRENT->buffer+(nsect<<9)); |
nr_sectors | 533 | drivers/block/hd.c | if (!--WCURRENT.nr_sectors) |
nr_sectors | 555 | drivers/block/hd.c | if (WCURRENT.nr_sectors) { |
nr_sectors | 561 | drivers/block/hd.c | if (!WCURRENT.nr_sectors) { /* all done? */ |
nr_sectors | 562 | drivers/block/hd.c | for (i = CURRENT->nr_sectors; i > 0;){ |
nr_sectors | 593 | drivers/block/hd.c | if ((CURRENT->nr_sectors <= 1) || (i & DRQ_STAT)) |
nr_sectors | 602 | drivers/block/hd.c | i = --CURRENT->nr_sectors; |
nr_sectors | 712 | drivers/block/hd.c | nsect = CURRENT->nr_sectors; |
nr_sectors | 464 | drivers/block/ide-cd.c | rq->nr_sectors += n; |
nr_sectors | 528 | drivers/block/ide-cd.c | rq->nr_sectors = 0; |
nr_sectors | 975 | drivers/block/ide-cd.c | rq->nr_sectors > 0) |
nr_sectors | 998 | drivers/block/ide-cd.c | --rq->nr_sectors; |
nr_sectors | 1027 | drivers/block/ide-cd.c | while (rq->nr_sectors > 0 && |
nr_sectors | 1040 | drivers/block/ide-cd.c | --rq->nr_sectors; |
nr_sectors | 1045 | drivers/block/ide-cd.c | if (rq->nr_sectors == 0) |
nr_sectors | 1087 | drivers/block/ide-cd.c | nsect = rq->nr_sectors; |
nr_sectors | 1391 | drivers/block/ide-cd.c | req.nr_sectors = 0; |
nr_sectors | 940 | drivers/block/ide.c | (unsigned long) rq->buffer+(nsect<<9), rq->nr_sectors-nsect); |
nr_sectors | 945 | drivers/block/ide.c | i = (rq->nr_sectors -= nsect); |
nr_sectors | 970 | drivers/block/ide.c | rq->nr_sectors-1); |
nr_sectors | 972 | drivers/block/ide.c | if ((rq->nr_sectors == 1) ^ ((stat & DRQ_STAT) != 0)) { |
nr_sectors | 976 | drivers/block/ide.c | i = --rq->nr_sectors; |
nr_sectors | 1013 | drivers/block/ide.c | nsect, rq->nr_sectors - nsect); |
nr_sectors | 1015 | drivers/block/ide.c | if ((rq->nr_sectors -= nsect) <= 0) |
nr_sectors | 1042 | drivers/block/ide.c | if (rq->nr_sectors) { |
nr_sectors | 1048 | drivers/block/ide.c | if (!rq->nr_sectors) { /* all done? */ |
nr_sectors | 1050 | drivers/block/ide.c | for (i = rq->nr_sectors; i > 0;){ |
nr_sectors | 1225 | drivers/block/ide.c | OUT_BYTE(rq->nr_sectors,io_base+IDE_NSECTOR_OFFSET); |
nr_sectors | 1230 | drivers/block/ide.c | block, rq->nr_sectors, (unsigned long) rq->buffer); |
nr_sectors | 1249 | drivers/block/ide.c | head, sect, rq->nr_sectors, (unsigned long) rq->buffer); |
nr_sectors | 1335 | drivers/block/ide.c | blockend = block + rq->nr_sectors; |
nr_sectors | 1338 | drivers/block/ide.c | (minor&PARTN_MASK)?'0'+(minor&PARTN_MASK):' ', block, rq->nr_sectors); |
nr_sectors | 1621 | drivers/block/ide.c | rq.nr_sectors = 0; |
nr_sectors | 353 | drivers/block/ll_rw_blk.c | req->sector + req->nr_sectors == sector && |
nr_sectors | 354 | drivers/block/ll_rw_blk.c | req->nr_sectors < 244) |
nr_sectors | 358 | drivers/block/ll_rw_blk.c | req->nr_sectors += count; |
nr_sectors | 368 | drivers/block/ll_rw_blk.c | req->nr_sectors < 244) |
nr_sectors | 370 | drivers/block/ll_rw_blk.c | req->nr_sectors += count; |
nr_sectors | 402 | drivers/block/ll_rw_blk.c | req->nr_sectors = count; |
nr_sectors | 434 | drivers/block/ll_rw_blk.c | req->nr_sectors = PAGE_SIZE / 512; |
nr_sectors | 564 | drivers/block/ll_rw_blk.c | req[j]->nr_sectors = buffersize >> 9; |
nr_sectors | 604 | drivers/block/mcd.c | while (CURRENT -> nr_sectors) { |
nr_sectors | 611 | drivers/block/mcd.c | int nr_sectors = 4 - (CURRENT -> sector & 3); |
nr_sectors | 619 | drivers/block/mcd.c | if (nr_sectors > CURRENT -> nr_sectors) |
nr_sectors | 620 | drivers/block/mcd.c | nr_sectors = CURRENT -> nr_sectors; |
nr_sectors | 621 | drivers/block/mcd.c | memcpy(CURRENT -> buffer, mcd_buf + offs, nr_sectors * 512); |
nr_sectors | 622 | drivers/block/mcd.c | CURRENT -> nr_sectors -= nr_sectors; |
nr_sectors | 623 | drivers/block/mcd.c | CURRENT -> sector += nr_sectors; |
nr_sectors | 624 | drivers/block/mcd.c | CURRENT -> buffer += nr_sectors * 512; |
nr_sectors | 664 | drivers/block/mcd.c | printk(" do_mcd_request(%ld+%ld)\n", CURRENT -> sector, CURRENT -> nr_sectors); |
nr_sectors | 673 | drivers/block/mcd.c | if (CURRENT -> nr_sectors == 0) { |
nr_sectors | 936 | drivers/block/mcd.c | if (CURRENT -> nr_sectors == 0) |
nr_sectors | 226 | drivers/block/mcdx.c | static int mcdx_transfer(struct s_drive_stuff*, char* buf, int sector, int nr_sectors); |
nr_sectors | 580 | drivers/block/mcdx.c | while (CURRENT->nr_sectors) { |
nr_sectors | 587 | drivers/block/mcdx.c | CURRENT->nr_sectors))) { |
nr_sectors | 590 | drivers/block/mcdx.c | CURRENT->sector += CURRENT->nr_sectors; |
nr_sectors | 591 | drivers/block/mcdx.c | CURRENT->nr_sectors = 0; |
nr_sectors | 597 | drivers/block/mcdx.c | CURRENT->nr_sectors -= i; |
nr_sectors | 1194 | drivers/block/mcdx.c | char *p, int sector, int nr_sectors) |
nr_sectors | 1203 | drivers/block/mcdx.c | nr_sectors, sector)); |
nr_sectors | 1221 | drivers/block/mcdx.c | off = stuffp->off_requested < (off = sector + nr_sectors) |
nr_sectors | 685 | drivers/block/optcd.c | while (CURRENT -> nr_sectors) { |
nr_sectors | 687 | drivers/block/optcd.c | int i, offs, nr_sectors; |
nr_sectors | 697 | drivers/block/optcd.c | nr_sectors = 4 - (CURRENT -> sector & 3); |
nr_sectors | 705 | drivers/block/optcd.c | if (nr_sectors > CURRENT -> nr_sectors) |
nr_sectors | 706 | drivers/block/optcd.c | nr_sectors = CURRENT -> nr_sectors; |
nr_sectors | 707 | drivers/block/optcd.c | memcpy(CURRENT -> buffer, opt_buf + offs, nr_sectors * 512); |
nr_sectors | 708 | drivers/block/optcd.c | CURRENT -> nr_sectors -= nr_sectors; |
nr_sectors | 709 | drivers/block/optcd.c | CURRENT -> sector += nr_sectors; |
nr_sectors | 710 | drivers/block/optcd.c | CURRENT -> buffer += nr_sectors * 512; |
nr_sectors | 897 | drivers/block/optcd.c | CURRENT->nr_sectors, |
nr_sectors | 927 | drivers/block/optcd.c | if (CURRENT -> nr_sectors == 0) |
nr_sectors | 1006 | drivers/block/optcd.c | CURRENT -> sector, CURRENT -> nr_sectors); |
nr_sectors | 1015 | drivers/block/optcd.c | if (CURRENT -> nr_sectors == 0) { |
nr_sectors | 4361 | drivers/block/sbpcd.c | while ( (CURRENT->nr_sectors > 0) && |
nr_sectors | 4367 | drivers/block/sbpcd.c | CURRENT->nr_sectors--; |
nr_sectors | 4406 | drivers/block/sbpcd.c | nsect = CURRENT->nr_sectors; /* always counted as 512-byte-pieces */ |
nr_sectors | 4415 | drivers/block/sbpcd.c | if (CURRENT->nr_sectors == 0) |
nr_sectors | 919 | drivers/block/sjcd.c | while( CURRENT->nr_sectors ){ |
nr_sectors | 924 | drivers/block/sjcd.c | int nr_sectors = 4 - ( CURRENT->sector & 3 ); |
nr_sectors | 932 | drivers/block/sjcd.c | if( nr_sectors > CURRENT->nr_sectors ) |
nr_sectors | 933 | drivers/block/sjcd.c | nr_sectors = CURRENT->nr_sectors; |
nr_sectors | 937 | drivers/block/sjcd.c | memcpy( CURRENT->buffer, sjcd_buf + offs, nr_sectors * 512 ); |
nr_sectors | 938 | drivers/block/sjcd.c | CURRENT->nr_sectors -= nr_sectors; |
nr_sectors | 939 | drivers/block/sjcd.c | CURRENT->sector += nr_sectors; |
nr_sectors | 940 | drivers/block/sjcd.c | CURRENT->buffer += nr_sectors * 512; |
nr_sectors | 1149 | drivers/block/sjcd.c | if( CURRENT->nr_sectors == 0 ) end_request( 1 ); |
nr_sectors | 1232 | drivers/block/sjcd.c | CURRENT->sector, CURRENT->nr_sectors ); |
nr_sectors | 1243 | drivers/block/sjcd.c | if( CURRENT->nr_sectors == 0 ) end_request( 1 ); |
nr_sectors | 841 | drivers/block/sonycd535.c | nsect = CURRENT->nr_sectors; |
nr_sectors | 123 | drivers/block/triton.c | for (i = rq->nr_sectors; i > 0;) { |
nr_sectors | 158 | drivers/block/triton.c | size = rq->nr_sectors << 9; |
nr_sectors | 219 | drivers/block/xd.c | if (CURRENT_DEV < xd_drives && CURRENT->sector + CURRENT->nr_sectors <= xd[MINOR(CURRENT->dev)].nr_sects) { |
nr_sectors | 221 | drivers/block/xd.c | count = CURRENT->nr_sectors; |
nr_sectors | 899 | drivers/scsi/scsi.c | while(req->nr_sectors && bh){ |
nr_sectors | 902 | drivers/scsi/scsi.c | req->nr_sectors -= bh->b_size >> 9; |
nr_sectors | 907 | drivers/scsi/scsi.c | if(req->nr_sectors && bh && bh->b_reqnext){ /* Any leftovers? */ |
nr_sectors | 914 | drivers/scsi/scsi.c | SCpnt->request.nr_sectors -= req->nr_sectors; |
nr_sectors | 1045 | drivers/scsi/scsi.c | while(req->nr_sectors && bh){ |
nr_sectors | 1048 | drivers/scsi/scsi.c | req->nr_sectors -= bh->b_size >> 9; |
nr_sectors | 1053 | drivers/scsi/scsi.c | if(req->nr_sectors && bh && bh->b_reqnext){/* Any leftovers? */ |
nr_sectors | 1059 | drivers/scsi/scsi.c | SCpnt->request.nr_sectors -= req->nr_sectors; |
nr_sectors | 3085 | drivers/scsi/scsi.c | SCpnt->request.nr_sectors, |
nr_sectors | 3112 | drivers/scsi/scsi.c | req->nr_sectors, |
nr_sectors | 469 | drivers/scsi/scsi.h | req->nr_sectors -= bh->b_size >> 9; |
nr_sectors | 477 | drivers/scsi/scsi.h | if (req->nr_sectors < req->current_nr_sectors) { |
nr_sectors | 478 | drivers/scsi/scsi.h | req->nr_sectors = req->current_nr_sectors; |
nr_sectors | 279 | drivers/scsi/scsi_debug.c | usec = (SCpnt->request.nr_sectors << 9) * 1.0e6 / SCSI_DATARATE; |
nr_sectors | 286 | drivers/scsi/scsi_debug.c | printk("(r%d)",SCpnt->request.nr_sectors); |
nr_sectors | 321 | drivers/scsi/scsi_debug.c | if (SCpnt->use_sg) printk("Block %x (%d %d)\n",block, SCpnt->request.nr_sectors, |
nr_sectors | 388 | drivers/scsi/scsi_debug.c | if ((bufflen >> 9) != SCpnt->request.nr_sectors) |
nr_sectors | 223 | drivers/scsi/sd.c | SCpnt->request.nr_sectors); |
nr_sectors | 262 | drivers/scsi/sd.c | if (SCpnt->request.nr_sectors > this_count) |
nr_sectors | 519 | drivers/scsi/sd.c | block + SCpnt->request.nr_sectors > sd[dev].nr_sects) |
nr_sectors | 521 | drivers/scsi/sd.c | SCpnt = end_scsi_request(SCpnt, 0, SCpnt->request.nr_sectors); |
nr_sectors | 535 | drivers/scsi/sd.c | SCpnt = end_scsi_request(SCpnt, 0, SCpnt->request.nr_sectors); |
nr_sectors | 556 | drivers/scsi/sd.c | if((block & 1) || (SCpnt->request.nr_sectors & 1)) { |
nr_sectors | 558 | drivers/scsi/sd.c | SCpnt = end_scsi_request(SCpnt, 0, SCpnt->request.nr_sectors); |
nr_sectors | 567 | drivers/scsi/sd.c | SCpnt = end_scsi_request(SCpnt, 0, SCpnt->request.nr_sectors); |
nr_sectors | 586 | drivers/scsi/sd.c | bounce_size = (SCpnt->request.nr_sectors << 9); |
nr_sectors | 594 | drivers/scsi/sd.c | + (SCpnt->request.nr_sectors << 9) - 1 > ISA_DMA_THRESHOLD |
nr_sectors | 613 | drivers/scsi/sd.c | this_count = SCpnt->request.nr_sectors; |
nr_sectors | 824 | drivers/scsi/sd.c | this_count, SCpnt->request.nr_sectors); |
nr_sectors | 176 | drivers/scsi/sr.c | SCpnt->request.nr_sectors > this_count && |
nr_sectors | 203 | drivers/scsi/sr.c | if(this_count > SCpnt->request.nr_sectors) |
nr_sectors | 208 | drivers/scsi/sr.c | printk("(%x %x %x) ",SCpnt->request.bh, SCpnt->request.nr_sectors, |
nr_sectors | 211 | drivers/scsi/sr.c | if (SCpnt->request.nr_sectors > this_count) |
nr_sectors | 658 | drivers/scsi/sr.c | SCpnt = end_scsi_request(SCpnt, 0, SCpnt->request.nr_sectors); |
nr_sectors | 666 | drivers/scsi/sr.c | SCpnt = end_scsi_request(SCpnt, 0, SCpnt->request.nr_sectors); |
nr_sectors | 678 | drivers/scsi/sr.c | SCpnt = end_scsi_request(SCpnt, 0, SCpnt->request.nr_sectors); |
nr_sectors | 686 | drivers/scsi/sr.c | SCpnt = end_scsi_request(SCpnt, 0, SCpnt->request.nr_sectors); |
nr_sectors | 815 | drivers/scsi/sr.c | SCpnt->request.nr_sectors); |
nr_sectors | 828 | drivers/scsi/sr.c | this_count = SCpnt->request.nr_sectors; |
nr_sectors | 19 | include/linux/blkdev.h | unsigned long nr_sectors; |