tag | line | file | source code |
capacity | 1628 | drivers/block/ide-cd.c | cdrom_read_capacity (ide_drive_t *drive, unsigned *capacity, |
capacity | 1649 | drivers/block/ide-cd.c | *capacity = ntohl (capbuf.lba); |
capacity | 1794 | drivers/block/ide-cd.c | stat = cdrom_read_capacity (drive, &toc->capacity, reqbuf); |
capacity | 1795 | drivers/block/ide-cd.c | if (stat) toc->capacity = 0x1fffff; |
capacity | 1798 | drivers/block/ide-cd.c | = toc->capacity * SECTORS_PER_FRAME; |
capacity | 1799 | drivers/block/ide-cd.c | drive->part[0].nr_sects = toc->capacity * SECTORS_PER_FRAME; |
capacity | 2397 | drivers/block/ide-cd.c | if (ra.nframes < 0 || ra.nframes > toc->capacity) |
capacity | 2416 | drivers/block/ide-cd.c | if (lba < 0 || lba >= toc->capacity) |
capacity | 2467 | drivers/block/ide-cd.c | if (lba < 0 || lba >= toc->capacity) |
capacity | 500 | drivers/block/ide.c | unsigned long capacity = drive->cyl * drive->head * drive->sect; |
capacity | 510 | drivers/block/ide.c | if (id->lba_capacity >= capacity) { |
capacity | 511 | drivers/block/ide.c | capacity = id->lba_capacity; |
capacity | 516 | drivers/block/ide.c | return (capacity - drive->sect0); |
capacity | 2140 | drivers/block/ide.c | unsigned long capacity, check; |
capacity | 2272 | drivers/block/ide.c | capacity = drive->cyl * drive->head * drive->sect; |
capacity | 2274 | drivers/block/ide.c | if (check == capacity) { /* was it swapped? */ |
capacity | 2276 | drivers/block/ide.c | id->cur_capacity0 = (capacity >> 0) & 0xffff; |
capacity | 2277 | drivers/block/ide.c | id->cur_capacity1 = (capacity >> 16) & 0xffff; |
capacity | 215 | drivers/block/ide.h | unsigned capacity; |
capacity | 2481 | drivers/scsi/BusLogic.c | Disk->capacity >= 2*1024*1024 /* 1 GB in 512 byte sectors */) |
capacity | 2482 | drivers/scsi/BusLogic.c | if (Disk->capacity >= 4*1024*1024 /* 2 GB in 512 byte sectors */) |
capacity | 2498 | drivers/scsi/BusLogic.c | Disk->capacity / (DiskParameters->Heads * DiskParameters->Sectors); |
capacity | 753 | drivers/scsi/NCR53c406a.c | size = disk->capacity; |
capacity | 3440 | drivers/scsi/advansys.c | dp->capacity > 0x200000) { |
capacity | 3447 | drivers/scsi/advansys.c | ip[2] = dp->capacity / (ip[0] * ip[1]); |
capacity | 1208 | drivers/scsi/aha152x.c | int size = disk->capacity; |
capacity | 1298 | drivers/scsi/aha1542.c | int size = disk->capacity; |
capacity | 510 | drivers/scsi/aha1740.c | int size = disk->capacity; |
capacity | 4598 | drivers/scsi/aic7xxx.c | cylinders = disk->capacity / (heads * sectors); |
capacity | 4604 | drivers/scsi/aic7xxx.c | cylinders = disk->capacity / (255 * 63); |
capacity | 1047 | drivers/scsi/fdomain.c | unsigned long blocks, size, capacity; |
capacity | 1052 | drivers/scsi/fdomain.c | capacity = +( +(blocks / 1024L) * +(size * 10L)) / 1024L; |
capacity | 1055 | drivers/scsi/fdomain.c | ((capacity + 5L) / 10L), size ); |
capacity | 1870 | drivers/scsi/fdomain.c | int size = disk->capacity; |
capacity | 282 | drivers/scsi/g_NCR5380.c | int size = disk->capacity; |
capacity | 697 | drivers/scsi/in2000.c | int size = disk->capacity; |
capacity | 708 | drivers/scsi/in2000.c | iinfo[2] = disk->capacity / (iinfo[0] * iinfo[1]); |
capacity | 713 | drivers/scsi/in2000.c | iinfo[2] = disk->capacity / (iinfo[0] * iinfo[1]); |
capacity | 718 | drivers/scsi/in2000.c | iinfo[2] = disk->capacity / (iinfo[0] * iinfo[1]); |
capacity | 461 | drivers/scsi/pas16.c | int size = disk->capacity; |
capacity | 424 | drivers/scsi/ppa.c | ip[2] = (disk->capacity +1) / (ip[0] * ip[1]); |
capacity | 428 | drivers/scsi/ppa.c | ip[2] = (disk->capacity +1) / (ip[0] * ip[1]); |
capacity | 637 | drivers/scsi/qlogic.c | ip[2] = disk->capacity / (ip[0] * ip[1]); |
capacity | 641 | drivers/scsi/qlogic.c | ip[2] = disk->capacity / (ip[0] * ip[1]); |
capacity | 589 | drivers/scsi/scsi_debug.c | int size = disk->capacity; |
capacity | 29 | drivers/scsi/scsicam.c | static int partsize(struct buffer_head *bh, unsigned long capacity, |
capacity | 31 | drivers/scsi/scsicam.c | static int setsize(unsigned long capacity,unsigned int *cyls,unsigned int *hds, |
capacity | 51 | drivers/scsi/scsicam.c | int size = disk->capacity; |
capacity | 85 | drivers/scsi/scsicam.c | static int partsize(struct buffer_head *bh, unsigned long capacity, |
capacity | 141 | drivers/scsi/scsicam.c | *cyls = capacity / ((end_head + 1) * end_sector); |
capacity | 187 | drivers/scsi/scsicam.c | static int setsize(unsigned long capacity,unsigned int *cyls,unsigned int *hds, |
capacity | 196 | drivers/scsi/scsicam.c | heads = capacity / temp; /* Compute value for number of heads */ |
capacity | 197 | drivers/scsi/scsicam.c | if (capacity % temp) { /* If no remainder, done! */ |
capacity | 200 | drivers/scsi/scsicam.c | sectors = capacity / temp; /* Compute value for sectors per |
capacity | 202 | drivers/scsi/scsicam.c | if (capacity % temp) { /* If no remainder, done! */ |
capacity | 205 | drivers/scsi/scsicam.c | cylinders = capacity / temp;/* Compute number of cylinders */ |
capacity | 203 | drivers/scsi/sd.c | sd[i << 4].nr_sects = rscsi_disks[i].capacity; |
capacity | 1112 | drivers/scsi/sd.c | rscsi_disks[i].capacity = 0x1fffff; |
capacity | 1129 | drivers/scsi/sd.c | rscsi_disks[i].capacity = 1 + ((buffer[0] << 24) | |
capacity | 1150 | drivers/scsi/sd.c | rscsi_disks[i].capacity = 0; |
capacity | 1174 | drivers/scsi/sd.c | rscsi_disks[i].capacity <<= 1; /* Change into 512 byte sectors */ |
capacity | 1176 | drivers/scsi/sd.c | rscsi_disks[i].capacity >>= 1; /* Change into 512 byte sectors */ |
capacity | 1304 | drivers/scsi/sd.c | if (!rscsi_disks[i].capacity && |
capacity | 1309 | drivers/scsi/sd.c | sd_sizes[i << 4] = rscsi_disks[i].capacity; |
capacity | 1366 | drivers/scsi/sd.c | #define CAPACITY rscsi_disks[target].capacity |
capacity | 1460 | drivers/scsi/sd.c | dpnt->capacity = 0; |
capacity | 29 | drivers/scsi/sd.h | unsigned capacity; /* size in blocks */ |
capacity | 43 | drivers/scsi/sd_ioctl.c | diskinfo[2] = rscsi_disks[MINOR(dev) >> 4].capacity >> 11; |
capacity | 1015 | drivers/scsi/sr.c | scsi_CDs[i].capacity = 0x1fffff; |
capacity | 1019 | drivers/scsi/sr.c | scsi_CDs[i].capacity = (buffer[0] << 24) | |
capacity | 1034 | drivers/scsi/sr.c | scsi_CDs[i].capacity *= 4; |
capacity | 1041 | drivers/scsi/sr.c | scsi_CDs[i].capacity = 0; |
capacity | 1045 | drivers/scsi/sr.c | sr_sizes[i] = scsi_CDs[i].capacity; |
capacity | 1093 | drivers/scsi/sr.c | if (scsi_CDs[i].capacity) continue; |
capacity | 1094 | drivers/scsi/sr.c | scsi_CDs[i].capacity = 0x1fffff; |
capacity | 1106 | drivers/scsi/sr.c | sr_sizes[i] = scsi_CDs[i].capacity; |
capacity | 1142 | drivers/scsi/sr.c | cpnt->capacity = 0; |
capacity | 24 | drivers/scsi/sr.h | unsigned capacity; /* size in blocks */ |
capacity | 2195 | drivers/scsi/st.c | STp->capacity = 0xfffff; |
capacity | 28 | drivers/scsi/st.h | unsigned capacity; |
capacity | 302 | drivers/scsi/t128.c | int size = disk->capacity; |
capacity | 833 | drivers/scsi/u14-34f.c | int size = disk->capacity; |
capacity | 1015 | drivers/scsi/ultrastor.c | int size = disk->capacity; |
capacity | 1224 | drivers/scsi/wd7000.c | int size = disk->capacity; |
capacity | 309 | include/linux/cdrom.h | u_long capacity; |