tag | line | file | source code |
capacity | 1613 | drivers/block/ide.c | unsigned long capacity, check; |
capacity | 1680 | drivers/block/ide.c | capacity = dev->cyl * dev->head * dev->sect; |
capacity | 1684 | drivers/block/ide.c | if (check == capacity) /* was it swapped? */ |
capacity | 1685 | drivers/block/ide.c | *((int *)&id->cur_capacity0) = capacity; /* fix it */ |
capacity | 1701 | drivers/block/ide.c | capacity = id->lba_capacity; |
capacity | 1703 | drivers/block/ide.c | capacity = dev->cyl * dev->head * dev->sect; |
capacity | 1706 | drivers/block/ide.c | ide_capacity[DEV_HWIF][dev->select.b.drive] = capacity; |
capacity | 1708 | drivers/block/ide.c | dev->name, id->model, capacity/2048L, id->buf_size/2, |
capacity | 1110 | drivers/scsi/aha152x.c | int size = disk->capacity; |
capacity | 1229 | drivers/scsi/aha1542.c | int size = disk->capacity; |
capacity | 504 | drivers/scsi/aha1740.c | int size = disk->capacity; |
capacity | 1476 | drivers/scsi/aha274x.c | cylinders = disk->capacity / (heads * sectors); |
capacity | 1481 | drivers/scsi/aha274x.c | cylinders = disk->capacity / (255 * 63); |
capacity | 1491 | drivers/scsi/buslogic.c | unsigned int size = disk->capacity; |
capacity | 765 | drivers/scsi/fdomain.c | unsigned long blocks, size, capacity; |
capacity | 770 | drivers/scsi/fdomain.c | capacity = +( +(blocks / 1024L) * +(size * 10L)) / 1024L; |
capacity | 773 | drivers/scsi/fdomain.c | ((capacity + 5L) / 10L), size ); |
capacity | 1549 | drivers/scsi/fdomain.c | int size = disk->capacity; |
capacity | 685 | drivers/scsi/in2000.c | int size = disk->capacity; |
capacity | 696 | drivers/scsi/in2000.c | iinfo[2] = disk->capacity / (iinfo[0] * iinfo[1]); |
capacity | 701 | drivers/scsi/in2000.c | iinfo[2] = disk->capacity / (iinfo[0] * iinfo[1]); |
capacity | 706 | drivers/scsi/in2000.c | iinfo[2] = disk->capacity / (iinfo[0] * iinfo[1]); |
capacity | 448 | drivers/scsi/pas16.c | int size = disk->capacity; |
capacity | 616 | drivers/scsi/qlogic.c | ip[2] = disk->capacity / (ip[0] * ip[1]); |
capacity | 620 | drivers/scsi/qlogic.c | ip[2] = disk->capacity / (ip[0] * ip[1]); |
capacity | 552 | drivers/scsi/scsi_debug.c | int size = disk->capacity; |
capacity | 21 | drivers/scsi/scsicam.c | static int partsize(struct buffer_head *bh, unsigned long capacity, |
capacity | 23 | drivers/scsi/scsicam.c | static int setsize(unsigned long capacity,unsigned int *cyls,unsigned int *hds, |
capacity | 42 | drivers/scsi/scsicam.c | int size = disk->capacity; |
capacity | 76 | drivers/scsi/scsicam.c | static int partsize(struct buffer_head *bh, unsigned long capacity, |
capacity | 119 | drivers/scsi/scsicam.c | *cyls = capacity / ((end_head + 1) * end_sector); |
capacity | 164 | drivers/scsi/scsicam.c | static int setsize(unsigned long capacity,unsigned int *cyls,unsigned int *hds, |
capacity | 173 | drivers/scsi/scsicam.c | heads = capacity / temp; /* Compute value for number of heads */ |
capacity | 174 | drivers/scsi/scsicam.c | if (capacity % temp) { /* If no remainder, done! */ |
capacity | 177 | drivers/scsi/scsicam.c | sectors = capacity / temp; /* Compute value for sectors per |
capacity | 179 | drivers/scsi/scsicam.c | if (capacity % temp) { /* If no remainder, done! */ |
capacity | 182 | drivers/scsi/scsicam.c | cylinders = capacity / temp;/* Compute number of cylinders */ |
capacity | 168 | drivers/scsi/sd.c | sd[i << 4].nr_sects = rscsi_disks[i].capacity; |
capacity | 994 | drivers/scsi/sd.c | rscsi_disks[i].capacity = 0x1fffff; |
capacity | 1006 | drivers/scsi/sd.c | rscsi_disks[i].capacity = (buffer[0] << 24) | |
capacity | 1021 | drivers/scsi/sd.c | rscsi_disks[i].capacity = 0; |
capacity | 1045 | drivers/scsi/sd.c | rscsi_disks[i].capacity <<= 1; /* Change this into 512 byte sectors */ |
capacity | 1047 | drivers/scsi/sd.c | rscsi_disks[i].capacity >>= 1; /* Change this into 512 byte sectors */ |
capacity | 1124 | drivers/scsi/sd.c | if (!rscsi_disks[i].capacity && |
capacity | 1130 | drivers/scsi/sd.c | sd_sizes[i << 4] = rscsi_disks[i].capacity; |
capacity | 1185 | drivers/scsi/sd.c | #define CAPACITY rscsi_disks[target].capacity |
capacity | 1272 | drivers/scsi/sd.c | dpnt->capacity = 0; |
capacity | 35 | drivers/scsi/sd.h | unsigned capacity; /* size in blocks */ |
capacity | 949 | drivers/scsi/sr.c | scsi_CDs[i].capacity = 0x1fffff; |
capacity | 953 | drivers/scsi/sr.c | scsi_CDs[i].capacity = (buffer[0] << 24) | |
capacity | 962 | drivers/scsi/sr.c | scsi_CDs[i].capacity = 0; |
capacity | 966 | drivers/scsi/sr.c | scsi_CDs[i].capacity *= 4; |
capacity | 968 | drivers/scsi/sr.c | sr_sizes[i] = scsi_CDs[i].capacity; |
capacity | 1015 | drivers/scsi/sr.c | if (scsi_CDs[i].capacity) continue; |
capacity | 1016 | drivers/scsi/sr.c | scsi_CDs[i].capacity = 0x1fffff; |
capacity | 1027 | drivers/scsi/sr.c | sr_sizes[i] = scsi_CDs[i].capacity; |
capacity | 1063 | drivers/scsi/sr.c | cpnt->capacity = 0; |
capacity | 24 | drivers/scsi/sr.h | unsigned capacity; /* size in blocks */ |
capacity | 2007 | drivers/scsi/st.c | STp->capacity = 0xfffff; |
capacity | 25 | drivers/scsi/st.h | unsigned capacity; |
capacity | 294 | drivers/scsi/t128.c | int size = disk->capacity; |
capacity | 810 | drivers/scsi/u14-34f.c | int size = disk->capacity; |
capacity | 1004 | drivers/scsi/ultrastor.c | int size = disk->capacity; |
capacity | 1209 | drivers/scsi/wd7000.c | int size = disk->capacity; |
capacity | 73 | include/linux/cdrom.h | u_long capacity; |