taglinefilesource code
capacity1720drivers/block/ide.cunsigned long capacity, check;
capacity1797drivers/block/ide.ccapacity  = dev->cyl * dev->head * dev->sect;
capacity1801drivers/block/ide.cif (check == capacity) {  /* was it swapped? */
capacity1803drivers/block/ide.cid->cur_capacity0 = (capacity >>  0) & 0xffff;
capacity1804drivers/block/ide.cid->cur_capacity1 = (capacity >> 16) & 0xffff;
capacity1821drivers/block/ide.ccapacity = id->lba_capacity;
capacity1823drivers/block/ide.ccapacity = dev->cyl * dev->head * dev->sect;
capacity1826drivers/block/ide.cide_capacity[DEV_HWIF][dev->select.b.drive] = capacity;
capacity1828drivers/block/ide.cdev->name, id->model, capacity/2048L, id->buf_size/2,
capacity1111drivers/scsi/aha152x.cint size = disk->capacity;
capacity1230drivers/scsi/aha1542.cint size = disk->capacity;
capacity502drivers/scsi/aha1740.cint size = disk->capacity;
capacity3867drivers/scsi/aic7xxx.ccylinders = disk->capacity / (heads * sectors);
capacity3873drivers/scsi/aic7xxx.ccylinders = disk->capacity / (255 * 63);
capacity1503drivers/scsi/buslogic.cunsigned int size = disk->capacity;
capacity972drivers/scsi/fdomain.cunsigned long blocks, size, capacity;
capacity977drivers/scsi/fdomain.ccapacity = +( +(blocks / 1024L) * +(size * 10L)) / 1024L;
capacity980drivers/scsi/fdomain.c((capacity + 5L) / 10L), size );
capacity1756drivers/scsi/fdomain.cint        size      = disk->capacity;
capacity689drivers/scsi/in2000.cint size = disk->capacity;
capacity700drivers/scsi/in2000.ciinfo[2] = disk->capacity / (iinfo[0] * iinfo[1]);
capacity705drivers/scsi/in2000.ciinfo[2] = disk->capacity / (iinfo[0] * iinfo[1]);
capacity710drivers/scsi/in2000.ciinfo[2] = disk->capacity / (iinfo[0] * iinfo[1]);
capacity453drivers/scsi/pas16.cint size = disk->capacity;
capacity632drivers/scsi/qlogic.cip[2] = disk->capacity / (ip[0] * ip[1]);
capacity636drivers/scsi/qlogic.cip[2] = disk->capacity / (ip[0] * ip[1]);
capacity579drivers/scsi/scsi_debug.cint size = disk->capacity;
capacity35drivers/scsi/scsicam.cstatic int partsize(struct buffer_head *bh, unsigned long capacity,
capacity37drivers/scsi/scsicam.cstatic int setsize(unsigned long capacity,unsigned int *cyls,unsigned int *hds,
capacity56drivers/scsi/scsicam.cint size = disk->capacity;
capacity90drivers/scsi/scsicam.cstatic int partsize(struct buffer_head *bh, unsigned long capacity,
capacity133drivers/scsi/scsicam.c*cyls = capacity / ((end_head + 1) * end_sector);
capacity178drivers/scsi/scsicam.cstatic int setsize(unsigned long capacity,unsigned int *cyls,unsigned int *hds,
capacity187drivers/scsi/scsicam.cheads = capacity / temp;    /* Compute value for number of heads */
capacity188drivers/scsi/scsicam.cif (capacity % temp) {    /* If no remainder, done! */ 
capacity191drivers/scsi/scsicam.csectors = capacity / temp;  /* Compute value for sectors per
capacity193drivers/scsi/scsicam.cif (capacity % temp) {    /* If no remainder, done! */ 
capacity196drivers/scsi/scsicam.ccylinders = capacity / temp;/* Compute number of cylinders */ 
capacity190drivers/scsi/sd.csd[i << 4].nr_sects = rscsi_disks[i].capacity;
capacity1058drivers/scsi/sd.crscsi_disks[i].capacity = 0x1fffff;
capacity1070drivers/scsi/sd.crscsi_disks[i].capacity = (buffer[0] << 24) |
capacity1085drivers/scsi/sd.crscsi_disks[i].capacity = 0;
capacity1109drivers/scsi/sd.crscsi_disks[i].capacity <<= 1;  /* Change into 512 byte sectors */
capacity1111drivers/scsi/sd.crscsi_disks[i].capacity >>= 1;  /* Change into 512 byte sectors */
capacity1188drivers/scsi/sd.cif (!rscsi_disks[i].capacity && 
capacity1194drivers/scsi/sd.csd_sizes[i << 4] = rscsi_disks[i].capacity;
capacity1248drivers/scsi/sd.c#define CAPACITY rscsi_disks[target].capacity
capacity1336drivers/scsi/sd.cdpnt->capacity = 0;
capacity35drivers/scsi/sd.hunsigned capacity;        /* size in blocks */
capacity995drivers/scsi/sr.cscsi_CDs[i].capacity = 0x1fffff;
capacity999drivers/scsi/sr.cscsi_CDs[i].capacity = (buffer[0] << 24) |
capacity1008drivers/scsi/sr.cscsi_CDs[i].capacity = 0;
capacity1012drivers/scsi/sr.cscsi_CDs[i].capacity *= 4;
capacity1014drivers/scsi/sr.csr_sizes[i] = scsi_CDs[i].capacity;
capacity1061drivers/scsi/sr.cif (scsi_CDs[i].capacity) continue;
capacity1062drivers/scsi/sr.cscsi_CDs[i].capacity = 0x1fffff;
capacity1074drivers/scsi/sr.csr_sizes[i] = scsi_CDs[i].capacity;
capacity1110drivers/scsi/sr.ccpnt->capacity = 0;
capacity24drivers/scsi/sr.hunsigned   capacity;    /* size in blocks       */
capacity2020drivers/scsi/st.cSTp->capacity = 0xfffff;
capacity25drivers/scsi/st.hunsigned capacity;
capacity294drivers/scsi/t128.cint size = disk->capacity;
capacity824drivers/scsi/u14-34f.cint size = disk->capacity;
capacity1008drivers/scsi/ultrastor.cint size = disk->capacity;
capacity1215drivers/scsi/wd7000.cint size = disk->capacity;
capacity73include/linux/cdrom.hu_long  capacity;