tag | line | file | source code |
nr_sects | 39 | drivers/block/genhd.c | hd->part[minor].nr_sects = size; |
nr_sects | 84 | drivers/block/genhd.c | if (p->sys_ind == EXTENDED_PARTITION || !p->nr_sects) |
nr_sects | 86 | drivers/block/genhd.c | add_partition(hd, current_minor, this_sector+p->start_sect, p->nr_sects); |
nr_sects | 97 | drivers/block/genhd.c | !(hd->part[current_minor].nr_sects = p->nr_sects)) |
nr_sects | 100 | drivers/block/genhd.c | hd->sizes[current_minor] = p->nr_sects >> (BLOCK_SIZE_BITS - 9); |
nr_sects | 153 | drivers/block/genhd.c | hd->part[MINOR(dev)].nr_sects -= p->end_sector; |
nr_sects | 176 | drivers/block/genhd.c | if (!p->nr_sects) |
nr_sects | 178 | drivers/block/genhd.c | add_partition(hd, minor, first_sector+p->start_sect, p->nr_sects); |
nr_sects | 196 | drivers/block/genhd.c | if (!(p->start_sect && p->nr_sects)) |
nr_sects | 198 | drivers/block/genhd.c | add_partition(hd, current_minor, p->start_sect, p->nr_sects); |
nr_sects | 329 | drivers/block/genhd.c | dev->sizes[i] = dev->part[i].nr_sects >> (BLOCK_SIZE_BITS - 9); |
nr_sects | 342 | drivers/block/genhd.c | dev->part[i].nr_sects = 0; |
nr_sects | 350 | 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_user(hd[MINOR(inode->i_rdev)].nr_sects, (long *) arg); |
nr_sects | 1018 | drivers/block/hd.c | hd[i<<6].nr_sects = bios_info[i].head * |
nr_sects | 1111 | drivers/block/hd.c | gdev->part[start+i].nr_sects = 0; |
nr_sects | 1118 | drivers/block/hd.c | gdev->part[start].nr_sects = CAPACITY; |
nr_sects | 1150 | drivers/block/ide.c | if ((blockend < block) || (blockend > ide_hd[HWIF][minor].nr_sects)) { |
nr_sects | 1425 | drivers/block/ide.c | gd->part[minor].nr_sects = 0; |
nr_sects | 1428 | drivers/block/ide.c | gd->part[start].nr_sects = ide_capacity[DEV_HWIF][drive]; |
nr_sects | 1538 | drivers/block/ide.c | return write_fs_long(arg, ide_hd[DEV_HWIF][MINOR(inode->i_rdev)].nr_sects); |
nr_sects | 2302 | 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_user(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 | 302 | drivers/scsi/scsi_debug.c | p->nr_sects = starts[npart+1] - starts [npart]; |
nr_sects | 128 | drivers/scsi/scsicam.c | logical_end = largest->start_sect + largest->nr_sects; |
nr_sects | 190 | drivers/scsi/sd.c | sd[i << 4].nr_sects = rscsi_disks[i].capacity; |
nr_sects | 487 | drivers/scsi/sd.c | block + SCpnt->request.nr_sectors > sd[dev].nr_sects) |
nr_sects | 1289 | drivers/scsi/sd.c | gdev->part[start+i].nr_sects = 0; |
nr_sects | 1296 | drivers/scsi/sd.c | gdev->part[start].nr_sects = CAPACITY; |
nr_sects | 1330 | drivers/scsi/sd.c | sd_gendisk.part[start+i].nr_sects = 0; |
nr_sects | 56 | drivers/scsi/sd_ioctl.c | put_user(sd[MINOR(inode->i_rdev)].nr_sects, |
nr_sects | 33 | include/linux/genhd.h | unsigned int nr_sects; /* nr of sectors in partition */ |
nr_sects | 38 | include/linux/genhd.h | long nr_sects; |