tag | line | file | source code |
nr_sects | 39 | drivers/block/genhd.c | #define NR_SECTS(p) ldl_u(&p->nr_sects) |
nr_sects | 42 | drivers/block/genhd.c | #define NR_SECTS(p) p->nr_sects |
nr_sects | 98 | drivers/block/genhd.c | hd->part[minor].nr_sects = size; |
nr_sects | 129 | drivers/block/genhd.c | first_size = hd->part[MINOR(dev)].nr_sects; |
nr_sects | 148 | drivers/block/genhd.c | this_size = hd->part[MINOR(dev)].nr_sects; |
nr_sects | 197 | drivers/block/genhd.c | hd->part[current_minor].nr_sects = NR_SECTS(p); |
nr_sects | 319 | drivers/block/genhd.c | hd->sizes[minor] = hd->part[minor].nr_sects |
nr_sects | 325 | drivers/block/genhd.c | if (hd->part[minor].nr_sects > 2) |
nr_sects | 326 | drivers/block/genhd.c | hd->part[minor].nr_sects = 2; |
nr_sects | 554 | drivers/block/genhd.c | dev->sizes[i] = dev->part[i].nr_sects >> (BLOCK_SIZE_BITS - 9); |
nr_sects | 567 | drivers/block/genhd.c | dev->part[i].nr_sects = 0; |
nr_sects | 577 | drivers/block/genhd.c | dev->sizes[i] = dev->part[i].nr_sects >> (BLOCK_SIZE_BITS - 9); |
nr_sects | 713 | drivers/block/hd.c | if (dev >= (NR_HD<<6) || block >= hd[dev].nr_sects || ((block+nsect) > hd[dev].nr_sects)) { |
nr_sects | 822 | drivers/block/hd.c | put_user(hd[MINOR(inode->i_rdev)].nr_sects, (long *) arg); |
nr_sects | 1017 | drivers/block/hd.c | hd[i<<6].nr_sects = bios_info[i].head * |
nr_sects | 1111 | drivers/block/hd.c | gdev->part[minor].nr_sects = 0; |
nr_sects | 1118 | drivers/block/hd.c | gdev->part[start].nr_sects = CAPACITY; |
nr_sects | 1839 | drivers/block/ide-cd.c | drive->part[0].nr_sects = toc->capacity * SECTORS_PER_FRAME; |
nr_sects | 512 | drivers/block/ide.c | drive->part[0].nr_sects = current_capacity(drive); |
nr_sects | 1328 | drivers/block/ide.c | if ((blockend < block) || (blockend > drive->part[minor&PARTN_MASK].nr_sects)) { |
nr_sects | 1812 | drivers/block/ide.c | if (drive->part[p].nr_sects > 0) { |
nr_sects | 1819 | drivers/block/ide.c | drive->part[p].nr_sects = 0; |
nr_sects | 1822 | drivers/block/ide.c | drive->part[0].nr_sects = current_capacity(drive); |
nr_sects | 1885 | drivers/block/ide.c | return write_fs_long(arg, drive->part[MINOR(inode->i_rdev)&PARTN_MASK].nr_sects); |
nr_sects | 2822 | drivers/block/ide.c | drive->part[0].nr_sects = current_capacity(drive); |
nr_sects | 216 | drivers/block/md.c | md_hd_struct[minor].nr_sects=md_size[minor]<<1; |
nr_sects | 285 | drivers/block/md.c | put_user (md_hd_struct[MINOR(inode->i_rdev)].nr_sects, (long *) arg); |
nr_sects | 314 | drivers/block/md.c | put_user (md_hd_struct[minor].nr_sects/8, (short *) &loc->cylinders); |
nr_sects | 182 | drivers/block/xd.c | xd[i << 6].nr_sects = xd_info[i].heads * xd_info[i].cylinders * xd_info[i].sectors; |
nr_sects | 221 | drivers/block/xd.c | <= xd[MINOR(CURRENT->rq_dev)].nr_sects) { |
nr_sects | 272 | drivers/block/xd.c | put_user(xd[MINOR(inode->i_rdev)].nr_sects,(long *) arg); |
nr_sects | 321 | drivers/block/xd.c | xd_gendisk.part[minor].nr_sects = 0; |
nr_sects | 324 | drivers/block/xd.c | xd_gendisk.part[start].nr_sects = xd_info[target].heads * xd_info[target].cylinders * xd_info[target].sectors; |
nr_sects | 309 | drivers/scsi/scsi_debug.c | p->nr_sects = starts[npart+1] - starts [npart]; |
nr_sects | 124 | drivers/scsi/scsicam.c | logical_end = largest->start_sect + largest->nr_sects; |
nr_sects | 203 | drivers/scsi/sd.c | sd[i << 4].nr_sects = rscsi_disks[i].capacity; |
nr_sects | 534 | drivers/scsi/sd.c | block + SCpnt->request.nr_sectors > sd[devm].nr_sects) |
nr_sects | 1408 | drivers/scsi/sd.c | gdev->part[minor].nr_sects = 0; |
nr_sects | 1420 | drivers/scsi/sd.c | gdev->part[start].nr_sects = CAPACITY; |
nr_sects | 1454 | drivers/scsi/sd.c | sd_gendisk.part[minor].nr_sects = 0; |
nr_sects | 67 | drivers/scsi/sd_ioctl.c | put_user(sd[MINOR(inode->i_rdev)].nr_sects, |
nr_sects | 42 | include/linux/genhd.h | unsigned int nr_sects; /* nr of sectors in partition */ |
nr_sects | 47 | include/linux/genhd.h | long nr_sects; |