tag | line | file | source code |
nr_sects | 65 | drivers/block/genhd.c | !(hd->part[current_minor].nr_sects = p->nr_sects)) |
nr_sects | 81 | drivers/block/genhd.c | !(hd->part[current_minor].nr_sects = p->nr_sects)) |
nr_sects | 116 | drivers/block/genhd.c | if (!(hd->part[minor].nr_sects = p->nr_sects)) |
nr_sects | 137 | drivers/block/genhd.c | if (!(p->start_sect && p->nr_sects)) |
nr_sects | 140 | drivers/block/genhd.c | hd->part[current_minor].nr_sects = p->nr_sects; |
nr_sects | 172 | drivers/block/genhd.c | dev->sizes[i] = dev->part[i].nr_sects >> (BLOCK_SIZE_BITS - 9); |
nr_sects | 185 | drivers/block/genhd.c | dev->part[i].nr_sects = 0; |
nr_sects | 193 | 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 | 556 | drivers/block/hd.c | put_fs_long(hd[MINOR(inode->i_rdev)].nr_sects, |
nr_sects | 691 | drivers/block/hd.c | hd[i<<6].nr_sects = 0; |
nr_sects | 703 | drivers/block/hd.c | hd[i<<6].nr_sects = hd_info[i].head* |
nr_sects | 789 | drivers/block/hd.c | gdev->part[start+i].nr_sects = 0; |
nr_sects | 796 | drivers/block/hd.c | gdev->part[start].nr_sects = CAPACITY; |
nr_sects | 180 | drivers/block/xd.c | xd[i << 6].nr_sects = xd_info[i].heads * xd_info[i].cylinders * xd_info[i].sectors; |
nr_sects | 217 | drivers/block/xd.c | if (CURRENT_DEV < xd_drives && CURRENT->sector + CURRENT->nr_sectors <= xd[MINOR(CURRENT->dev)].nr_sects) { |
nr_sects | 265 | drivers/block/xd.c | put_fs_long(xd[MINOR(inode->i_rdev)].nr_sects,(long *) arg); |
nr_sects | 309 | drivers/block/xd.c | xd_gendisk.part[start + partition].nr_sects = 0; |
nr_sects | 312 | drivers/block/xd.c | xd_gendisk.part[start].nr_sects = xd_info[target].heads * xd_info[target].cylinders * xd_info[target].sectors; |
nr_sects | 278 | drivers/scsi/scsi_debug.c | p->nr_sects = starts[npart+1] - starts [npart]; |
nr_sects | 133 | drivers/scsi/sd.c | sd[i << 4].nr_sects = rscsi_disks[i].capacity; |
nr_sects | 407 | drivers/scsi/sd.c | if (dev >= (NR_SD << 4) || block + SCpnt->request.nr_sectors > sd[dev].nr_sects) |
nr_sects | 1080 | drivers/scsi/sd.c | gdev->part[start+i].nr_sects = 0; |
nr_sects | 1087 | 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; |