tag | line | file | source code |
capacity | 1675 | drivers/block/ide-cd.c | cdrom_read_capacity (ide_drive_t *drive, unsigned *capacity, |
capacity | 1697 | drivers/block/ide-cd.c | *capacity = capbuf.lba; |
capacity | 1810 | drivers/block/ide-cd.c | stat = cdrom_read_capacity (drive, &toc->capacity, reqbuf); |
capacity | 1811 | drivers/block/ide-cd.c | if (stat) toc->capacity = 0x1fffff; |
capacity | 1814 | drivers/block/ide-cd.c | = toc->capacity * SECTORS_PER_FRAME; |
capacity | 1815 | drivers/block/ide-cd.c | drive->part[0].nr_sects = toc->capacity * SECTORS_PER_FRAME; |
capacity | 2353 | drivers/block/ide-cd.c | if (ra.nframes < 0 || ra.nframes > toc->capacity) |
capacity | 2372 | drivers/block/ide-cd.c | if (lba < 0 || lba >= toc->capacity) |
capacity | 2423 | drivers/block/ide-cd.c | if (lba < 0 || lba >= toc->capacity) |
capacity | 459 | drivers/block/ide.c | unsigned long capacity; |
capacity | 468 | drivers/block/ide.c | capacity = id->lba_capacity; |
capacity | 471 | drivers/block/ide.c | capacity = drive->cyl * drive->head * drive->sect; |
capacity | 473 | drivers/block/ide.c | return (capacity - drive->sect0); |
capacity | 1984 | drivers/block/ide.c | unsigned long capacity, check; |
capacity | 2070 | drivers/block/ide.c | capacity = drive->cyl * drive->head * drive->sect; |
capacity | 2072 | drivers/block/ide.c | if (check == capacity) { /* was it swapped? */ |
capacity | 2074 | drivers/block/ide.c | id->cur_capacity0 = (capacity >> 0) & 0xffff; |
capacity | 2075 | drivers/block/ide.c | id->cur_capacity1 = (capacity >> 16) & 0xffff; |
capacity | 200 | drivers/block/ide.h | unsigned capacity; |
capacity | 743 | drivers/scsi/NCR53c406a.c | size = disk->capacity; |
capacity | 1126 | drivers/scsi/aha152x.c | int size = disk->capacity; |
capacity | 1301 | drivers/scsi/aha1542.c | int size = disk->capacity; |
capacity | 510 | drivers/scsi/aha1740.c | int size = disk->capacity; |
capacity | 4577 | drivers/scsi/aic7xxx.c | cylinders = disk->capacity / (heads * sectors); |
capacity | 4583 | drivers/scsi/aic7xxx.c | cylinders = disk->capacity / (255 * 63); |
capacity | 1511 | drivers/scsi/buslogic.c | unsigned int size = disk->capacity; |
capacity | 1037 | drivers/scsi/fdomain.c | unsigned long blocks, size, capacity; |
capacity | 1042 | drivers/scsi/fdomain.c | capacity = +( +(blocks / 1024L) * +(size * 10L)) / 1024L; |
capacity | 1045 | drivers/scsi/fdomain.c | ((capacity + 5L) / 10L), size ); |
capacity | 1860 | drivers/scsi/fdomain.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 | 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 | 592 | 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 | 128 | drivers/scsi/scsicam.c | *cyls = capacity / ((end_head + 1) * end_sector); |
capacity | 173 | drivers/scsi/scsicam.c | static int setsize(unsigned long capacity,unsigned int *cyls,unsigned int *hds, |
capacity | 182 | drivers/scsi/scsicam.c | heads = capacity / temp; /* Compute value for number of heads */ |
capacity | 183 | drivers/scsi/scsicam.c | if (capacity % temp) { /* If no remainder, done! */ |
capacity | 186 | drivers/scsi/scsicam.c | sectors = capacity / temp; /* Compute value for sectors per |
capacity | 188 | drivers/scsi/scsicam.c | if (capacity % temp) { /* If no remainder, done! */ |
capacity | 191 | 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 = (buffer[0] << 24) | |
capacity | 1144 | drivers/scsi/sd.c | rscsi_disks[i].capacity = 0; |
capacity | 1168 | drivers/scsi/sd.c | rscsi_disks[i].capacity <<= 1; /* Change into 512 byte sectors */ |
capacity | 1170 | drivers/scsi/sd.c | rscsi_disks[i].capacity >>= 1; /* Change into 512 byte sectors */ |
capacity | 1298 | drivers/scsi/sd.c | if (!rscsi_disks[i].capacity && |
capacity | 1304 | drivers/scsi/sd.c | sd_sizes[i << 4] = rscsi_disks[i].capacity; |
capacity | 1358 | drivers/scsi/sd.c | #define CAPACITY rscsi_disks[target].capacity |
capacity | 1452 | drivers/scsi/sd.c | dpnt->capacity = 0; |
capacity | 29 | drivers/scsi/sd.h | unsigned capacity; /* size in blocks */ |
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 | 1028 | drivers/scsi/sr.c | scsi_CDs[i].capacity = 0; |
capacity | 1032 | drivers/scsi/sr.c | scsi_CDs[i].capacity *= 4; |
capacity | 1034 | drivers/scsi/sr.c | sr_sizes[i] = scsi_CDs[i].capacity; |
capacity | 1082 | drivers/scsi/sr.c | if (scsi_CDs[i].capacity) continue; |
capacity | 1083 | drivers/scsi/sr.c | scsi_CDs[i].capacity = 0x1fffff; |
capacity | 1095 | drivers/scsi/sr.c | sr_sizes[i] = scsi_CDs[i].capacity; |
capacity | 1131 | drivers/scsi/sr.c | cpnt->capacity = 0; |
capacity | 24 | drivers/scsi/sr.h | unsigned capacity; /* size in blocks */ |
capacity | 2159 | drivers/scsi/st.c | STp->capacity = 0xfffff; |
capacity | 28 | drivers/scsi/st.h | unsigned capacity; |
capacity | 301 | 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 | 332 | include/linux/cdrom.h | u_long capacity; |