tag | line | file | source code |
nr_sectors | 234 | drivers/block/blk.h | req->nr_sectors--; |
nr_sectors | 235 | drivers/block/blk.h | req->nr_sectors &= ~SECTOR_MASK; |
nr_sectors | 248 | drivers/block/blk.h | if (req->nr_sectors < req->current_nr_sectors) { |
nr_sectors | 249 | drivers/block/blk.h | req->nr_sectors = req->current_nr_sectors; |
nr_sectors | 1182 | drivers/block/cdu31a.c | nsect = CURRENT->nr_sectors; |
nr_sectors | 666 | drivers/block/floppy.c | raw_cmd.length > 512 * CURRENT->nr_sectors) && |
nr_sectors | 674 | drivers/block/floppy.c | CURRENT->buffer, CURRENT->nr_sectors, |
nr_sectors | 1696 | drivers/block/floppy.c | CURRENT->nr_sectors -= CURRENT->current_nr_sectors; |
nr_sectors | 1704 | drivers/block/floppy.c | CURRENT->nr_sectors -= current_count_sectors; |
nr_sectors | 1733 | drivers/block/floppy.c | int nr_sectors, ssize; |
nr_sectors | 1739 | drivers/block/floppy.c | nr_sectors = 0; |
nr_sectors | 1741 | drivers/block/floppy.c | nr_sectors = ((R_TRACK-TRACK)*floppy->head+R_HEAD-HEAD) * |
nr_sectors | 1746 | drivers/block/floppy.c | if ( nr_sectors > current_count_sectors + ssize - |
nr_sectors | 1750 | drivers/block/floppy.c | nr_sectors, current_count_sectors); |
nr_sectors | 1758 | drivers/block/floppy.c | if ( nr_sectors < 0 ) |
nr_sectors | 1759 | drivers/block/floppy.c | nr_sectors = 0; |
nr_sectors | 1760 | drivers/block/floppy.c | if ( nr_sectors < current_count_sectors ){ |
nr_sectors | 1763 | drivers/block/floppy.c | nr_sectors, current_count_sectors); |
nr_sectors | 1775 | drivers/block/floppy.c | current_count_sectors = nr_sectors; |
nr_sectors | 1824 | drivers/block/floppy.c | if ( nr_sectors + sector_t > buffer_max ) |
nr_sectors | 1825 | drivers/block/floppy.c | buffer_max = nr_sectors + sector_t; |
nr_sectors | 1884 | drivers/block/floppy.c | max_sector = transfer_size(ssize, max_sector, CURRENT->nr_sectors); |
nr_sectors | 1887 | drivers/block/floppy.c | buffer_max > sector_t + CURRENT->nr_sectors){ |
nr_sectors | 1889 | drivers/block/floppy.c | if ( current_count_sectors > CURRENT->nr_sectors ) |
nr_sectors | 1890 | drivers/block/floppy.c | current_count_sectors = CURRENT->nr_sectors; |
nr_sectors | 1894 | drivers/block/floppy.c | if ((remaining >> 9) > CURRENT->nr_sectors && |
nr_sectors | 1899 | drivers/block/floppy.c | printk("CURRENT->nr_sectors=%ld\n",CURRENT->nr_sectors); |
nr_sectors | 2021 | drivers/block/floppy.c | if ( current_count_sectors > CURRENT->nr_sectors ) |
nr_sectors | 2022 | drivers/block/floppy.c | current_count_sectors = CURRENT->nr_sectors; |
nr_sectors | 2062 | drivers/block/floppy.c | max_size = CURRENT->nr_sectors; |
nr_sectors | 2070 | drivers/block/floppy.c | } else if (aligned_sector_t != sector_t || CURRENT->nr_sectors < ssize){ |
nr_sectors | 2072 | drivers/block/floppy.c | if(sector_t + CURRENT->nr_sectors > ssize && |
nr_sectors | 2073 | drivers/block/floppy.c | sector_t + CURRENT->nr_sectors < ssize + ssize) |
nr_sectors | 2107 | drivers/block/floppy.c | max_size = CURRENT->nr_sectors; |
nr_sectors | 2123 | drivers/block/floppy.c | (aligned_sector_t == sector_t && CURRENT->nr_sectors >= ssize ))&& |
nr_sectors | 2199 | drivers/block/floppy.c | } else if (raw_cmd.length > CURRENT->nr_sectors << 9 || |
nr_sectors | 2200 | drivers/block/floppy.c | current_count_sectors > CURRENT->nr_sectors){ |
nr_sectors | 498 | drivers/block/hd.c | i = (CURRENT->nr_sectors -= nsect); |
nr_sectors | 503 | drivers/block/hd.c | CURRENT->nr_sectors, (long) CURRENT->buffer+(nsect<<9)); |
nr_sectors | 528 | drivers/block/hd.c | if (!--WCURRENT.nr_sectors) |
nr_sectors | 550 | drivers/block/hd.c | if (WCURRENT.nr_sectors) { |
nr_sectors | 556 | drivers/block/hd.c | if (!WCURRENT.nr_sectors) { /* all done? */ |
nr_sectors | 557 | drivers/block/hd.c | for (i = CURRENT->nr_sectors; i > 0;){ |
nr_sectors | 594 | drivers/block/hd.c | if ((CURRENT->nr_sectors <= 1) || (i & DRQ_STAT)) |
nr_sectors | 609 | drivers/block/hd.c | i = --CURRENT->nr_sectors; |
nr_sectors | 683 | drivers/block/hd.c | nsect = CURRENT->nr_sectors; |
nr_sectors | 241 | drivers/block/ll_rw_blk.c | req->sector + req->nr_sectors == sector && |
nr_sectors | 242 | drivers/block/ll_rw_blk.c | req->nr_sectors < 244) |
nr_sectors | 246 | drivers/block/ll_rw_blk.c | req->nr_sectors += count; |
nr_sectors | 256 | drivers/block/ll_rw_blk.c | req->nr_sectors < 244) |
nr_sectors | 258 | drivers/block/ll_rw_blk.c | req->nr_sectors += count; |
nr_sectors | 295 | drivers/block/ll_rw_blk.c | req->nr_sectors = count; |
nr_sectors | 328 | drivers/block/ll_rw_blk.c | req->nr_sectors = 8; |
nr_sectors | 463 | drivers/block/ll_rw_blk.c | req->nr_sectors = buffersize >> 9; |
nr_sectors | 564 | drivers/block/mcd.c | while (CURRENT -> nr_sectors) { |
nr_sectors | 571 | drivers/block/mcd.c | int nr_sectors = 4 - (CURRENT -> sector & 3); |
nr_sectors | 579 | drivers/block/mcd.c | if (nr_sectors > CURRENT -> nr_sectors) |
nr_sectors | 580 | drivers/block/mcd.c | nr_sectors = CURRENT -> nr_sectors; |
nr_sectors | 581 | drivers/block/mcd.c | memcpy(CURRENT -> buffer, mcd_buf + offs, nr_sectors * 512); |
nr_sectors | 582 | drivers/block/mcd.c | CURRENT -> nr_sectors -= nr_sectors; |
nr_sectors | 583 | drivers/block/mcd.c | CURRENT -> sector += nr_sectors; |
nr_sectors | 584 | drivers/block/mcd.c | CURRENT -> buffer += nr_sectors * 512; |
nr_sectors | 624 | drivers/block/mcd.c | printk(" do_mcd_request(%ld+%ld)\n", CURRENT -> sector, CURRENT -> nr_sectors); |
nr_sectors | 633 | drivers/block/mcd.c | if (CURRENT -> nr_sectors == 0) { |
nr_sectors | 860 | drivers/block/mcd.c | if (CURRENT -> nr_sectors == 0) |
nr_sectors | 2873 | drivers/block/sbpcd.c | while ( (CURRENT->nr_sectors > 0) && |
nr_sectors | 2879 | drivers/block/sbpcd.c | CURRENT->nr_sectors--; |
nr_sectors | 2912 | drivers/block/sbpcd.c | nsect = CURRENT->nr_sectors; /* always counted as 512-byte-pieces */ |
nr_sectors | 2925 | drivers/block/sbpcd.c | if (CURRENT->nr_sectors == 0) |
nr_sectors | 218 | drivers/block/xd.c | if (CURRENT_DEV < xd_drives && CURRENT->sector + CURRENT->nr_sectors <= xd[MINOR(CURRENT->dev)].nr_sects) { |
nr_sectors | 220 | drivers/block/xd.c | count = CURRENT->nr_sectors; |
nr_sectors | 592 | drivers/scsi/scsi.c | while(req->nr_sectors && bh){ |
nr_sectors | 595 | drivers/scsi/scsi.c | req->nr_sectors -= bh->b_size >> 9; |
nr_sectors | 600 | drivers/scsi/scsi.c | if(req->nr_sectors && bh && bh->b_reqnext){ /* Any leftovers? */ |
nr_sectors | 607 | drivers/scsi/scsi.c | SCpnt->request.nr_sectors -= req->nr_sectors; |
nr_sectors | 692 | drivers/scsi/scsi.c | while(req->nr_sectors && bh){ |
nr_sectors | 695 | drivers/scsi/scsi.c | req->nr_sectors -= bh->b_size >> 9; |
nr_sectors | 700 | drivers/scsi/scsi.c | if(req->nr_sectors && bh && bh->b_reqnext){ /* Any leftovers? */ |
nr_sectors | 706 | drivers/scsi/scsi.c | SCpnt->request.nr_sectors -= req->nr_sectors; |
nr_sectors | 1901 | drivers/scsi/scsi.c | SCpnt->request.nr_sectors, |
nr_sectors | 1928 | drivers/scsi/scsi.c | req->nr_sectors, |
nr_sectors | 533 | drivers/scsi/scsi.h | req->nr_sectors -= bh->b_size >> 9; |
nr_sectors | 541 | drivers/scsi/scsi.h | if (req->nr_sectors < req->current_nr_sectors) { |
nr_sectors | 542 | drivers/scsi/scsi.h | req->nr_sectors = req->current_nr_sectors; |
nr_sectors | 247 | drivers/scsi/scsi_debug.c | usec = (SCpnt->request.nr_sectors << 9) * 1.0e6 / SCSI_DATARATE; |
nr_sectors | 254 | drivers/scsi/scsi_debug.c | printk("(r%d)",SCpnt->request.nr_sectors); |
nr_sectors | 288 | drivers/scsi/scsi_debug.c | if (SCpnt->use_sg) printk("Block %x (%d %d)\n",block, SCpnt->request.nr_sectors, |
nr_sectors | 354 | drivers/scsi/scsi_debug.c | if ((bufflen >> 9) != SCpnt->request.nr_sectors) |
nr_sectors | 176 | drivers/scsi/sd.c | printk("sd%c : %d sectors remain.\n", 'a' + MINOR(SCpnt->request.dev), SCpnt->request.nr_sectors); |
nr_sectors | 211 | drivers/scsi/sd.c | if (SCpnt->request.nr_sectors > this_count) |
nr_sectors | 424 | drivers/scsi/sd.c | block + SCpnt->request.nr_sectors > sd[dev].nr_sects) |
nr_sectors | 426 | drivers/scsi/sd.c | end_scsi_request(SCpnt, 0, SCpnt->request.nr_sectors); |
nr_sectors | 439 | drivers/scsi/sd.c | end_scsi_request(SCpnt, 0, SCpnt->request.nr_sectors); |
nr_sectors | 452 | drivers/scsi/sd.c | end_scsi_request(SCpnt, 0, SCpnt->request.nr_sectors); |
nr_sectors | 470 | drivers/scsi/sd.c | bounce_size = (SCpnt->request.nr_sectors << 9); |
nr_sectors | 478 | drivers/scsi/sd.c | ((int) SCpnt->request.bh->b_data) + (SCpnt->request.nr_sectors << 9) - 1 > |
nr_sectors | 497 | drivers/scsi/sd.c | this_count = SCpnt->request.nr_sectors; |
nr_sectors | 694 | drivers/scsi/sd.c | this_count, SCpnt->request.nr_sectors); |
nr_sectors | 155 | drivers/scsi/sr.c | SCpnt->request.nr_sectors > this_count && |
nr_sectors | 182 | drivers/scsi/sr.c | if(this_count > SCpnt->request.nr_sectors) |
nr_sectors | 187 | drivers/scsi/sr.c | printk("(%x %x %x) ",SCpnt->request.bh, SCpnt->request.nr_sectors, |
nr_sectors | 190 | drivers/scsi/sr.c | if (SCpnt->request.nr_sectors > this_count) |
nr_sectors | 385 | drivers/scsi/sr.c | end_scsi_request(SCpnt, 0, SCpnt->request.nr_sectors); |
nr_sectors | 393 | drivers/scsi/sr.c | end_scsi_request(SCpnt, 0, SCpnt->request.nr_sectors); |
nr_sectors | 404 | drivers/scsi/sr.c | end_scsi_request(SCpnt, 0, SCpnt->request.nr_sectors); |
nr_sectors | 412 | drivers/scsi/sr.c | end_scsi_request(SCpnt, 0, SCpnt->request.nr_sectors); |
nr_sectors | 541 | drivers/scsi/sr.c | SCpnt->request.nr_sectors); |
nr_sectors | 554 | drivers/scsi/sr.c | this_count = SCpnt->request.nr_sectors; |
nr_sectors | 19 | include/linux/blkdev.h | unsigned long nr_sectors; |