tag | line | file | source code |
nr_sects | 64 | drivers/block/genhd.c | !(hd->part[current_minor].nr_sects = p->nr_sects)) |
nr_sects | 80 | drivers/block/genhd.c | !(hd->part[current_minor].nr_sects = p->nr_sects)) |
nr_sects | 115 | drivers/block/genhd.c | if (!(hd->part[minor].nr_sects = p->nr_sects)) |
nr_sects | 136 | drivers/block/genhd.c | if (!(p->start_sect && p->nr_sects)) |
nr_sects | 139 | drivers/block/genhd.c | hd->part[current_minor].nr_sects = p->nr_sects; |
nr_sects | 171 | drivers/block/genhd.c | dev->sizes[i] = dev->part[i].nr_sects >> (BLOCK_SIZE_BITS - 9); |
nr_sects | 184 | drivers/block/genhd.c | dev->part[i].nr_sects = 0; |
nr_sects | 192 | drivers/block/genhd.c | dev->sizes[i] = dev->part[i].nr_sects >> (BLOCK_SIZE_BITS - 9); |
nr_sects | 460 | drivers/block/hd.c | if (dev >= (NR_HD<<6) || block >= hd[dev].nr_sects) { |
nr_sects | 463 | drivers/block/hd.c | block, hd[dev].nr_sects); |
nr_sects | 550 | drivers/block/hd.c | put_fs_long(hd[MINOR(inode->i_rdev)].nr_sects, |
nr_sects | 685 | drivers/block/hd.c | hd[i<<6].nr_sects = 0; |
nr_sects | 697 | drivers/block/hd.c | hd[i<<6].nr_sects = hd_info[i].head* |
nr_sects | 783 | drivers/block/hd.c | gdev->part[start+i].nr_sects = 0; |
nr_sects | 790 | drivers/block/hd.c | gdev->part[start].nr_sects = CAPACITY; |
nr_sects | 147 | drivers/block/xd.c | xd[i << 6].nr_sects = xd_info[i].heads * xd_info[i].cylinders * xd_info[i].sectors; |
nr_sects | 184 | drivers/block/xd.c | if (CURRENT_DEV < xd_drives && CURRENT->sector + CURRENT->nr_sectors <= xd[MINOR(CURRENT->dev)].nr_sects) { |
nr_sects | 222 | drivers/block/xd.c | put_fs_long(xd[MINOR(inode->i_rdev)].nr_sects,(long *) arg); |
nr_sects | 265 | drivers/block/xd.c | xd_gendisk.part[start + partition].nr_sects = 0; |
nr_sects | 268 | drivers/block/xd.c | xd_gendisk.part[start].nr_sects = xd_info[target].heads * xd_info[target].cylinders * xd_info[target].sectors; |
nr_sects | 243 | drivers/scsi/scsi_debug.c | p->nr_sects = starts[npart+1] - starts [npart]; |
nr_sects | 128 | drivers/scsi/sd.c | sd[i << 4].nr_sects = rscsi_disks[i].capacity; |
nr_sects | 401 | drivers/scsi/sd.c | if (dev >= (NR_SD << 4) || block + SCpnt->request.nr_sectors > sd[dev].nr_sects) |
nr_sects | 958 | drivers/scsi/sd.c | gdev->part[start+i].nr_sects = 0; |
nr_sects | 965 | drivers/scsi/sd.c | gdev->part[start].nr_sects = CAPACITY; |
nr_sects | 53 | 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; |