tag | line | file | source code |
nr_sects | 42 | drivers/block/genhd.c | #define NR_SECTS(p) ldl_u(&p->nr_sects) |
nr_sects | 45 | drivers/block/genhd.c | #define NR_SECTS(p) p->nr_sects |
nr_sects | 102 | drivers/block/genhd.c | hd->part[minor].nr_sects = size; |
nr_sects | 133 | drivers/block/genhd.c | first_size = hd->part[MINOR(dev)].nr_sects; |
nr_sects | 152 | drivers/block/genhd.c | this_size = hd->part[MINOR(dev)].nr_sects; |
nr_sects | 201 | drivers/block/genhd.c | hd->part[current_minor].nr_sects = NR_SECTS(p); |
nr_sects | 323 | drivers/block/genhd.c | hd->sizes[minor] = hd->part[minor].nr_sects |
nr_sects | 329 | drivers/block/genhd.c | if (hd->part[minor].nr_sects > 2) |
nr_sects | 330 | drivers/block/genhd.c | hd->part[minor].nr_sects = 2; |
nr_sects | 558 | drivers/block/genhd.c | dev->sizes[i] = dev->part[i].nr_sects >> (BLOCK_SIZE_BITS - 9); |
nr_sects | 571 | drivers/block/genhd.c | dev->part[i].nr_sects = 0; |
nr_sects | 581 | 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 | 1840 | 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 | 1327 | drivers/block/ide.c | if ((blockend < block) || (blockend > drive->part[minor&PARTN_MASK].nr_sects)) { |
nr_sects | 1811 | drivers/block/ide.c | if (drive->part[p].nr_sects > 0) { |
nr_sects | 1818 | drivers/block/ide.c | drive->part[p].nr_sects = 0; |
nr_sects | 1821 | drivers/block/ide.c | drive->part[0].nr_sects = current_capacity(drive); |
nr_sects | 1884 | drivers/block/ide.c | return write_fs_long(arg, drive->part[MINOR(inode->i_rdev)&PARTN_MASK].nr_sects); |
nr_sects | 2821 | 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; |