taglinefilesource code
capacity1675drivers/block/ide-cd.ccdrom_read_capacity (ide_drive_t *drive, unsigned *capacity,
capacity1697drivers/block/ide-cd.c*capacity = capbuf.lba;
capacity1810drivers/block/ide-cd.cstat = cdrom_read_capacity (drive, &toc->capacity, reqbuf);
capacity1811drivers/block/ide-cd.cif (stat) toc->capacity = 0x1fffff;
capacity1814drivers/block/ide-cd.c= toc->capacity * SECTORS_PER_FRAME;
capacity1815drivers/block/ide-cd.cdrive->part[0].nr_sects = toc->capacity * SECTORS_PER_FRAME;
capacity2353drivers/block/ide-cd.cif (ra.nframes < 0 || ra.nframes > toc->capacity)
capacity2372drivers/block/ide-cd.cif (lba < 0 || lba >= toc->capacity)
capacity2423drivers/block/ide-cd.cif (lba < 0 || lba >= toc->capacity)
capacity459drivers/block/ide.cunsigned long capacity;
capacity468drivers/block/ide.ccapacity = id->lba_capacity;
capacity471drivers/block/ide.ccapacity = drive->cyl * drive->head * drive->sect;
capacity473drivers/block/ide.creturn (capacity - drive->sect0);
capacity1984drivers/block/ide.cunsigned long capacity, check;
capacity2070drivers/block/ide.ccapacity = drive->cyl * drive->head * drive->sect;
capacity2072drivers/block/ide.cif (check == capacity) {  /* was it swapped? */
capacity2074drivers/block/ide.cid->cur_capacity0 = (capacity >>  0) & 0xffff;
capacity2075drivers/block/ide.cid->cur_capacity1 = (capacity >> 16) & 0xffff;
capacity200drivers/block/ide.hunsigned capacity;
capacity743drivers/scsi/NCR53c406a.csize = disk->capacity;
capacity1126drivers/scsi/aha152x.cint size = disk->capacity;
capacity1301drivers/scsi/aha1542.cint size = disk->capacity;
capacity510drivers/scsi/aha1740.cint size = disk->capacity;
capacity4577drivers/scsi/aic7xxx.ccylinders = disk->capacity / (heads * sectors);
capacity4583drivers/scsi/aic7xxx.ccylinders = disk->capacity / (255 * 63);
capacity1511drivers/scsi/buslogic.cunsigned int size = disk->capacity;
capacity1037drivers/scsi/fdomain.cunsigned long blocks, size, capacity;
capacity1042drivers/scsi/fdomain.ccapacity = +( +(blocks / 1024L) * +(size * 10L)) / 1024L;
capacity1045drivers/scsi/fdomain.c((capacity + 5L) / 10L), size );
capacity1860drivers/scsi/fdomain.cint        size      = disk->capacity;
capacity697drivers/scsi/in2000.cint size = disk->capacity;
capacity708drivers/scsi/in2000.ciinfo[2] = disk->capacity / (iinfo[0] * iinfo[1]);
capacity713drivers/scsi/in2000.ciinfo[2] = disk->capacity / (iinfo[0] * iinfo[1]);
capacity718drivers/scsi/in2000.ciinfo[2] = disk->capacity / (iinfo[0] * iinfo[1]);
capacity461drivers/scsi/pas16.cint size = disk->capacity;
capacity637drivers/scsi/qlogic.cip[2] = disk->capacity / (ip[0] * ip[1]);
capacity641drivers/scsi/qlogic.cip[2] = disk->capacity / (ip[0] * ip[1]);
capacity592drivers/scsi/scsi_debug.cint size = disk->capacity;
capacity29drivers/scsi/scsicam.cstatic int partsize(struct buffer_head *bh, unsigned long capacity,
capacity31drivers/scsi/scsicam.cstatic int setsize(unsigned long capacity,unsigned int *cyls,unsigned int *hds,
capacity51drivers/scsi/scsicam.cint size = disk->capacity;
capacity85drivers/scsi/scsicam.cstatic int partsize(struct buffer_head *bh, unsigned long capacity,
capacity128drivers/scsi/scsicam.c*cyls = capacity / ((end_head + 1) * end_sector);
capacity173drivers/scsi/scsicam.cstatic int setsize(unsigned long capacity,unsigned int *cyls,unsigned int *hds,
capacity182drivers/scsi/scsicam.cheads = capacity / temp;    /* Compute value for number of heads */
capacity183drivers/scsi/scsicam.cif (capacity % temp) {    /* If no remainder, done! */ 
capacity186drivers/scsi/scsicam.csectors = capacity / temp;  /* Compute value for sectors per
capacity188drivers/scsi/scsicam.cif (capacity % temp) {    /* If no remainder, done! */ 
capacity191drivers/scsi/scsicam.ccylinders = capacity / temp;/* Compute number of cylinders */ 
capacity203drivers/scsi/sd.csd[i << 4].nr_sects = rscsi_disks[i].capacity;
capacity1112drivers/scsi/sd.crscsi_disks[i].capacity = 0x1fffff;
capacity1129drivers/scsi/sd.crscsi_disks[i].capacity = (buffer[0] << 24) |
capacity1144drivers/scsi/sd.crscsi_disks[i].capacity = 0;
capacity1168drivers/scsi/sd.crscsi_disks[i].capacity <<= 1;  /* Change into 512 byte sectors */
capacity1170drivers/scsi/sd.crscsi_disks[i].capacity >>= 1;  /* Change into 512 byte sectors */
capacity1298drivers/scsi/sd.cif (!rscsi_disks[i].capacity && 
capacity1304drivers/scsi/sd.csd_sizes[i << 4] = rscsi_disks[i].capacity;
capacity1358drivers/scsi/sd.c#define CAPACITY rscsi_disks[target].capacity
capacity1452drivers/scsi/sd.cdpnt->capacity = 0;
capacity29drivers/scsi/sd.hunsigned capacity;        /* size in blocks */
capacity1015drivers/scsi/sr.cscsi_CDs[i].capacity = 0x1fffff;
capacity1019drivers/scsi/sr.cscsi_CDs[i].capacity = (buffer[0] << 24) |
capacity1028drivers/scsi/sr.cscsi_CDs[i].capacity = 0;
capacity1032drivers/scsi/sr.cscsi_CDs[i].capacity *= 4;
capacity1034drivers/scsi/sr.csr_sizes[i] = scsi_CDs[i].capacity;
capacity1082drivers/scsi/sr.cif (scsi_CDs[i].capacity) continue;
capacity1083drivers/scsi/sr.cscsi_CDs[i].capacity = 0x1fffff;
capacity1095drivers/scsi/sr.csr_sizes[i] = scsi_CDs[i].capacity;
capacity1131drivers/scsi/sr.ccpnt->capacity = 0;
capacity24drivers/scsi/sr.hunsigned   capacity;    /* size in blocks       */
capacity2159drivers/scsi/st.cSTp->capacity = 0xfffff;
capacity28drivers/scsi/st.hunsigned capacity;
capacity301drivers/scsi/t128.cint size = disk->capacity;
capacity833drivers/scsi/u14-34f.cint size = disk->capacity;
capacity1015drivers/scsi/ultrastor.cint size = disk->capacity;
capacity1224drivers/scsi/wd7000.cint size = disk->capacity;
capacity332include/linux/cdrom.hu_long  capacity;