tag | line | file | source code |
capacity | 1720 | drivers/block/ide.c | unsigned long capacity, check; |
capacity | 1797 | drivers/block/ide.c | capacity = dev->cyl * dev->head * dev->sect; |
capacity | 1801 | drivers/block/ide.c | if (check == capacity) { /* was it swapped? */ |
capacity | 1803 | drivers/block/ide.c | id->cur_capacity0 = (capacity >> 0) & 0xffff; |
capacity | 1804 | drivers/block/ide.c | id->cur_capacity1 = (capacity >> 16) & 0xffff; |
capacity | 1821 | drivers/block/ide.c | capacity = id->lba_capacity; |
capacity | 1823 | drivers/block/ide.c | capacity = dev->cyl * dev->head * dev->sect; |
capacity | 1826 | drivers/block/ide.c | ide_capacity[DEV_HWIF][dev->select.b.drive] = capacity; |
capacity | 1828 | drivers/block/ide.c | dev->name, id->model, capacity/2048L, id->buf_size/2, |
capacity | 1111 | drivers/scsi/aha152x.c | int size = disk->capacity; |
capacity | 1230 | drivers/scsi/aha1542.c | int size = disk->capacity; |
capacity | 502 | drivers/scsi/aha1740.c | int size = disk->capacity; |
capacity | 3867 | drivers/scsi/aic7xxx.c | cylinders = disk->capacity / (heads * sectors); |
capacity | 3873 | drivers/scsi/aic7xxx.c | cylinders = disk->capacity / (255 * 63); |
capacity | 1503 | drivers/scsi/buslogic.c | unsigned int size = disk->capacity; |
capacity | 972 | drivers/scsi/fdomain.c | unsigned long blocks, size, capacity; |
capacity | 977 | drivers/scsi/fdomain.c | capacity = +( +(blocks / 1024L) * +(size * 10L)) / 1024L; |
capacity | 980 | drivers/scsi/fdomain.c | ((capacity + 5L) / 10L), size ); |
capacity | 1756 | drivers/scsi/fdomain.c | int size = disk->capacity; |
capacity | 689 | drivers/scsi/in2000.c | int size = disk->capacity; |
capacity | 700 | drivers/scsi/in2000.c | iinfo[2] = disk->capacity / (iinfo[0] * iinfo[1]); |
capacity | 705 | drivers/scsi/in2000.c | iinfo[2] = disk->capacity / (iinfo[0] * iinfo[1]); |
capacity | 710 | drivers/scsi/in2000.c | iinfo[2] = disk->capacity / (iinfo[0] * iinfo[1]); |
capacity | 453 | drivers/scsi/pas16.c | int size = disk->capacity; |
capacity | 632 | drivers/scsi/qlogic.c | ip[2] = disk->capacity / (ip[0] * ip[1]); |
capacity | 636 | drivers/scsi/qlogic.c | ip[2] = disk->capacity / (ip[0] * ip[1]); |
capacity | 579 | drivers/scsi/scsi_debug.c | int size = disk->capacity; |
capacity | 35 | drivers/scsi/scsicam.c | static int partsize(struct buffer_head *bh, unsigned long capacity, |
capacity | 37 | drivers/scsi/scsicam.c | static int setsize(unsigned long capacity,unsigned int *cyls,unsigned int *hds, |
capacity | 56 | drivers/scsi/scsicam.c | int size = disk->capacity; |
capacity | 90 | drivers/scsi/scsicam.c | static int partsize(struct buffer_head *bh, unsigned long capacity, |
capacity | 133 | drivers/scsi/scsicam.c | *cyls = capacity / ((end_head + 1) * end_sector); |
capacity | 178 | drivers/scsi/scsicam.c | static int setsize(unsigned long capacity,unsigned int *cyls,unsigned int *hds, |
capacity | 187 | drivers/scsi/scsicam.c | heads = capacity / temp; /* Compute value for number of heads */ |
capacity | 188 | drivers/scsi/scsicam.c | if (capacity % temp) { /* If no remainder, done! */ |
capacity | 191 | drivers/scsi/scsicam.c | sectors = capacity / temp; /* Compute value for sectors per |
capacity | 193 | drivers/scsi/scsicam.c | if (capacity % temp) { /* If no remainder, done! */ |
capacity | 196 | drivers/scsi/scsicam.c | cylinders = capacity / temp;/* Compute number of cylinders */ |
capacity | 190 | drivers/scsi/sd.c | sd[i << 4].nr_sects = rscsi_disks[i].capacity; |
capacity | 1058 | drivers/scsi/sd.c | rscsi_disks[i].capacity = 0x1fffff; |
capacity | 1070 | drivers/scsi/sd.c | rscsi_disks[i].capacity = (buffer[0] << 24) | |
capacity | 1085 | drivers/scsi/sd.c | rscsi_disks[i].capacity = 0; |
capacity | 1109 | drivers/scsi/sd.c | rscsi_disks[i].capacity <<= 1; /* Change into 512 byte sectors */ |
capacity | 1111 | drivers/scsi/sd.c | rscsi_disks[i].capacity >>= 1; /* Change into 512 byte sectors */ |
capacity | 1188 | drivers/scsi/sd.c | if (!rscsi_disks[i].capacity && |
capacity | 1194 | drivers/scsi/sd.c | sd_sizes[i << 4] = rscsi_disks[i].capacity; |
capacity | 1248 | drivers/scsi/sd.c | #define CAPACITY rscsi_disks[target].capacity |
capacity | 1336 | drivers/scsi/sd.c | dpnt->capacity = 0; |
capacity | 35 | drivers/scsi/sd.h | unsigned capacity; /* size in blocks */ |
capacity | 995 | drivers/scsi/sr.c | scsi_CDs[i].capacity = 0x1fffff; |
capacity | 999 | drivers/scsi/sr.c | scsi_CDs[i].capacity = (buffer[0] << 24) | |
capacity | 1008 | drivers/scsi/sr.c | scsi_CDs[i].capacity = 0; |
capacity | 1012 | drivers/scsi/sr.c | scsi_CDs[i].capacity *= 4; |
capacity | 1014 | drivers/scsi/sr.c | sr_sizes[i] = scsi_CDs[i].capacity; |
capacity | 1061 | drivers/scsi/sr.c | if (scsi_CDs[i].capacity) continue; |
capacity | 1062 | drivers/scsi/sr.c | scsi_CDs[i].capacity = 0x1fffff; |
capacity | 1074 | drivers/scsi/sr.c | sr_sizes[i] = scsi_CDs[i].capacity; |
capacity | 1110 | drivers/scsi/sr.c | cpnt->capacity = 0; |
capacity | 24 | drivers/scsi/sr.h | unsigned capacity; /* size in blocks */ |
capacity | 2020 | 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 | 824 | drivers/scsi/u14-34f.c | int size = disk->capacity; |
capacity | 1008 | drivers/scsi/ultrastor.c | int size = disk->capacity; |
capacity | 1215 | drivers/scsi/wd7000.c | int size = disk->capacity; |
capacity | 73 | include/linux/cdrom.h | u_long capacity; |