tag | line | file | source code |
nr_sects | 34 | drivers/block/genhd.c | hd->part[minor].nr_sects = size; |
nr_sects | 77 | drivers/block/genhd.c | if (p->sys_ind == EXTENDED_PARTITION || !p->nr_sects) |
nr_sects | 79 | drivers/block/genhd.c | add_partition(hd, current_minor, this_sector+p->start_sect, p->nr_sects); |
nr_sects | 90 | drivers/block/genhd.c | !(hd->part[current_minor].nr_sects = p->nr_sects)) |
nr_sects | 135 | drivers/block/genhd.c | if (!p->nr_sects) |
nr_sects | 137 | drivers/block/genhd.c | add_partition(hd, minor, first_sector+p->start_sect, p->nr_sects); |
nr_sects | 155 | drivers/block/genhd.c | if (!(p->start_sect && p->nr_sects)) |
nr_sects | 157 | drivers/block/genhd.c | add_partition(hd, current_minor, p->start_sect, p->nr_sects); |
nr_sects | 186 | drivers/block/genhd.c | dev->sizes[i] = dev->part[i].nr_sects >> (BLOCK_SIZE_BITS - 9); |
nr_sects | 199 | drivers/block/genhd.c | dev->part[i].nr_sects = 0; |
nr_sects | 207 | drivers/block/genhd.c | dev->sizes[i] = dev->part[i].nr_sects >> (BLOCK_SIZE_BITS - 9); |
nr_sects | 715 | drivers/block/hd.c | if (dev >= (NR_HD<<6) || block >= hd[dev].nr_sects || ((block+nsect) > hd[dev].nr_sects)) { |
nr_sects | 823 | drivers/block/hd.c | put_fs_long(hd[MINOR(inode->i_rdev)].nr_sects, (long *) arg); |
nr_sects | 1015 | drivers/block/hd.c | hd[i<<6].nr_sects = bios_info[i].head * |
nr_sects | 1108 | drivers/block/hd.c | gdev->part[start+i].nr_sects = 0; |
nr_sects | 1115 | drivers/block/hd.c | gdev->part[start].nr_sects = CAPACITY; |
nr_sects | 1080 | drivers/block/ide.c | if ((blockend < block) || (blockend > ide_hd[HWIF][minor].nr_sects)) { |
nr_sects | 1334 | drivers/block/ide.c | gd->part[minor].nr_sects = 0; |
nr_sects | 1337 | drivers/block/ide.c | gd->part[start].nr_sects = ide_capacity[DEV_HWIF][drive]; |
nr_sects | 1447 | drivers/block/ide.c | return write_fs_long(arg, ide_hd[DEV_HWIF][MINOR(inode->i_rdev)].nr_sects); |
nr_sects | 2127 | drivers/block/ide.c | ide_hd[HWIF][drive<<PARTN_BITS].nr_sects = ide_capacity[HWIF][drive]; |
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 | 219 | drivers/block/xd.c | if (CURRENT_DEV < xd_drives && CURRENT->sector + CURRENT->nr_sectors <= xd[MINOR(CURRENT->dev)].nr_sects) { |
nr_sects | 267 | drivers/block/xd.c | put_fs_long(xd[MINOR(inode->i_rdev)].nr_sects,(long *) arg); |
nr_sects | 311 | drivers/block/xd.c | xd_gendisk.part[start + partition].nr_sects = 0; |
nr_sects | 314 | drivers/block/xd.c | xd_gendisk.part[start].nr_sects = xd_info[target].heads * xd_info[target].cylinders * xd_info[target].sectors; |
nr_sects | 280 | drivers/scsi/scsi_debug.c | p->nr_sects = starts[npart+1] - starts [npart]; |
nr_sects | 114 | drivers/scsi/scsicam.c | logical_end = largest->start_sect + largest->nr_sects; |
nr_sects | 168 | drivers/scsi/sd.c | sd[i << 4].nr_sects = rscsi_disks[i].capacity; |
nr_sects | 459 | drivers/scsi/sd.c | block + SCpnt->request.nr_sectors > sd[dev].nr_sects) |
nr_sects | 1229 | drivers/scsi/sd.c | gdev->part[start+i].nr_sects = 0; |
nr_sects | 1236 | drivers/scsi/sd.c | gdev->part[start].nr_sects = CAPACITY; |
nr_sects | 1269 | drivers/scsi/sd.c | sd_gendisk.part[start+i].nr_sects = 0; |
nr_sects | 54 | drivers/scsi/sd_ioctl.c | put_fs_long(sd[MINOR(inode->i_rdev)].nr_sects, |
nr_sects | 24 | include/linux/genhd.h | unsigned int nr_sects; /* nr of sectors in partition */ |
nr_sects | 29 | include/linux/genhd.h | long nr_sects; |