heads              88 arch/m68k/emu/nfblock.c 	geo->heads = 4;
heads            1420 arch/um/drivers/ubd_kern.c 	geo->heads = 128;
heads              46 block/compat_ioctl.c 	unsigned char heads;
heads             201 block/partitions/acorn.c 			   (dr->heads + (dr->lowsector & 0x40 ? 1 : 0)) *
heads             253 block/partitions/acorn.c 	unsigned long start_sect, nr_sects, sectscyl, heads;
heads             270 block/partitions/acorn.c 	heads = dr->heads + ((dr->lowsector >> 6) & 1);
heads             271 block/partitions/acorn.c 	sectscyl = dr->secspertrack * heads;
heads              41 block/partitions/ibm.c 	return cyl * geo->heads * geo->sectors +
heads              59 block/partitions/ibm.c 	return	cyl * geo->heads * geo->sectors +
heads             221 block/partitions/ibm.c 		geo_size = geo->cylinders * geo->heads
heads              87 drivers/ata/libata-core.c 					u16 heads, u16 sectors);
heads             712 drivers/ata/libata-core.c 		block = (cyl * dev->heads + head) * dev->sectors + sect - 1;
heads             824 drivers/ata/libata-core.c 		cyl   = track / dev->heads;
heads             825 drivers/ata/libata-core.c 		head  = track % dev->heads;
heads            2513 drivers/ata/libata-core.c 	dev->heads = 0;
heads            2597 drivers/ata/libata-core.c 			dev->heads	= id[3];
heads            2603 drivers/ata/libata-core.c 				dev->heads     = id[55];
heads            2616 drivers/ata/libata-core.c 					     dev->heads, dev->sectors);
heads            4892 drivers/ata/libata-core.c 					u16 heads, u16 sectors)
heads            4898 drivers/ata/libata-core.c 	if (sectors < 1 || sectors > 255 || heads < 1 || heads > 16)
heads            4909 drivers/ata/libata-core.c 	tf.device |= (heads - 1) & 0x0f; /* max head = num. of heads - 1 */
heads            1751 drivers/ata/libata-scsi.c 		cyl   = track / dev->heads;
heads            1752 drivers/ata/libata-scsi.c 		head  = track % dev->heads;
heads             179 drivers/block/amiflop.c 	unsigned int heads;		/* number of heads */
heads            1188 drivers/block/amiflop.c 		if (hdr.track != unit[drive].track/unit[drive].type->heads) {
heads            1191 drivers/block/amiflop.c 			       unit[drive].track/unit[drive].type->heads);
heads            1195 drivers/block/amiflop.c 		if (hdr.side != unit[drive].track%unit[drive].type->heads) {
heads            1198 drivers/block/amiflop.c 			       unit[drive].track%unit[drive].type->heads);
heads            1288 drivers/block/amiflop.c 	hdr.track=unit[drive].track/unit[drive].type->heads;
heads            1289 drivers/block/amiflop.c 	hdr.side=unit[drive].track%unit[drive].type->heads;
heads            1529 drivers/block/amiflop.c 	geo->heads = unit[drive].type->heads;
heads            1563 drivers/block/amiflop.c 		if (param < p->type->tracks * p->type->heads)
heads            1584 drivers/block/amiflop.c 		getprm.head=p->type->heads;
heads            1696 drivers/block/amiflop.c 	unit[drive].blocks=unit[drive].type->heads*unit[drive].type->tracks*
heads             295 drivers/block/aoe/aoeblk.c 	geo->heads = d->geo.heads;
heads             947 drivers/block/aoe/aoecmd.c 		d->geo.heads = 255;
heads             957 drivers/block/aoe/aoecmd.c 		d->geo.heads = get_unaligned_le16(&id[55 << 1]);
heads            2281 drivers/block/floppy.c 	int heads;
heads            2303 drivers/block/floppy.c 		heads = 2;
heads            2305 drivers/block/floppy.c 		heads = 1;
heads            2307 drivers/block/floppy.c 	nr_sectors = (((R_TRACK - TRACK) * heads +
heads            2318 drivers/block/floppy.c 		pr_info("heads=%d eoc=%d\n", heads, eoc);
heads            3382 drivers/block/floppy.c 	geo->heads = g->head;
heads            3336 drivers/block/mtip32xx/mtip32xx.c 	geo->heads = 224;
heads            3338 drivers/block/mtip32xx/mtip32xx.c 	sector_div(capacity, (geo->heads * geo->sectors));
heads             228 drivers/block/paride/pd.c 	int heads;		/* physical geometry */
heads             351 drivers/block/paride/pd.c 		h = (block /= disk->sectors) % disk->heads;
heads             352 drivers/block/paride/pd.c 		c0 = (block /= disk->heads) % 256;
heads             638 drivers/block/paride/pd.c 	pd_send_command(disk, disk->sectors, 0, disk->heads - 1, 0, 0,
heads             721 drivers/block/paride/pd.c 	disk->heads = le16_to_cpu(*(__le16 *) (pd_scratch + 6));
heads             726 drivers/block/paride/pd.c 		disk->capacity = disk->sectors * disk->heads * disk->cylinders;
heads             742 drivers/block/paride/pd.c 	       disk->cylinders, disk->heads, disk->sectors,
heads             811 drivers/block/paride/pd.c 		geo->heads = PD_LOG_HEADS;
heads             813 drivers/block/paride/pd.c 		geo->cylinders = disk->capacity / (geo->heads * geo->sectors);
heads             815 drivers/block/paride/pd.c 		geo->heads = disk->heads;
heads             360 drivers/block/paride/pf.c 		geo->heads = PF_FD_HDS;
heads             364 drivers/block/paride/pf.c 		geo->heads = PF_HD_HDS;
heads              81 drivers/block/rsxx/dev.c 		geo->heads = 64;
heads              83 drivers/block/rsxx/dev.c 		do_div(blocks, (geo->heads * geo->sectors));
heads              86 drivers/block/rsxx/dev.c 		geo->heads = 0;
heads            3100 drivers/block/skd_main.c 		geo->heads = 64;
heads             129 drivers/block/sunvdc.c 	geo->heads = 0xff;
heads             131 drivers/block/sunvdc.c 	sector_div(cylinders, geo->heads * geo->sectors);
heads             133 drivers/block/sunvdc.c 	if ((sector_t)(geo->cylinders + 1) * geo->heads * geo->sectors < nsect)
heads             723 drivers/block/swim.c 	geo->heads = g->head;
heads             434 drivers/block/sx8.c 	geo->heads = (u8) port->dev_geom_head;
heads             773 drivers/block/umem.c 	geo->heads     = 64;
heads             775 drivers/block/umem.c 	geo->cylinders = size / (geo->heads * geo->sectors);
heads             462 drivers/block/virtio_blk.c 			     geometry.heads, &geo->heads);
heads             467 drivers/block/virtio_blk.c 		geo->heads = 1 << 6;
heads             483 drivers/block/xen-blkfront.c 	hg->heads = 0xff;
heads             485 drivers/block/xen-blkfront.c 	sector_div(cylinders, hg->heads * hg->sectors);
heads             487 drivers/block/xen-blkfront.c 	if ((sector_t)(hg->cylinders + 1) * hg->heads * hg->sectors < nsect)
heads             957 drivers/block/xsysace.c 	geo->heads	= cf_id[ATA_ID_HEADS];
heads             555 drivers/gpu/drm/nouveau/dispnv04/dac.c 	encoder->possible_crtcs = entry->heads;
heads             712 drivers/gpu/drm/nouveau/dispnv04/dfp.c 	encoder->possible_crtcs = entry->heads;
heads             232 drivers/gpu/drm/nouveau/dispnv04/tvnv04.c 	encoder->possible_crtcs = entry->heads;
heads             822 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c 	encoder->possible_crtcs = entry->heads;
heads             469 drivers/gpu/drm/nouveau/dispnv50/disp.c 	encoder->possible_crtcs = dcbe->heads;
heads             917 drivers/gpu/drm/nouveau/dispnv50/disp.c nv50_msto_new(struct drm_device *dev, u32 heads, const char *name, int id,
heads             935 drivers/gpu/drm/nouveau/dispnv50/disp.c 	msto->encoder.possible_crtcs = heads;
heads            1367 drivers/gpu/drm/nouveau/dispnv50/disp.c 	const int max_payloads = hweight8(outp->dcb->heads);
heads            1394 drivers/gpu/drm/nouveau/dispnv50/disp.c 		ret = nv50_msto_new(dev, outp->dcb->heads, outp->base.base.name,
heads            1601 drivers/gpu/drm/nouveau/dispnv50/disp.c 	encoder->possible_crtcs = dcbe->heads;
heads            1760 drivers/gpu/drm/nouveau/dispnv50/disp.c 	encoder->possible_crtcs = dcbe->heads;
heads             630 drivers/gpu/drm/nouveau/dispnv50/wndw.c 	       const u32 *format, u32 heads,
heads             653 drivers/gpu/drm/nouveau/dispnv50/wndw.c 	ret = drm_universal_plane_init(dev, &wndw->plane, heads, &nv50_wndw,
heads              42 drivers/gpu/drm/nouveau/dispnv50/wndw.h 		   u32 interlock_data, u32 heads, struct nv50_wndw **);
heads             103 drivers/gpu/drm/nouveau/dispnv50/wndw.h 		  enum drm_plane_type type, int index, s32 oclass, u32 heads,
heads             277 drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c 	      enum drm_plane_type type, int index, s32 oclass, u32 heads,
heads             289 drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c 			     wndwc37e_format, heads, NV50_DISP_INTERLOCK_WNDW,
heads              22 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/dcb.h 	uint8_t heads;
heads            1382 drivers/gpu/drm/nouveau/nouveau_bios.c 				 int heads, int or)
heads            1388 drivers/gpu/drm/nouveau/nouveau_bios.c 	entry->heads = heads;
heads            1403 drivers/gpu/drm/nouveau/nouveau_bios.c 	entry->heads = (conn >> 8) & 0xf;
heads            1537 drivers/gpu/drm/nouveau/nouveau_bios.c 	entry->hashm = (entry->heads << 8) | (link << 6) | entry->or;
heads            1570 drivers/gpu/drm/nouveau/nouveau_bios.c 	entry->heads = ((conn & 0x001c0000) >> 18) + 1;
heads            1571 drivers/gpu/drm/nouveau/nouveau_bios.c 	entry->or = entry->heads; /* same as heads, hopefully safe enough */
heads            1624 drivers/gpu/drm/nouveau/nouveau_bios.c 				ient->heads |= jent->heads;
heads             265 drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c 		 outp->info.bus, outp->info.heads);
heads             117 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dcb.c 	return (outp->heads << 8) | (outp->link << 6) | outp->or;
heads             133 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dcb.c 			outp->heads     = (conn & 0x00000f00) >> 8;
heads             139 drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.c 	u32 heads, x, y, px = 0;
heads             142 drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.c 	heads = nvkm_rd32(device, 0x610050);
heads             145 drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.c 		if (heads & (2 << (i << 3))) {
heads             129 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/memx.c 	u32 heads, x, y, px = 0;
heads             133 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/memx.c 		heads = nvkm_rd32(device, 0x610050);
heads             136 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/memx.c 			if (heads & (2 << (i << 3))) {
heads             257 drivers/gpu/drm/qxl/qxl_dev.h 		struct qxl_urect heads[64];
heads             873 drivers/gpu/drm/qxl/qxl_dev.h 	struct qxl_head heads[0];
heads              55 drivers/gpu/drm/qxl/qxl_display.c 				heads, count), GFP_KERNEL);
heads             105 drivers/gpu/drm/qxl/qxl_display.c 			&qdev->rom->client_monitors_config.heads[i];
heads             107 drivers/gpu/drm/qxl/qxl_display.c 			&qdev->client_monitors_config->heads[i];
heads             153 drivers/gpu/drm/qxl/qxl_display.c 		head = &qdev->client_monitors_config->heads[output->index];
heads             259 drivers/gpu/drm/qxl/qxl_display.c 	head = &qdev->client_monitors_config->heads[h];
heads             296 drivers/gpu/drm/qxl/qxl_display.c 		struct qxl_head *head = &qdev->monitors_config->heads[i];
heads             352 drivers/gpu/drm/qxl/qxl_display.c 	if (head.width  == qdev->monitors_config->heads[i].width  &&
heads             353 drivers/gpu/drm/qxl/qxl_display.c 	    head.height == qdev->monitors_config->heads[i].height &&
heads             354 drivers/gpu/drm/qxl/qxl_display.c 	    head.x      == qdev->monitors_config->heads[i].x      &&
heads             355 drivers/gpu/drm/qxl/qxl_display.c 	    head.y      == qdev->monitors_config->heads[i].y      &&
heads             367 drivers/gpu/drm/qxl/qxl_display.c 	qdev->monitors_config->heads[i] = head;
heads             989 drivers/gpu/drm/qxl/qxl_display.c 		head = &qdev->client_monitors_config->heads[output->index];
heads            1049 drivers/gpu/drm/qxl/qxl_display.c 		     qxl_head_enabled(&qdev->client_monitors_config->heads[output->index]);
heads             323 drivers/ide/ide-floppy.c 	u8 heads, sectors;
heads             345 drivers/ide/ide-floppy.c 	heads         = buf[8 + 4];
heads             348 drivers/ide/ide-floppy.c 	capacity = cyls * heads * sectors * sector_size;
heads             353 drivers/ide/ide-floppy.c 				drive->name, capacity / 1024, cyls, heads,
heads             358 drivers/ide/ide-floppy.c 	drive->bios_head = heads;
heads             281 drivers/ide/ide-gd.c 	geo->heads = drive->bios_head;
heads             992 drivers/md/dm-ioctl.c 	geometry.heads = indata[1];
heads             873 drivers/md/dm.c 	sector_t sz = (sector_t)geo->cylinders * geo->heads * geo->sectors;
heads            7244 drivers/md/md.c 	geo->heads = 2;
heads            1748 drivers/memstick/core/ms_block.c 		msb->geometry.heads = chs_table[i].head;
heads             127 drivers/memstick/core/mspro_block.c 	__be16 heads;
heads             146 drivers/memstick/core/mspro_block.c 	unsigned short        heads;
heads             235 drivers/memstick/core/mspro_block.c 	geo->heads = msb->heads;
heads             483 drivers/memstick/core/mspro_block.c 			be16_to_cpu(x_devinfo->heads));
heads            1197 drivers/memstick/core/mspro_block.c 	msb->heads = be16_to_cpu(dev_info->heads);
heads            2088 drivers/message/fusion/mptscsih.c 	int		heads;
heads            2093 drivers/message/fusion/mptscsih.c 	heads = 64;
heads            2096 drivers/message/fusion/mptscsih.c 	dummy = heads * sectors;
heads            2105 drivers/message/fusion/mptscsih.c 		heads = 255;
heads            2107 drivers/message/fusion/mptscsih.c 		dummy = heads * sectors;
heads            2113 drivers/message/fusion/mptscsih.c 	geom[0] = heads;
heads             338 drivers/mmc/core/block.c 	geo->heads = 4;
heads             950 drivers/mtd/ftl.c 	geo->heads = 1;
heads              75 drivers/mtd/inftlcore.c 	inftl->heads = 16;
heads              77 drivers/mtd/inftlcore.c 	temp = inftl->cylinders * inftl->heads;
heads              82 drivers/mtd/inftlcore.c 		inftl->heads = inftl->mbd.size / temp;
heads              85 drivers/mtd/inftlcore.c 			inftl->heads++;
heads              86 drivers/mtd/inftlcore.c 			temp = inftl->heads * inftl->sectors;
heads              91 drivers/mtd/inftlcore.c 	if (inftl->mbd.size != inftl->heads * inftl->cylinders * inftl->sectors) {
heads             100 drivers/mtd/inftlcore.c 			inftl->cylinders, inftl->heads , inftl->sectors,
heads             101 drivers/mtd/inftlcore.c 			(long)inftl->cylinders * (long)inftl->heads *
heads             920 drivers/mtd/inftlcore.c 	geo->heads = inftl->heads;
heads             499 drivers/mtd/inftlmount.c 		s->EraseSize, s->heads, s->sectors, s->cylinders,
heads              68 drivers/mtd/nftlcore.c 	nftl->heads = 16;
heads              70 drivers/mtd/nftlcore.c 	temp = nftl->cylinders * nftl->heads;
heads              75 drivers/mtd/nftlcore.c 		nftl->heads = nftl->mbd.size / temp;
heads              78 drivers/mtd/nftlcore.c 			nftl->heads++;
heads              79 drivers/mtd/nftlcore.c 			temp = nftl->heads * nftl->sectors;
heads              84 drivers/mtd/nftlcore.c 	if (nftl->mbd.size != nftl->heads * nftl->cylinders * nftl->sectors) {
heads              93 drivers/mtd/nftlcore.c 			nftl->cylinders, nftl->heads , nftl->sectors,
heads              94 drivers/mtd/nftlcore.c 			(long)nftl->cylinders * (long)nftl->heads *
heads             771 drivers/mtd/nftlcore.c 	geo->heads = nftl->heads;
heads             715 drivers/mtd/rfd_ftl.c 	geo->heads = 1;
heads             638 drivers/mtd/sm_ftl.c 			ftl->heads = chs_table[i].head;
heads             646 drivers/mtd/sm_ftl.c 	ftl->heads =  33;
heads            1111 drivers/mtd/sm_ftl.c 	geo->heads = ftl->heads;
heads              54 drivers/mtd/sm_ftl.h 	int heads;
heads              22 drivers/mtd/ssfdc.c 	unsigned char heads;
heads             317 drivers/mtd/ssfdc.c 	ssfdc->heads = 16;
heads             319 drivers/mtd/ssfdc.c 	get_chs(mtd->size, NULL, &ssfdc->heads, &ssfdc->sectors);
heads             321 drivers/mtd/ssfdc.c 			((long)ssfdc->sectors * (long)ssfdc->heads));
heads             324 drivers/mtd/ssfdc.c 		ssfdc->cylinders, ssfdc->heads , ssfdc->sectors,
heads             325 drivers/mtd/ssfdc.c 		(long)ssfdc->cylinders * (long)ssfdc->heads *
heads             328 drivers/mtd/ssfdc.c 	ssfdc->mbd.size = (long)ssfdc->heads * (long)ssfdc->cylinders *
heads             411 drivers/mtd/ssfdc.c 			ssfdc->cylinders, ssfdc->heads, ssfdc->sectors);
heads             413 drivers/mtd/ssfdc.c 	geo->heads = ssfdc->heads;
heads             278 drivers/mtd/ubi/block.c 	geo->heads = 1;
heads            1505 drivers/nvdimm/btt.c 	geo->heads = 1 << 6;
heads            1638 drivers/nvme/host/core.c 	geo->heads = 1 << 6;
heads             480 drivers/s390/block/dasd_diag.c 	geo->heads = 16;
heads             282 drivers/s390/block/dasd_eckd.c 	u16 heads, beghead, endhead;
heads             362 drivers/s390/block/dasd_eckd.c 	heads = private->rdc_data.trk_per_cyl;
heads             363 drivers/s390/block/dasd_eckd.c 	begcyl = trk / heads;
heads             364 drivers/s390/block/dasd_eckd.c 	beghead = trk % heads;
heads             365 drivers/s390/block/dasd_eckd.c 	endcyl = totrk / heads;
heads             366 drivers/s390/block/dasd_eckd.c 	endhead = totrk % heads;
heads            2396 drivers/s390/block/dasd_eckd.c 	geo->heads = private->rdc_data.trk_per_cyl;
heads            3638 drivers/s390/block/dasd_eckd.c 	u16 heads, beg_head, end_head;
heads            3689 drivers/s390/block/dasd_eckd.c 		heads = private->rdc_data.trk_per_cyl;
heads            3698 drivers/s390/block/dasd_eckd.c 			beg_cyl = cur_from_trk / heads;
heads            3699 drivers/s390/block/dasd_eckd.c 			beg_head = cur_from_trk % heads;
heads            3700 drivers/s390/block/dasd_eckd.c 			end_cyl = cur_to_trk / heads;
heads            3701 drivers/s390/block/dasd_eckd.c 			end_head = cur_to_trk % heads;
heads            4211 drivers/s390/block/dasd_eckd.c 	u16 heads, beghead, endhead;
heads            4291 drivers/s390/block/dasd_eckd.c 	heads = basepriv->rdc_data.trk_per_cyl;
heads            4292 drivers/s390/block/dasd_eckd.c 	begcyl = trk / heads;
heads            4293 drivers/s390/block/dasd_eckd.c 	beghead = trk % heads;
heads            4294 drivers/s390/block/dasd_eckd.c 	endcyl = totrk / heads;
heads            4295 drivers/s390/block/dasd_eckd.c 	endhead = totrk % heads;
heads             220 drivers/s390/block/dasd_fba.c 	geo->heads = 16;
heads             244 drivers/s390/block/xpram.c 	geo->heads = 4;
heads            1700 drivers/scsi/3w-9xxx.c 	int heads, sectors, cylinders;
heads            1706 drivers/scsi/3w-9xxx.c 		heads = 255;
heads            1708 drivers/scsi/3w-9xxx.c 		cylinders = sector_div(capacity, heads * sectors);
heads            1710 drivers/scsi/3w-9xxx.c 		heads = 64;
heads            1712 drivers/scsi/3w-9xxx.c 		cylinders = sector_div(capacity, heads * sectors);
heads            1715 drivers/scsi/3w-9xxx.c 	geom[0] = heads;
heads            1410 drivers/scsi/3w-sas.c 	int heads, sectors;
heads            1416 drivers/scsi/3w-sas.c 		heads = 255;
heads            1419 drivers/scsi/3w-sas.c 		heads = 64;
heads            1423 drivers/scsi/3w-sas.c 	geom[0] = heads;
heads            1425 drivers/scsi/3w-sas.c 	geom[2] = sector_div(capacity, heads * sectors); /* cylinders */
heads            1346 drivers/scsi/3w-xxxx.c 	int heads, sectors, cylinders;
heads            1352 drivers/scsi/3w-xxxx.c 	heads = 64;
heads            1354 drivers/scsi/3w-xxxx.c 	cylinders = sector_div(capacity, heads * sectors);
heads            1357 drivers/scsi/3w-xxxx.c 		heads = 255;
heads            1359 drivers/scsi/3w-xxxx.c 		cylinders = sector_div(capacity, heads * sectors);
heads            1362 drivers/scsi/3w-xxxx.c 	dprintk(KERN_NOTICE "3w-xxxx: tw_scsi_biosparam(): heads = %d, sectors = %d, cylinders = %d\n", heads, sectors, cylinders);
heads            1363 drivers/scsi/3w-xxxx.c 	geom[0] = heads;			 
heads            3394 drivers/scsi/BusLogic.c 			diskparam->heads = 255;
heads            3397 drivers/scsi/BusLogic.c 			diskparam->heads = 128;
heads            3401 drivers/scsi/BusLogic.c 		diskparam->heads = 64;
heads            3404 drivers/scsi/BusLogic.c 	diskparam->cylinders = (unsigned long) capacity / (diskparam->heads * diskparam->sectors);
heads            3423 drivers/scsi/BusLogic.c 				diskparam->heads = 64;
heads            3427 drivers/scsi/BusLogic.c 				diskparam->heads = 128;
heads            3431 drivers/scsi/BusLogic.c 				diskparam->heads = 255;
heads            3441 drivers/scsi/BusLogic.c 		diskparam->cylinders = (unsigned long) capacity / (diskparam->heads * diskparam->sectors);
heads            3444 drivers/scsi/BusLogic.c 				blogic_warn("Adopting Geometry %d/%d from Partition Table\n", adapter, diskparam->heads, diskparam->sectors);
heads            3447 drivers/scsi/BusLogic.c 			blogic_warn("not compatible with current BusLogic " "Host Adapter Geometry %d/%d\n", adapter, diskparam->heads, diskparam->sectors);
heads            1086 drivers/scsi/BusLogic.h 	int heads;
heads             434 drivers/scsi/aacraid/aacraid.h 	int heads;
heads             309 drivers/scsi/aacraid/linit.c 			param->heads = 255;
heads             312 drivers/scsi/aacraid/linit.c 			param->heads = 128;
heads             316 drivers/scsi/aacraid/linit.c 		param->heads = 64;
heads             320 drivers/scsi/aacraid/linit.c 	param->cylinders = cap_to_cyls(capacity, param->heads * param->sectors);
heads             343 drivers/scsi/aacraid/linit.c 				param->heads = 64;
heads             347 drivers/scsi/aacraid/linit.c 				param->heads = 128;
heads             351 drivers/scsi/aacraid/linit.c 				param->heads = 255;
heads             363 drivers/scsi/aacraid/linit.c 		param->cylinders = cap_to_cyls(capacity, param->heads * param->sectors);
heads             367 drivers/scsi/aacraid/linit.c 					param->heads, param->sectors, num));
heads             372 drivers/scsi/aacraid/linit.c 					param->heads, param->sectors));
heads             727 drivers/scsi/aic7xxx/aic79xx_osm.c 	int	 heads;
heads             744 drivers/scsi/aic7xxx/aic79xx_osm.c 	heads = 64;
heads             746 drivers/scsi/aic7xxx/aic79xx_osm.c 	cylinders = aic_sector_div(capacity, heads, sectors);
heads             753 drivers/scsi/aic7xxx/aic79xx_osm.c 		heads = 255;
heads             755 drivers/scsi/aic7xxx/aic79xx_osm.c 		cylinders = aic_sector_div(capacity, heads, sectors);
heads             757 drivers/scsi/aic7xxx/aic79xx_osm.c 	geom[0] = heads;
heads             699 drivers/scsi/aic7xxx/aic7xxx_osm.c 	int	 heads;
heads             718 drivers/scsi/aic7xxx/aic7xxx_osm.c 	heads = 64;
heads             720 drivers/scsi/aic7xxx/aic7xxx_osm.c 	cylinders = aic_sector_div(capacity, heads, sectors);
heads             729 drivers/scsi/aic7xxx/aic7xxx_osm.c 		heads = 255;
heads             731 drivers/scsi/aic7xxx/aic7xxx_osm.c 		cylinders = aic_sector_div(capacity, heads, sectors);
heads             733 drivers/scsi/aic7xxx/aic7xxx_osm.c 	geom[0] = heads;
heads             137 drivers/scsi/aic7xxx/aiclib.h aic_sector_div(sector_t capacity, int heads, int sectors)
heads             140 drivers/scsi/aic7xxx/aiclib.h 	sector_div(capacity, (heads * sectors));
heads             356 drivers/scsi/arcmsr/arcmsr_hba.c 	int ret, heads, sectors, cylinders, total_capacity;
heads             367 drivers/scsi/arcmsr/arcmsr_hba.c 	heads = 64;
heads             369 drivers/scsi/arcmsr/arcmsr_hba.c 	cylinders = total_capacity / (heads * sectors);
heads             371 drivers/scsi/arcmsr/arcmsr_hba.c 		heads = 255;
heads             373 drivers/scsi/arcmsr/arcmsr_hba.c 		cylinders = total_capacity / (heads * sectors);
heads             375 drivers/scsi/arcmsr/arcmsr_hba.c 	geom[0] = heads;
heads            1640 drivers/scsi/atp870u.c 	int heads, sectors, cylinders;
heads            1642 drivers/scsi/atp870u.c 	heads = 64;
heads            1644 drivers/scsi/atp870u.c 	cylinders = (unsigned long)capacity / (heads * sectors);
heads            1646 drivers/scsi/atp870u.c 		heads = 255;
heads            1648 drivers/scsi/atp870u.c 		cylinders = (unsigned long)capacity / (heads * sectors);
heads            1650 drivers/scsi/atp870u.c 	ip[0] = heads;
heads            1063 drivers/scsi/dc395x.c 	int heads, sectors, cylinders;
heads            1069 drivers/scsi/dc395x.c 	heads = 64;
heads            1071 drivers/scsi/dc395x.c 	cylinders = size / (heads * sectors);
heads            1074 drivers/scsi/dc395x.c 		heads = 255;
heads            1076 drivers/scsi/dc395x.c 		cylinders = size / (heads * sectors);
heads            1078 drivers/scsi/dc395x.c 	geom[0] = heads;
heads              90 drivers/scsi/dpt/dpti_ioctl.h 	unsigned heads;            /* heads for drives on cntlr.      */
heads              83 drivers/scsi/dpt/sys_info.h    uCHAR        heads;          /* Up to 255 */
heads             484 drivers/scsi/dpt_i2o.c 	int heads=-1;
heads             492 drivers/scsi/dpt_i2o.c 		heads = 18;
heads             497 drivers/scsi/dpt_i2o.c 		heads = 64;
heads             502 drivers/scsi/dpt_i2o.c 		heads = 65;
heads             507 drivers/scsi/dpt_i2o.c 		heads = 128;
heads             512 drivers/scsi/dpt_i2o.c 		heads = 255;
heads             515 drivers/scsi/dpt_i2o.c 	cylinders = sector_div(capacity, heads * sectors);
heads             519 drivers/scsi/dpt_i2o.c 		heads = 252;
heads             524 drivers/scsi/dpt_i2o.c 	geom[0] = heads;
heads             117 drivers/scsi/gdth.c static void gdth_eval_mapping(u32 size, u32 *cyls, int *heads, int *secs);
heads             385 drivers/scsi/gdth.c static void gdth_eval_mapping(u32 size, u32 *cyls, int *heads, int *secs)
heads             389 drivers/scsi/gdth.c         *heads = HEADS;
heads             394 drivers/scsi/gdth.c             *heads = MEDHEADS;
heads             398 drivers/scsi/gdth.c             *heads = BIGHEADS;
heads            1494 drivers/scsi/gdth.c     ha->hdr[hdrive].heads = (u8)drv_hds;
heads            3372 drivers/scsi/gdth.c     if (b != ha->virt_bus || ha->hdr[t].heads == 0) {
heads            3377 drivers/scsi/gdth.c         ip[0] = ha->hdr[t].heads;
heads            3811 drivers/scsi/gdth.c             ha->hdr[i].heads = hds;
heads             850 drivers/scsi/gdth.h         u8          heads;                  /* mapping */
heads             563 drivers/scsi/initio.c 	u8 *heads;
heads             617 drivers/scsi/initio.c 	     heads = bios_addr + 0x180;
heads             627 drivers/scsi/initio.c 		host->targets[i].heads = *heads++;
heads             628 drivers/scsi/initio.c 		if (host->targets[i].heads == 255)
heads             632 drivers/scsi/initio.c 		host->targets[i].sectors = *heads++;
heads            2673 drivers/scsi/initio.c 	if (tc->heads) {
heads            2674 drivers/scsi/initio.c 		info_array[0] = tc->heads;
heads            2676 drivers/scsi/initio.c 		info_array[2] = (unsigned long)capacity / tc->heads / tc->sectors;
heads             470 drivers/scsi/initio.h 	u8 heads;
heads            4748 drivers/scsi/ipr.c 	int heads, sectors;
heads            4751 drivers/scsi/ipr.c 	heads = 128;
heads            4758 drivers/scsi/ipr.c 	parm[0] = heads;
heads            1144 drivers/scsi/ips.c 	int heads;
heads            1162 drivers/scsi/ips.c 		heads = IPS_NORM_HEADS;
heads            1165 drivers/scsi/ips.c 		heads = IPS_COMP_HEADS;
heads            1169 drivers/scsi/ips.c 	cylinders = (unsigned long) capacity / (heads * sectors);
heads            1172 drivers/scsi/ips.c 		  heads, sectors, cylinders);
heads            1174 drivers/scsi/ips.c 	geom[0] = heads;
heads            4090 drivers/scsi/ips.c 	uint16_t heads;
heads            4099 drivers/scsi/ips.c 		heads = IPS_NORM_HEADS;
heads            4102 drivers/scsi/ips.c 		heads = IPS_COMP_HEADS;
heads            4108 drivers/scsi/ips.c 	     1) / (heads * sectors);
heads            4140 drivers/scsi/ips.c 		mdata.pdata.pg4.Heads = heads;
heads            2799 drivers/scsi/megaraid.c 	int	heads;
heads            2809 drivers/scsi/megaraid.c 			heads = 64;
heads            2811 drivers/scsi/megaraid.c 			cylinders = (ulong)capacity / (heads * sectors);
heads            2818 drivers/scsi/megaraid.c 				heads = 255;
heads            2820 drivers/scsi/megaraid.c 				cylinders = (ulong)capacity / (heads * sectors);
heads            2824 drivers/scsi/megaraid.c 			geom[0] = heads;
heads            2844 drivers/scsi/megaraid.c 		heads = 64;
heads            2846 drivers/scsi/megaraid.c 		cylinders = (ulong)capacity / (heads * sectors);
heads            2850 drivers/scsi/megaraid.c 			heads = 255;
heads            2852 drivers/scsi/megaraid.c 			cylinders = (ulong)capacity / (heads * sectors);
heads            2856 drivers/scsi/megaraid.c 		geom[0] = heads;
heads            3076 drivers/scsi/megaraid/megaraid_sas_base.c 	int heads;
heads            3082 drivers/scsi/megaraid/megaraid_sas_base.c 	heads = 64;
heads            3085 drivers/scsi/megaraid/megaraid_sas_base.c 	tmp = heads * sectors;
heads            3095 drivers/scsi/megaraid/megaraid_sas_base.c 		heads = 255;
heads            3097 drivers/scsi/megaraid/megaraid_sas_base.c 		tmp = heads*sectors;
heads            3102 drivers/scsi/megaraid/megaraid_sas_base.c 	geom[0] = heads;
heads            2485 drivers/scsi/mpt3sas/mpt3sas_scsih.c 	int		heads;
heads            2490 drivers/scsi/mpt3sas/mpt3sas_scsih.c 	heads = 64;
heads            2493 drivers/scsi/mpt3sas/mpt3sas_scsih.c 	dummy = heads * sectors;
heads            2502 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		heads = 255;
heads            2504 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		dummy = heads * sectors;
heads            2510 drivers/scsi/mpt3sas/mpt3sas_scsih.c 	params[0] = heads;
heads            2150 drivers/scsi/mvumi.c 	int heads, sectors;
heads            2154 drivers/scsi/mvumi.c 	heads = 64;
heads            2156 drivers/scsi/mvumi.c 	tmp = heads * sectors;
heads            2161 drivers/scsi/mvumi.c 		heads = 255;
heads            2163 drivers/scsi/mvumi.c 		tmp = heads * sectors;
heads            2167 drivers/scsi/mvumi.c 	geom[0] = heads;
heads            1037 drivers/scsi/qla1280.c 	int heads, sectors, cylinders;
heads            1039 drivers/scsi/qla1280.c 	heads = 64;
heads            1041 drivers/scsi/qla1280.c 	cylinders = (unsigned long)capacity / (heads * sectors);
heads            1043 drivers/scsi/qla1280.c 		heads = 255;
heads            1045 drivers/scsi/qla1280.c 		cylinders = (unsigned long)capacity / (heads * sectors);
heads            1050 drivers/scsi/qla1280.c 	geom[0] = heads;
heads             235 drivers/scsi/scsicam.c 	unsigned long heads, sectors, cylinders, temp;
heads             241 drivers/scsi/scsicam.c 	heads = capacity / temp;	/* Compute value for number of heads */
heads             243 drivers/scsi/scsicam.c 		heads++;	/* Else, increment number of heads */
heads             244 drivers/scsi/scsicam.c 		temp = cylinders * heads;	/* Compute divisor for sectors */
heads             249 drivers/scsi/scsicam.c 			temp = heads * sectors;		/* Compute divisor for cylinders */
heads             258 drivers/scsi/scsicam.c 	*hds = (unsigned int) heads;
heads            1442 drivers/scsi/sd.c 	geo->heads = diskinfo[0];
heads            1461 drivers/scsi/stex.c 	int heads = 255, sectors = 63;
heads            1464 drivers/scsi/stex.c 		heads = 64;
heads            1468 drivers/scsi/stex.c 	sector_div(capacity, heads * sectors);
heads            1470 drivers/scsi/stex.c 	geom[0] = heads;
heads            1453 drivers/scsi/storvsc_drv.c 	int heads, sectors_pt;
heads            1458 drivers/scsi/storvsc_drv.c 	heads = 0xff;
heads            1460 drivers/scsi/storvsc_drv.c 	sector_div(cylinders, heads * sectors_pt);
heads            1461 drivers/scsi/storvsc_drv.c 	if ((sector_t)(cylinders + 1) * heads * sectors_pt < nsect)
heads            1464 drivers/scsi/storvsc_drv.c 	info[0] = heads;
heads             367 drivers/vhost/net.c 		if (vq->heads[i].len == VHOST_DMA_FAILED_LEN)
heads             369 drivers/vhost/net.c 		if (VHOST_DMA_IS_DONE(vq->heads[i].len)) {
heads             370 drivers/vhost/net.c 			vq->heads[i].len = VHOST_DMA_CLEAR_LEN;
heads             378 drivers/vhost/net.c 					    &vq->heads[nvq->done_idx], add);
heads             393 drivers/vhost/net.c 	vq->heads[ubuf->desc].len = success ?
heads             455 drivers/vhost/net.c 	vhost_add_used_and_signal_n(dev, vq, vq->heads, nvq->done_idx);
heads             838 drivers/vhost/net.c 		vq->heads[nvq->done_idx].id = cpu_to_vhost32(vq, head);
heads             839 drivers/vhost/net.c 		vq->heads[nvq->done_idx].len = 0;
heads             898 drivers/vhost/net.c 			vq->heads[nvq->upend_idx].id = cpu_to_vhost32(vq, head);
heads             899 drivers/vhost/net.c 			vq->heads[nvq->upend_idx].len = VHOST_DMA_IN_PROGRESS;
heads            1027 drivers/vhost/net.c 		       struct vring_used_elem *heads,
heads            1070 drivers/vhost/net.c 		heads[headcount].id = cpu_to_vhost32(vq, d);
heads            1072 drivers/vhost/net.c 		heads[headcount].len = cpu_to_vhost32(vq, len);
heads            1077 drivers/vhost/net.c 	heads[headcount - 1].len = cpu_to_vhost32(vq, len + datalen);
heads            1148 drivers/vhost/net.c 		headcount = get_rx_bufs(vq, vq->heads + nvq->done_idx,
heads             376 drivers/vhost/vhost.c 	kfree(vq->heads);
heads             377 drivers/vhost/vhost.c 	vq->heads = NULL;
heads             393 drivers/vhost/vhost.c 		vq->heads = kmalloc_array(dev->iov_limit, sizeof(*vq->heads),
heads             395 drivers/vhost/vhost.c 		if (!vq->indirect || !vq->log || !vq->heads)
heads             484 drivers/vhost/vhost.c 		vq->heads = NULL;
heads            2360 drivers/vhost/vhost.c 	struct vring_used_elem heads = {
heads            2365 drivers/vhost/vhost.c 	return vhost_add_used_n(vq, &heads, 1);
heads            2370 drivers/vhost/vhost.c 			    struct vring_used_elem *heads,
heads            2379 drivers/vhost/vhost.c 	if (vhost_put_used(vq, heads, start, count)) {
heads            2403 drivers/vhost/vhost.c int vhost_add_used_n(struct vhost_virtqueue *vq, struct vring_used_elem *heads,
heads            2411 drivers/vhost/vhost.c 		r = __vhost_add_used_n(vq, heads, n);
heads            2414 drivers/vhost/vhost.c 		heads += n;
heads            2417 drivers/vhost/vhost.c 	r = __vhost_add_used_n(vq, heads, count);
heads            2497 drivers/vhost/vhost.c 				 struct vring_used_elem *heads, unsigned count)
heads            2499 drivers/vhost/vhost.c 	vhost_add_used_n(vq, heads, count);
heads             129 drivers/vhost/vhost.h 	struct vring_used_elem *heads;
heads             201 drivers/vhost/vhost.h int vhost_add_used_n(struct vhost_virtqueue *, struct vring_used_elem *heads,
heads             206 drivers/vhost/vhost.h 			       struct vring_used_elem *heads, unsigned count);
heads            2116 fs/btrfs/extent-tree.c static inline u64 heads_to_leaves(struct btrfs_fs_info *fs_info, u64 heads)
heads            2120 fs/btrfs/extent-tree.c 	num_bytes = heads * (sizeof(struct btrfs_extent_item) +
heads            2123 fs/btrfs/extent-tree.c 		num_bytes += heads * sizeof(struct btrfs_tree_block_info);
heads            1451 fs/fat/inode.c 	if (b->heads)
heads              47 fs/ntfs/layout.h 	le16 heads;			/* irrelevant */
heads            2096 fs/reiserfs/journal.c static void brelse_array(struct buffer_head **heads, int num)
heads            2100 fs/reiserfs/journal.c 		brelse(heads[i]);
heads             707 include/linux/libata.h 	u16			heads;		/* Number of heads */
heads              34 include/linux/mtd/inftl.h 	unsigned char heads;
heads              26 include/linux/mtd/nftl.h 	unsigned char heads;
heads             549 include/linux/perf_event.h 	struct hlist_head		heads[SWEVENT_HLIST_SIZE];
heads              14 include/uapi/linux/adfs_fs.h     __u8  heads;
heads             325 include/uapi/linux/hdreg.h       unsigned char heads;
heads             403 include/uapi/linux/hdreg.h 	unsigned short	heads;		/* Obsolete, "physical" heads */
heads             121 include/uapi/linux/msdos_fs.h 	__le16	heads;		/* number of heads */
heads              68 include/uapi/linux/virtio_blk.h 		__u8 heads;
heads            8375 kernel/events/core.c 	return &hlist->heads[hash];
heads            1458 kernel/time/timer.c 				    struct hlist_head *heads)
heads            1470 kernel/time/timer.c 			hlist_move_list(vec, heads++);
heads            1679 kernel/time/timer.c 				  struct hlist_head *heads)
heads            1705 kernel/time/timer.c 	return __collect_expired_timers(base, heads);
heads            1709 kernel/time/timer.c 					 struct hlist_head *heads)
heads            1711 kernel/time/timer.c 	return __collect_expired_timers(base, heads);
heads            1742 kernel/time/timer.c 	struct hlist_head heads[LVL_DEPTH];
heads            1769 kernel/time/timer.c 		levels = collect_expired_timers(base, heads);
heads            1773 kernel/time/timer.c 			expire_timers(base, heads + levels);
heads              27 tools/perf/lib/evlist.c 		INIT_HLIST_HEAD(&evlist->heads[i]);
heads             194 tools/perf/lib/evlist.c 	hlist_add_head(&sid->node, &evlist->heads[hash]);
heads              24 tools/perf/lib/include/internal/evlist.h 	struct hlist_head	 heads[PERF_EVLIST__HLIST_SIZE];
heads             449 tools/perf/util/evlist.c 	head = &evlist->core.heads[hash];
heads             535 tools/perf/util/evlist.c 	head = &evlist->core.heads[hash];