tag | line | file | source code |
nr_sects | 107 | arch/m68k/amiga/amipart.c | hd->part[minor].nr_sects = (env[DE_UPPERCYL] |
nr_sects | 91 | arch/m68k/atari/atapart.c | hd->part[minor].nr_sects = xrs->part[0].siz; |
nr_sects | 120 | arch/m68k/atari/atapart.c | hd->part[minor].nr_sects = pi->siz; |
nr_sects | 146 | arch/m68k/atari/atapart.c | hd->part[minor].nr_sects = pi->siz; |
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 | 360 | drivers/block/genhd.c | hd->sizes[minor] = hd->part[minor].nr_sects |
nr_sects | 366 | drivers/block/genhd.c | if (hd->part[minor].nr_sects > 2) |
nr_sects | 367 | drivers/block/genhd.c | hd->part[minor].nr_sects = 2; |
nr_sects | 617 | drivers/block/genhd.c | dev->sizes[i] = dev->part[i].nr_sects >> (BLOCK_SIZE_BITS - 9); |
nr_sects | 630 | drivers/block/genhd.c | dev->part[i].nr_sects = 0; |
nr_sects | 640 | 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 | 1741 | drivers/block/ide-cd.c | drive->part[0].nr_sects = toc->capacity * SECTORS_PER_FRAME; |
nr_sects | 542 | drivers/block/ide.c | drive->part[0].nr_sects = current_capacity(drive); |
nr_sects | 1391 | drivers/block/ide.c | if ((blockend < block) || (blockend > drive->part[minor&PARTN_MASK].nr_sects)) { |
nr_sects | 1874 | drivers/block/ide.c | if (drive->part[p].nr_sects > 0) { |
nr_sects | 1881 | drivers/block/ide.c | drive->part[p].nr_sects = 0; |
nr_sects | 1884 | drivers/block/ide.c | drive->part[0].nr_sects = current_capacity(drive); |
nr_sects | 1948 | drivers/block/ide.c | return write_fs_long(arg, drive->part[MINOR(inode->i_rdev)&PARTN_MASK].nr_sects); |
nr_sects | 2977 | drivers/block/ide.c | drive->part[0].nr_sects = current_capacity(drive); |
nr_sects | 221 | drivers/block/md.c | md_hd_struct[minor].nr_sects=md_size[minor]<<1; |
nr_sects | 290 | drivers/block/md.c | put_user (md_hd_struct[MINOR(inode->i_rdev)].nr_sects, (long *) arg); |
nr_sects | 319 | 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 | 1416 | drivers/scsi/sd.c | gdev->part[minor].nr_sects = 0; |
nr_sects | 1428 | drivers/scsi/sd.c | gdev->part[start].nr_sects = CAPACITY; |
nr_sects | 1462 | drivers/scsi/sd.c | sd_gendisk.part[minor].nr_sects = 0; |
nr_sects | 64 | drivers/scsi/sd_ioctl.c | put_user(sd[MINOR(inode->i_rdev)].nr_sects, |
nr_sects | 125 | fs/affs/inode.c | dev_size = gd_p->part[MINOR(dev)].nr_sects; |
nr_sects | 44 | include/linux/genhd.h | unsigned int nr_sects; /* nr of sectors in partition */ |
nr_sects | 49 | include/linux/genhd.h | long nr_sects; |