taglinefilesource code
capacity1628drivers/block/ide-cd.ccdrom_read_capacity (ide_drive_t *drive, unsigned *capacity,
capacity1649drivers/block/ide-cd.c*capacity = ntohl (capbuf.lba);
capacity1794drivers/block/ide-cd.cstat = cdrom_read_capacity (drive, &toc->capacity, reqbuf);
capacity1795drivers/block/ide-cd.cif (stat) toc->capacity = 0x1fffff;
capacity1798drivers/block/ide-cd.c= toc->capacity * SECTORS_PER_FRAME;
capacity1799drivers/block/ide-cd.cdrive->part[0].nr_sects = toc->capacity * SECTORS_PER_FRAME;
capacity2397drivers/block/ide-cd.cif (ra.nframes < 0 || ra.nframes > toc->capacity)
capacity2416drivers/block/ide-cd.cif (lba < 0 || lba >= toc->capacity)
capacity2467drivers/block/ide-cd.cif (lba < 0 || lba >= toc->capacity)
capacity500drivers/block/ide.cunsigned long capacity = drive->cyl * drive->head * drive->sect;
capacity510drivers/block/ide.cif (id->lba_capacity >= capacity) {
capacity511drivers/block/ide.ccapacity = id->lba_capacity;
capacity516drivers/block/ide.creturn (capacity - drive->sect0);
capacity2140drivers/block/ide.cunsigned long capacity, check;
capacity2272drivers/block/ide.ccapacity = drive->cyl * drive->head * drive->sect;
capacity2274drivers/block/ide.cif (check == capacity) {  /* was it swapped? */
capacity2276drivers/block/ide.cid->cur_capacity0 = (capacity >>  0) & 0xffff;
capacity2277drivers/block/ide.cid->cur_capacity1 = (capacity >> 16) & 0xffff;
capacity215drivers/block/ide.hunsigned capacity;
capacity2481drivers/scsi/BusLogic.cDisk->capacity >= 2*1024*1024 /* 1 GB in 512 byte sectors */)
capacity2482drivers/scsi/BusLogic.cif (Disk->capacity >= 4*1024*1024 /* 2 GB in 512 byte sectors */)
capacity2498drivers/scsi/BusLogic.cDisk->capacity / (DiskParameters->Heads * DiskParameters->Sectors);
capacity753drivers/scsi/NCR53c406a.csize = disk->capacity;
capacity3440drivers/scsi/advansys.cdp->capacity > 0x200000) {
capacity3447drivers/scsi/advansys.cip[2] = dp->capacity / (ip[0] * ip[1]);
capacity1208drivers/scsi/aha152x.cint size = disk->capacity;
capacity1298drivers/scsi/aha1542.cint size = disk->capacity;
capacity510drivers/scsi/aha1740.cint size = disk->capacity;
capacity4598drivers/scsi/aic7xxx.ccylinders = disk->capacity / (heads * sectors);
capacity4604drivers/scsi/aic7xxx.ccylinders = disk->capacity / (255 * 63);
capacity1047drivers/scsi/fdomain.cunsigned long blocks, size, capacity;
capacity1052drivers/scsi/fdomain.ccapacity = +( +(blocks / 1024L) * +(size * 10L)) / 1024L;
capacity1055drivers/scsi/fdomain.c((capacity + 5L) / 10L), size );
capacity1870drivers/scsi/fdomain.cint        size      = disk->capacity;
capacity282drivers/scsi/g_NCR5380.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;
capacity424drivers/scsi/ppa.cip[2] = (disk->capacity +1) / (ip[0] * ip[1]);
capacity428drivers/scsi/ppa.cip[2] = (disk->capacity +1) / (ip[0] * ip[1]);
capacity637drivers/scsi/qlogic.cip[2] = disk->capacity / (ip[0] * ip[1]);
capacity641drivers/scsi/qlogic.cip[2] = disk->capacity / (ip[0] * ip[1]);
capacity589drivers/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,
capacity141drivers/scsi/scsicam.c*cyls = capacity / ((end_head + 1) * end_sector);
capacity187drivers/scsi/scsicam.cstatic int setsize(unsigned long capacity,unsigned int *cyls,unsigned int *hds,
capacity196drivers/scsi/scsicam.cheads = capacity / temp;    /* Compute value for number of heads */
capacity197drivers/scsi/scsicam.cif (capacity % temp) {    /* If no remainder, done! */ 
capacity200drivers/scsi/scsicam.csectors = capacity / temp;  /* Compute value for sectors per
capacity202drivers/scsi/scsicam.cif (capacity % temp) {    /* If no remainder, done! */ 
capacity205drivers/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 = 1 + ((buffer[0] << 24) |
capacity1150drivers/scsi/sd.crscsi_disks[i].capacity = 0;
capacity1174drivers/scsi/sd.crscsi_disks[i].capacity <<= 1;  /* Change into 512 byte sectors */
capacity1176drivers/scsi/sd.crscsi_disks[i].capacity >>= 1;  /* Change into 512 byte sectors */
capacity1304drivers/scsi/sd.cif (!rscsi_disks[i].capacity && 
capacity1309drivers/scsi/sd.csd_sizes[i << 4] = rscsi_disks[i].capacity;
capacity1366drivers/scsi/sd.c#define CAPACITY rscsi_disks[target].capacity
capacity1460drivers/scsi/sd.cdpnt->capacity = 0;
capacity29drivers/scsi/sd.hunsigned capacity;        /* size in blocks */
capacity43drivers/scsi/sd_ioctl.cdiskinfo[2] = rscsi_disks[MINOR(dev) >> 4].capacity >> 11;
capacity1015drivers/scsi/sr.cscsi_CDs[i].capacity = 0x1fffff;
capacity1019drivers/scsi/sr.cscsi_CDs[i].capacity = (buffer[0] << 24) |
capacity1034drivers/scsi/sr.cscsi_CDs[i].capacity *= 4;
capacity1041drivers/scsi/sr.cscsi_CDs[i].capacity = 0;
capacity1045drivers/scsi/sr.csr_sizes[i] = scsi_CDs[i].capacity;
capacity1093drivers/scsi/sr.cif (scsi_CDs[i].capacity) continue;
capacity1094drivers/scsi/sr.cscsi_CDs[i].capacity = 0x1fffff;
capacity1106drivers/scsi/sr.csr_sizes[i] = scsi_CDs[i].capacity;
capacity1142drivers/scsi/sr.ccpnt->capacity = 0;
capacity24drivers/scsi/sr.hunsigned   capacity;    /* size in blocks       */
capacity2195drivers/scsi/st.cSTp->capacity = 0xfffff;
capacity28drivers/scsi/st.hunsigned capacity;
capacity302drivers/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;
capacity309include/linux/cdrom.hu_long  capacity;