cylinders 87 arch/m68k/emu/nfblock.c geo->cylinders = dev->blocks >> (6 - dev->bshift); cylinders 1422 arch/um/drivers/ubd_kern.c geo->cylinders = ubd_dev->size / (128 * 32 * 512); cylinders 48 block/compat_ioctl.c unsigned short cylinders; cylinders 221 block/partitions/ibm.c geo_size = geo->cylinders * geo->heads cylinders 2512 drivers/ata/libata-core.c dev->cylinders = 0; cylinders 2596 drivers/ata/libata-core.c dev->cylinders = id[1]; cylinders 2602 drivers/ata/libata-core.c dev->cylinders = id[54]; cylinders 2615 drivers/ata/libata-core.c dev->multi_count, dev->cylinders, cylinders 1531 drivers/block/amiflop.c geo->cylinders = unit[drive].type->tracks; cylinders 294 drivers/block/aoe/aoeblk.c geo->cylinders = d->geo.cylinders; cylinders 945 drivers/block/aoe/aoecmd.c d->geo.cylinders = ssize; cylinders 946 drivers/block/aoe/aoecmd.c d->geo.cylinders /= (255 * 63); cylinders 956 drivers/block/aoe/aoecmd.c d->geo.cylinders = get_unaligned_le16(&id[54 << 1]); cylinders 3384 drivers/block/floppy.c geo->cylinders = g->track; cylinders 3339 drivers/block/mtip32xx/mtip32xx.c geo->cylinders = capacity; cylinders 230 drivers/block/paride/pd.c int cylinders; cylinders 722 drivers/block/paride/pd.c disk->cylinders = le16_to_cpu(*(__le16 *) (pd_scratch + 2)); cylinders 726 drivers/block/paride/pd.c disk->capacity = disk->sectors * disk->heads * disk->cylinders; cylinders 742 drivers/block/paride/pd.c disk->cylinders, disk->heads, disk->sectors, cylinders 813 drivers/block/paride/pd.c geo->cylinders = disk->capacity / (geo->heads * geo->sectors); cylinders 817 drivers/block/paride/pd.c geo->cylinders = disk->cylinders; cylinders 359 drivers/block/paride/pf.c geo->cylinders = sector_div(capacity, PF_FD_HDS * PF_FD_SPT); cylinders 363 drivers/block/paride/pf.c geo->cylinders = sector_div(capacity, PF_HD_HDS * PF_HD_SPT); cylinders 84 drivers/block/rsxx/dev.c geo->cylinders = blocks; cylinders 88 drivers/block/rsxx/dev.c geo->cylinders = 0; cylinders 3102 drivers/block/skd_main.c geo->cylinders = (capacity) / (255 * 64); cylinders 127 drivers/block/sunvdc.c sector_t cylinders = nsect; cylinders 131 drivers/block/sunvdc.c sector_div(cylinders, geo->heads * geo->sectors); cylinders 132 drivers/block/sunvdc.c geo->cylinders = cylinders; cylinders 133 drivers/block/sunvdc.c if ((sector_t)(geo->cylinders + 1) * geo->heads * geo->sectors < nsect) cylinders 134 drivers/block/sunvdc.c geo->cylinders = 0xffff; cylinders 725 drivers/block/swim.c geo->cylinders = g->track; cylinders 436 drivers/block/sx8.c geo->cylinders = port->dev_geom_cyl; cylinders 775 drivers/block/umem.c geo->cylinders = size / (geo->heads * geo->sectors); cylinders 460 drivers/block/virtio_blk.c geometry.cylinders, &geo->cylinders); cylinders 469 drivers/block/virtio_blk.c geo->cylinders = get_capacity(bd->bd_disk) >> 11; cylinders 481 drivers/block/xen-blkfront.c sector_t cylinders = nsect; cylinders 485 drivers/block/xen-blkfront.c sector_div(cylinders, hg->heads * hg->sectors); cylinders 486 drivers/block/xen-blkfront.c hg->cylinders = cylinders; cylinders 487 drivers/block/xen-blkfront.c if ((sector_t)(hg->cylinders + 1) * hg->heads * hg->sectors < nsect) cylinders 488 drivers/block/xen-blkfront.c hg->cylinders = 0xffff; cylinders 959 drivers/block/xsysace.c geo->cylinders = cf_id[ATA_ID_CYLS]; cylinders 283 drivers/ide/ide-gd.c geo->cylinders = (u16)drive->bios_cyl; /* truncate */ cylinders 991 drivers/md/dm-ioctl.c geometry.cylinders = indata[0]; cylinders 873 drivers/md/dm.c sector_t sz = (sector_t)geo->cylinders * geo->heads * geo->sectors; cylinders 7246 drivers/md/md.c geo->cylinders = mddev->array_sectors / 8; cylinders 1747 drivers/memstick/core/ms_block.c msb->geometry.cylinders = chs_table[i].cyl; cylinders 126 drivers/memstick/core/mspro_block.c __be16 cylinders; cylinders 145 drivers/memstick/core/mspro_block.c unsigned short cylinders; cylinders 237 drivers/memstick/core/mspro_block.c geo->cylinders = msb->cylinders; cylinders 481 drivers/memstick/core/mspro_block.c be16_to_cpu(x_devinfo->cylinders)); cylinders 1196 drivers/memstick/core/mspro_block.c msb->cylinders = be16_to_cpu(dev_info->cylinders); cylinders 2090 drivers/message/fusion/mptscsih.c sector_t cylinders; cylinders 2097 drivers/message/fusion/mptscsih.c cylinders = capacity; cylinders 2098 drivers/message/fusion/mptscsih.c sector_div(cylinders,dummy); cylinders 2108 drivers/message/fusion/mptscsih.c cylinders = capacity; cylinders 2109 drivers/message/fusion/mptscsih.c sector_div(cylinders,dummy); cylinders 2115 drivers/message/fusion/mptscsih.c geom[2] = cylinders; cylinders 337 drivers/mmc/core/block.c geo->cylinders = get_capacity(bdev->bd_disk) / (4 * 16); cylinders 952 drivers/mtd/ftl.c geo->cylinders = sect >> 3; cylinders 74 drivers/mtd/inftlcore.c inftl->cylinders = 1024; cylinders 77 drivers/mtd/inftlcore.c temp = inftl->cylinders * inftl->heads; cylinders 81 drivers/mtd/inftlcore.c temp = inftl->cylinders * inftl->sectors; cylinders 87 drivers/mtd/inftlcore.c inftl->cylinders = inftl->mbd.size / temp; cylinders 91 drivers/mtd/inftlcore.c if (inftl->mbd.size != inftl->heads * inftl->cylinders * inftl->sectors) { cylinders 100 drivers/mtd/inftlcore.c inftl->cylinders, inftl->heads , inftl->sectors, cylinders 101 drivers/mtd/inftlcore.c (long)inftl->cylinders * (long)inftl->heads * cylinders 922 drivers/mtd/inftlcore.c geo->cylinders = inftl->cylinders; cylinders 499 drivers/mtd/inftlmount.c s->EraseSize, s->heads, s->sectors, s->cylinders, cylinders 67 drivers/mtd/nftlcore.c nftl->cylinders = 1024; cylinders 70 drivers/mtd/nftlcore.c temp = nftl->cylinders * nftl->heads; cylinders 74 drivers/mtd/nftlcore.c temp = nftl->cylinders * nftl->sectors; cylinders 80 drivers/mtd/nftlcore.c nftl->cylinders = nftl->mbd.size / temp; cylinders 84 drivers/mtd/nftlcore.c if (nftl->mbd.size != nftl->heads * nftl->cylinders * nftl->sectors) { cylinders 93 drivers/mtd/nftlcore.c nftl->cylinders, nftl->heads , nftl->sectors, cylinders 94 drivers/mtd/nftlcore.c (long)nftl->cylinders * (long)nftl->heads * cylinders 773 drivers/mtd/nftlcore.c geo->cylinders = nftl->cylinders; cylinders 85 drivers/mtd/rfd_ftl.c int cylinders; cylinders 175 drivers/mtd/rfd_ftl.c part->cylinders = (part->data_sectors_per_block * cylinders 178 drivers/mtd/rfd_ftl.c part->sector_count = part->cylinders * SECTORS_PER_TRACK; cylinders 717 drivers/mtd/rfd_ftl.c geo->cylinders = part->cylinders; cylinders 637 drivers/mtd/sm_ftl.c ftl->cylinders = chs_table[i].cyl; cylinders 645 drivers/mtd/sm_ftl.c ftl->cylinders = 985; cylinders 1113 drivers/mtd/sm_ftl.c geo->cylinders = ftl->cylinders; cylinders 56 drivers/mtd/sm_ftl.h int cylinders; cylinders 24 drivers/mtd/ssfdc.c unsigned short cylinders; cylinders 320 drivers/mtd/ssfdc.c ssfdc->cylinders = (unsigned short)(((u32)mtd->size >> SECTOR_SHIFT) / cylinders 324 drivers/mtd/ssfdc.c ssfdc->cylinders, ssfdc->heads , ssfdc->sectors, cylinders 325 drivers/mtd/ssfdc.c (long)ssfdc->cylinders * (long)ssfdc->heads * cylinders 328 drivers/mtd/ssfdc.c ssfdc->mbd.size = (long)ssfdc->heads * (long)ssfdc->cylinders * cylinders 411 drivers/mtd/ssfdc.c ssfdc->cylinders, ssfdc->heads, ssfdc->sectors); cylinders 415 drivers/mtd/ssfdc.c geo->cylinders = ssfdc->cylinders; cylinders 279 drivers/mtd/ubi/block.c geo->cylinders = 1; cylinders 1507 drivers/nvdimm/btt.c geo->cylinders = get_capacity(bd->bd_disk) >> 11; cylinders 1640 drivers/nvme/host/core.c geo->cylinders = get_capacity(bdev->bd_disk) >> 11; cylinders 479 drivers/s390/block/dasd_diag.c geo->cylinders = (block->blocks << block->s2b_shift) >> 10; cylinders 2395 drivers/s390/block/dasd_eckd.c geo->cylinders = private->rdc_data.no_cyl; cylinders 219 drivers/s390/block/dasd_fba.c geo->cylinders = (block->blocks << block->s2b_shift) >> 10; cylinders 243 drivers/s390/block/xpram.c geo->cylinders = size >> 6; cylinders 1700 drivers/scsi/3w-9xxx.c int heads, sectors, cylinders; cylinders 1708 drivers/scsi/3w-9xxx.c cylinders = sector_div(capacity, heads * sectors); cylinders 1712 drivers/scsi/3w-9xxx.c cylinders = sector_div(capacity, heads * sectors); cylinders 1717 drivers/scsi/3w-9xxx.c geom[2] = cylinders; cylinders 1346 drivers/scsi/3w-xxxx.c int heads, sectors, cylinders; cylinders 1354 drivers/scsi/3w-xxxx.c cylinders = sector_div(capacity, heads * sectors); cylinders 1359 drivers/scsi/3w-xxxx.c cylinders = sector_div(capacity, heads * sectors); cylinders 1362 drivers/scsi/3w-xxxx.c dprintk(KERN_NOTICE "3w-xxxx: tw_scsi_biosparam(): heads = %d, sectors = %d, cylinders = %d\n", heads, sectors, cylinders); cylinders 1365 drivers/scsi/3w-xxxx.c geom[2] = cylinders; cylinders 3404 drivers/scsi/BusLogic.c diskparam->cylinders = (unsigned long) capacity / (diskparam->heads * diskparam->sectors); cylinders 3416 drivers/scsi/BusLogic.c int saved_cyl = diskparam->cylinders, part_no; cylinders 3441 drivers/scsi/BusLogic.c diskparam->cylinders = (unsigned long) capacity / (diskparam->heads * diskparam->sectors); cylinders 3443 drivers/scsi/BusLogic.c if (diskparam->cylinders != saved_cyl) cylinders 1088 drivers/scsi/BusLogic.h int cylinders; cylinders 436 drivers/scsi/aacraid/aacraid.h int cylinders; cylinders 320 drivers/scsi/aacraid/linit.c param->cylinders = cap_to_cyls(capacity, param->heads * param->sectors); cylinders 334 drivers/scsi/aacraid/linit.c int saved_cylinders = param->cylinders; cylinders 363 drivers/scsi/aacraid/linit.c param->cylinders = cap_to_cyls(capacity, param->heads * param->sectors); cylinders 365 drivers/scsi/aacraid/linit.c if (param->cylinders != saved_cylinders) cylinders 729 drivers/scsi/aic7xxx/aic79xx_osm.c int cylinders; cylinders 746 drivers/scsi/aic7xxx/aic79xx_osm.c cylinders = aic_sector_div(capacity, heads, sectors); cylinders 752 drivers/scsi/aic7xxx/aic79xx_osm.c if (extended && cylinders >= 1024) { cylinders 755 drivers/scsi/aic7xxx/aic79xx_osm.c cylinders = aic_sector_div(capacity, heads, sectors); cylinders 759 drivers/scsi/aic7xxx/aic79xx_osm.c geom[2] = cylinders; cylinders 701 drivers/scsi/aic7xxx/aic7xxx_osm.c int cylinders; cylinders 720 drivers/scsi/aic7xxx/aic7xxx_osm.c cylinders = aic_sector_div(capacity, heads, sectors); cylinders 728 drivers/scsi/aic7xxx/aic7xxx_osm.c if (extended && cylinders >= 1024) { cylinders 731 drivers/scsi/aic7xxx/aic7xxx_osm.c cylinders = aic_sector_div(capacity, heads, sectors); cylinders 735 drivers/scsi/aic7xxx/aic7xxx_osm.c geom[2] = cylinders; cylinders 356 drivers/scsi/arcmsr/arcmsr_hba.c int ret, heads, sectors, cylinders, total_capacity; cylinders 369 drivers/scsi/arcmsr/arcmsr_hba.c cylinders = total_capacity / (heads * sectors); cylinders 370 drivers/scsi/arcmsr/arcmsr_hba.c if (cylinders > 1024) { cylinders 373 drivers/scsi/arcmsr/arcmsr_hba.c cylinders = total_capacity / (heads * sectors); cylinders 377 drivers/scsi/arcmsr/arcmsr_hba.c geom[2] = cylinders; cylinders 1640 drivers/scsi/atp870u.c int heads, sectors, cylinders; cylinders 1644 drivers/scsi/atp870u.c cylinders = (unsigned long)capacity / (heads * sectors); cylinders 1645 drivers/scsi/atp870u.c if (cylinders > 1024) { cylinders 1648 drivers/scsi/atp870u.c cylinders = (unsigned long)capacity / (heads * sectors); cylinders 1652 drivers/scsi/atp870u.c ip[2] = cylinders; cylinders 1063 drivers/scsi/dc395x.c int heads, sectors, cylinders; cylinders 1071 drivers/scsi/dc395x.c cylinders = size / (heads * sectors); cylinders 1073 drivers/scsi/dc395x.c if ((acb->gmode2 & NAC_GREATER_1G) && (cylinders > 1024)) { cylinders 1076 drivers/scsi/dc395x.c cylinders = size / (heads * sectors); cylinders 1080 drivers/scsi/dc395x.c geom[2] = cylinders; cylinders 82 drivers/scsi/dpt/sys_info.h uSHORT cylinders; /* Up to 1024 */ cylinders 486 drivers/scsi/dpt_i2o.c int cylinders=-1; cylinders 515 drivers/scsi/dpt_i2o.c cylinders = sector_div(capacity, heads * sectors); cylinders 521 drivers/scsi/dpt_i2o.c cylinders = 1111; cylinders 526 drivers/scsi/dpt_i2o.c geom[2] = cylinders; cylinders 4749 drivers/scsi/ipr.c sector_t cylinders; cylinders 4754 drivers/scsi/ipr.c cylinders = capacity; cylinders 4755 drivers/scsi/ipr.c sector_div(cylinders, (128 * 32)); cylinders 4760 drivers/scsi/ipr.c parm[2] = cylinders; cylinders 1146 drivers/scsi/ips.c int cylinders; cylinders 1169 drivers/scsi/ips.c cylinders = (unsigned long) capacity / (heads * sectors); cylinders 1172 drivers/scsi/ips.c heads, sectors, cylinders); cylinders 1176 drivers/scsi/ips.c geom[2] = cylinders; cylinders 4092 drivers/scsi/ips.c uint32_t cylinders; cylinders 4106 drivers/scsi/ips.c cylinders = cylinders 4138 drivers/scsi/ips.c cpu_to_be16((cylinders >> 8) & 0xFFFF); cylinders 4139 drivers/scsi/ips.c mdata.pdata.pg4.CylindersLow = (cylinders & 0xFF); cylinders 2801 drivers/scsi/megaraid.c int cylinders; cylinders 2811 drivers/scsi/megaraid.c cylinders = (ulong)capacity / (heads * sectors); cylinders 2820 drivers/scsi/megaraid.c cylinders = (ulong)capacity / (heads * sectors); cylinders 2826 drivers/scsi/megaraid.c geom[2] = cylinders; cylinders 2846 drivers/scsi/megaraid.c cylinders = (ulong)capacity / (heads * sectors); cylinders 2852 drivers/scsi/megaraid.c cylinders = (ulong)capacity / (heads * sectors); cylinders 2858 drivers/scsi/megaraid.c geom[2] = cylinders; cylinders 3078 drivers/scsi/megaraid/megaraid_sas_base.c sector_t cylinders; cylinders 3086 drivers/scsi/megaraid/megaraid_sas_base.c cylinders = capacity; cylinders 3088 drivers/scsi/megaraid/megaraid_sas_base.c sector_div(cylinders, tmp); cylinders 3098 drivers/scsi/megaraid/megaraid_sas_base.c cylinders = capacity; cylinders 3099 drivers/scsi/megaraid/megaraid_sas_base.c sector_div(cylinders, tmp); cylinders 3104 drivers/scsi/megaraid/megaraid_sas_base.c geom[2] = cylinders; cylinders 2487 drivers/scsi/mpt3sas/mpt3sas_scsih.c sector_t cylinders; cylinders 2494 drivers/scsi/mpt3sas/mpt3sas_scsih.c cylinders = capacity; cylinders 2495 drivers/scsi/mpt3sas/mpt3sas_scsih.c sector_div(cylinders, dummy); cylinders 2505 drivers/scsi/mpt3sas/mpt3sas_scsih.c cylinders = capacity; cylinders 2506 drivers/scsi/mpt3sas/mpt3sas_scsih.c sector_div(cylinders, dummy); cylinders 2512 drivers/scsi/mpt3sas/mpt3sas_scsih.c params[2] = cylinders; cylinders 2151 drivers/scsi/mvumi.c sector_t cylinders; cylinders 2157 drivers/scsi/mvumi.c cylinders = capacity; cylinders 2158 drivers/scsi/mvumi.c sector_div(cylinders, tmp); cylinders 2164 drivers/scsi/mvumi.c cylinders = capacity; cylinders 2165 drivers/scsi/mvumi.c sector_div(cylinders, tmp); cylinders 2169 drivers/scsi/mvumi.c geom[2] = cylinders; cylinders 1037 drivers/scsi/qla1280.c int heads, sectors, cylinders; cylinders 1041 drivers/scsi/qla1280.c cylinders = (unsigned long)capacity / (heads * sectors); cylinders 1042 drivers/scsi/qla1280.c if (cylinders > 1024) { cylinders 1045 drivers/scsi/qla1280.c cylinders = (unsigned long)capacity / (heads * sectors); cylinders 1052 drivers/scsi/qla1280.c geom[2] = cylinders; cylinders 235 drivers/scsi/scsicam.c unsigned long heads, sectors, cylinders, temp; cylinders 237 drivers/scsi/scsicam.c cylinders = 1024L; /* Set number of cylinders to max */ cylinders 240 drivers/scsi/scsicam.c temp = cylinders * sectors; /* Compute divisor for heads */ cylinders 244 drivers/scsi/scsicam.c temp = cylinders * heads; /* Compute divisor for sectors */ cylinders 250 drivers/scsi/scsicam.c cylinders = capacity / temp; /* Compute number of cylinders */ cylinders 253 drivers/scsi/scsicam.c if (cylinders == 0) cylinders 256 drivers/scsi/scsicam.c *cyls = (unsigned int) cylinders; /* Stuff return values */ cylinders 1444 drivers/scsi/sd.c geo->cylinders = diskinfo[2]; cylinders 1452 drivers/scsi/storvsc_drv.c sector_t cylinders = nsect; cylinders 1460 drivers/scsi/storvsc_drv.c sector_div(cylinders, heads * sectors_pt); cylinders 1461 drivers/scsi/storvsc_drv.c if ((sector_t)(cylinders + 1) * heads * sectors_pt < nsect) cylinders 1462 drivers/scsi/storvsc_drv.c cylinders = 0xffff; cylinders 1466 drivers/scsi/storvsc_drv.c info[2] = (int)cylinders; cylinders 706 include/linux/libata.h u16 cylinders; /* Number of cylinders */ cylinders 36 include/linux/mtd/inftl.h unsigned short cylinders; cylinders 28 include/linux/mtd/nftl.h unsigned short cylinders; cylinders 327 include/uapi/linux/hdreg.h unsigned short cylinders; cylinders 67 include/uapi/linux/virtio_blk.h __u16 cylinders;