Searched refs:heads (Results 1 - 200 of 256) sorted by relevance

12

/linux-4.1.27/arch/frv/kernel/
H A DMakefile5 heads-y := head-uc-fr401.o head-uc-fr451.o head-uc-fr555.o
6 heads-$(CONFIG_MMU) := head-mmu-fr451.o
10 obj-y := $(heads-y) entry.o entry-table.o break.o switch_to.o \
/linux-4.1.27/drivers/scsi/
H A Dscsicam.c55 * scsicam_bios_param - Determine geometry of a disk in cylinders/heads/sectors.
58 * @ip: return value: ip[0]=heads, ip[1]=sectors, ip[2]=cylinders
112 * scsi_partsize - Parse cylinders/heads/sectors from PC partition table
116 * @hds: put heads here
222 * number of heads and maximizes the number of cylinders. This
223 * will support rather large disks before the number of heads
234 unsigned long heads, sectors, cylinders, temp; setsize() local
239 temp = cylinders * sectors; /* Compute divisor for heads */ setsize()
240 heads = capacity / temp; /* Compute value for number of heads */ setsize()
242 heads++; /* Else, increment number of heads */ setsize()
243 temp = cylinders * heads; /* Compute divisor for sectors */ setsize()
248 temp = heads * sectors; /* Compute divisor for cylinders */ setsize()
257 *hds = (unsigned int) heads; setsize()
H A Dultrastor.c235 unsigned char heads; member in struct:ultrastor_config
279 unsigned char heads; member in struct:__anon9693
462 config.heads = mapping_table[config_2.mapping_mode].heads; ultrastor_14f_detect()
596 config.heads = mapping_table[(config_2 >> 3) & 3].heads;
1038 unsigned int s = config.heads * config.sectors;
1040 dkinfo[0] = config.heads;
H A Deata_generic.h128 * >=8 heads (WD1003 rudimentary :-) */
372 __u32 heads; /* number of heads */ member in struct:drive_geom_emul
H A Dfdomain.c1597 unsigned char heads; fdomain_16x0_biosparam() member in struct:drive_info
1668 info_array[0] = i.heads; fdomain_16x0_biosparam()
1676 info_array[0] = i.heads + 1; fdomain_16x0_biosparam()
1715 info_array[0] = p[5] + 1; /* heads */ fdomain_16x0_biosparam()
1724 info_array[0] = 0xff; /* heads = 255 */ fdomain_16x0_biosparam()
1727 info_array[0] = 0x80; /* heads = 128 */ fdomain_16x0_biosparam()
1730 info_array[0] = 0x40; /* heads = 64 */ fdomain_16x0_biosparam()
H A D3w-9xxx.c1695 /* This funciton returns unit geometry in cylinders/heads/sectors */ twa_scsi_biosparam()
1698 int heads, sectors, cylinders; twa_scsi_biosparam() local
1704 heads = 255; twa_scsi_biosparam()
1706 cylinders = sector_div(capacity, heads * sectors); twa_scsi_biosparam()
1708 heads = 64; twa_scsi_biosparam()
1710 cylinders = sector_div(capacity, heads * sectors); twa_scsi_biosparam()
1713 geom[0] = heads; twa_scsi_biosparam()
H A Dstorvsc_drv.c1450 int heads, sectors_pt; storvsc_get_chs() local
1455 heads = 0xff; storvsc_get_chs()
1457 sector_div(cylinders, heads * sectors_pt); storvsc_get_chs()
1458 if ((sector_t)(cylinders + 1) * heads * sectors_pt < nsect) storvsc_get_chs()
1461 info[0] = heads; storvsc_get_chs()
H A Ddpt_i2o.c486 int heads=-1; adpt_bios_param() local
494 heads = 18; adpt_bios_param()
499 heads = 64; adpt_bios_param()
504 heads = 65; adpt_bios_param()
509 heads = 128; adpt_bios_param()
514 heads = 255; adpt_bios_param()
517 cylinders = sector_div(capacity, heads * sectors); adpt_bios_param()
521 heads = 252; adpt_bios_param()
526 geom[0] = heads; adpt_bios_param()
H A Dinitio.c593 u8 *heads; initio_init() local
647 heads = bios_addr + 0x180; initio_init()
657 host->targets[i].heads = *heads++; initio_init()
658 if (host->targets[i].heads == 255) initio_init()
662 host->targets[i].sectors = *heads++; initio_init()
2703 if (tc->heads) { i91u_biosparam()
2704 info_array[0] = tc->heads; i91u_biosparam()
2706 info_array[2] = (unsigned long)capacity / tc->heads / tc->sectors; i91u_biosparam()
H A D3w-xxxx.c1329 /* This funciton returns unit geometry in cylinders/heads/sectors */ tw_scsi_biosparam()
1333 int heads, sectors, cylinders; tw_scsi_biosparam() local
1339 heads = 64; tw_scsi_biosparam()
1341 cylinders = sector_div(capacity, heads * sectors); tw_scsi_biosparam()
1344 heads = 255; tw_scsi_biosparam()
1346 cylinders = sector_div(capacity, heads * sectors); tw_scsi_biosparam()
1349 dprintk(KERN_NOTICE "3w-xxxx: tw_scsi_biosparam(): heads = %d, sectors = %d, cylinders = %d\n", heads, sectors, cylinders); tw_scsi_biosparam()
1350 geom[0] = heads; tw_scsi_biosparam()
H A Dmvumi.c2198 int heads, sectors; mvumi_bios_param() local
2202 heads = 64; mvumi_bios_param()
2204 tmp = heads * sectors; mvumi_bios_param()
2209 heads = 255; mvumi_bios_param()
2211 tmp = heads * sectors; mvumi_bios_param()
2215 geom[0] = heads; mvumi_bios_param()
H A Du14-34f.c604 unsigned char heads; member in struct:hostdata
818 unsigned char heads; port_detect() member in struct:__anon9652
926 HD(j)->heads = mapping_table[config_2.mapping_mode].heads; port_detect()
1535 dkinfo[0] = HD(j)->heads; u14_34f_bios_param()
1537 dkinfo[2] = size / (HD(j)->heads * HD(j)->sectors); u14_34f_bios_param()
H A D3w-sas.c1410 /* This funciton returns unit geometry in cylinders/heads/sectors */ twl_scsi_biosparam()
1413 int heads, sectors; twl_scsi_biosparam() local
1419 heads = 255; twl_scsi_biosparam()
1422 heads = 64; twl_scsi_biosparam()
1426 geom[0] = heads; twl_scsi_biosparam()
1428 geom[2] = sector_div(capacity, heads * sectors); /* cylinders */ twl_scsi_biosparam()
H A Dmegaraid.c2837 int heads; megaraid_biosparam() local
2846 /* Default heads (64) & sectors (32) */ megaraid_biosparam()
2847 heads = 64; megaraid_biosparam()
2849 cylinders = (ulong)capacity / (heads * sectors); megaraid_biosparam()
2856 heads = 255; megaraid_biosparam()
2858 cylinders = (ulong)capacity / (heads * sectors); megaraid_biosparam()
2862 geom[0] = heads; megaraid_biosparam()
2881 /* Default heads (64) & sectors (32) */ megaraid_biosparam()
2882 heads = 64; megaraid_biosparam()
2884 cylinders = (ulong)capacity / (heads * sectors); megaraid_biosparam()
2888 heads = 255; megaraid_biosparam()
2890 cylinders = (ulong)capacity / (heads * sectors); megaraid_biosparam()
2894 geom[0] = heads; megaraid_biosparam()
H A DBusLogic.c3373 Parameters for Disk. The default disk geometry is 64 heads, 32 sectors, and
3381 heads and 32 sectors, and drives above 2 GB inclusive are given a disk
3382 geometry of 255 heads and 63 sectors. However, if the BIOS detects that the
3398 diskparam->heads = 255; blogic_diskparam()
3401 diskparam->heads = 128; blogic_diskparam()
3405 diskparam->heads = 64; blogic_diskparam()
3408 diskparam->cylinders = (unsigned long) capacity / (diskparam->heads * diskparam->sectors); blogic_diskparam()
3427 diskparam->heads = 64; blogic_diskparam()
3431 diskparam->heads = 128; blogic_diskparam()
3435 diskparam->heads = 255; blogic_diskparam()
3445 diskparam->cylinders = (unsigned long) capacity / (diskparam->heads * diskparam->sectors); blogic_diskparam()
3448 blogic_warn("Adopting Geometry %d/%d from Partition Table\n", adapter, diskparam->heads, diskparam->sectors); blogic_diskparam()
3451 blogic_warn("not compatible with current BusLogic " "Host Adapter Geometry %d/%d\n", adapter, diskparam->heads, diskparam->sectors); blogic_diskparam()
H A Dsym53c416.c805 ip[0] = 64; /* heads */ sym53c416_bios_param()
809 ip[0] = 255; /* heads */ sym53c416_bios_param()
H A Ddtc.c291 * major / minor, ip[] = {heads, sectors, cylinders}
H A Dstex.c1351 int heads = 255, sectors = 63; stex_biosparam() local
1354 heads = 64; stex_biosparam()
1358 sector_div(capacity, heads * sectors); stex_biosparam()
1360 geom[0] = heads; stex_biosparam()
H A Dt128.c276 * major / minor, ip[] = {heads, sectors, cylinders}
H A Dgdth.c144 static void gdth_eval_mapping(u32 size, u32 *cyls, int *heads, int *secs);
498 static void gdth_eval_mapping(u32 size, u32 *cyls, int *heads, int *secs) gdth_eval_mapping() argument
502 *heads = HEADS; gdth_eval_mapping()
507 *heads = MEDHEADS; gdth_eval_mapping()
511 *heads = BIGHEADS; gdth_eval_mapping()
1934 /* evaluate mapping (sectors per head, heads per cylinder) */ gdth_analyse_hdrive()
1943 ha->hdr[hdrive].heads = (u8)drv_hds; gdth_analyse_hdrive()
3982 if (b != ha->virt_bus || ha->hdr[t].heads == 0) { gdth_bios_param()
3987 ip[0] = ha->hdr[t].heads; gdth_bios_param()
3992 TRACE2(("gdth_bios_param(): %d heads, %d secs, %d cyls\n", gdth_bios_param()
4404 ha->hdr[i].heads = hds; ioc_rescan()
H A Datp870u.c3115 int heads, sectors, cylinders; atp870u_biosparam() local
3117 heads = 64; atp870u_biosparam()
3119 cylinders = (unsigned long)capacity / (heads * sectors); atp870u_biosparam()
3121 heads = 255; atp870u_biosparam()
3123 cylinders = (unsigned long)capacity / (heads * sectors); atp870u_biosparam()
3125 ip[0] = heads; atp870u_biosparam()
H A Dips.c1156 int heads; ips_biosparam() local
1174 heads = IPS_NORM_HEADS; ips_biosparam()
1177 heads = IPS_COMP_HEADS; ips_biosparam()
1181 cylinders = (unsigned long) capacity / (heads * sectors); ips_biosparam()
1183 DEBUG_VAR(2, "Geometry: heads: %d, sectors: %d, cylinders: %d", ips_biosparam()
1184 heads, sectors, cylinders); ips_biosparam()
1186 geom[0] = heads; ips_biosparam()
4109 uint16_t heads; ips_msense() local
4118 heads = IPS_NORM_HEADS; ips_msense()
4121 heads = IPS_COMP_HEADS; ips_msense()
4127 1) / (heads * sectors); ips_msense()
4159 mdata.pdata.pg4.Heads = heads; ips_msense()
H A Dpas16.c451 * major / minor, ip[] = {heads, sectors, cylinders}
H A Dgdth.h669 u8 heads_p_cyl; /* heads/cylinder */
882 u8 heads; /* mapping */ member in struct:__anon8901::__anon8902
H A Dwd719x.c542 geom[0] = 255; /* heads */ wd719x_biosparam()
545 geom[0] = 64; /* heads */ wd719x_biosparam()
H A Daha1542.c929 geom[0] = 255; /* heads */ aha1542_biosparam()
932 geom[0] = 64; /* heads */ aha1542_biosparam()
H A Dinitio.h470 u8 heads; member in struct:target_control
H A Dqla1280.c1065 int heads, sectors, cylinders; qla1280_biosparam() local
1067 heads = 64; qla1280_biosparam()
1069 cylinders = (unsigned long)capacity / (heads * sectors); qla1280_biosparam()
1071 heads = 255; qla1280_biosparam()
1073 cylinders = (unsigned long)capacity / (heads * sectors); qla1280_biosparam()
1078 geom[0] = heads; qla1280_biosparam()
H A Ddc395x.c1166 int heads, sectors, cylinders; dc395x_bios_param() local
1172 heads = 64; dc395x_bios_param()
1174 cylinders = size / (heads * sectors); dc395x_bios_param()
1177 heads = 255; dc395x_bios_param()
1179 cylinders = size / (heads * sectors); dc395x_bios_param()
1181 geom[0] = heads; dc395x_bios_param()
H A Deata.c142 * translation (255 heads, 63 sectors) as disk geometry.
406 * et:y force use of extended translation (255 heads, 63 sectors);
468 * disk=/dev/sda bios=0x80 sectors=63 heads=128 cylindres=546
H A DBusLogic.h1093 int heads; member in struct:bios_diskparam
H A DNCR53c406a.c759 info_array[0] = 64; /* heads */ NCR53c406a_biosparm()
/linux-4.1.27/include/uapi/linux/
H A Dadfs_fs.h13 __u8 heads; member in struct:adfs_discrecord
H A Defs_fs_sb.h31 __be16 fs_heads; /* heads per cylinder */
H A Dfd.h16 head, /* nr of heads */
276 /* Position of the heads of the 4 units attached to this FDC,
279 * position of these drive heads. By allowing such
281 * incurring the expensive cost of repositioning all heads.
H A Dmsdos_fs.h123 __le16 heads; /* number of heads */ member in struct:fat_boot_sector
H A Dvirtio_ring.h119 * // A ring of available descriptor heads with free-running index.
128 * // A ring of used descriptor heads with free-running index.
H A Dhdreg.h324 unsigned char heads; member in struct:hd_geometry
402 unsigned short heads; /* Obsolete, "physical" heads */ member in struct:hd_driveid
438 unsigned short cur_heads; /* Obsolete, l heads */
H A Dvirtio_blk.h66 __u8 heads; member in struct:virtio_blk_config::virtio_blk_geometry
H A Ddm-ioctl.h88 * "cylinders heads sectors_per_track start_sector"
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dpriv.h29 struct nvkm_oclass *, int heads,
H A Dgk110.c58 int heads = nv_rd32(parent, 0x022448); gk110_disp_ctor() local
61 ret = nvkm_disp_create(parent, engine, oclass, heads, gk110_disp_ctor()
76 priv->head.nr = heads; gk110_disp_ctor()
H A Dgm107.c58 int heads = nv_rd32(parent, 0x022448); gm107_disp_ctor() local
61 ret = nvkm_disp_create(parent, engine, oclass, heads, gm107_disp_ctor()
76 priv->head.nr = heads; gm107_disp_ctor()
H A Dgm204.c59 int heads = nv_rd32(parent, 0x022448); gm204_disp_ctor() local
62 ret = nvkm_disp_create(parent, engine, oclass, heads, gm204_disp_ctor()
77 priv->head.nr = heads; gm204_disp_ctor()
H A Dgk104.c223 int heads = nv_rd32(parent, 0x022448); gk104_disp_ctor() local
226 ret = nvkm_disp_create(parent, engine, oclass, heads, gk104_disp_ctor()
241 priv->head.nr = heads; gk104_disp_ctor()
H A Dbase.c187 struct nvkm_oclass *oclass, int heads, const char *intname, nvkm_disp_create_()
235 ret = nvkm_event_init(impl->vblank, 1, heads, &disp->vblank); nvkm_disp_create_()
186 nvkm_disp_create_(struct nvkm_object *parent, struct nvkm_object *engine, struct nvkm_oclass *oclass, int heads, const char *intname, const char *extname, int length, void **pobject) nvkm_disp_create_() argument
H A Doutp.c87 dcbE->bus, dcbE->heads); nvkm_output_create_()
H A Dvga.c155 /* CR44 takes values 0 (head A), 3 (head B) and 4 (heads tied)
H A Dgf110.c1259 int heads = nv_rd32(parent, 0x022448); gf110_disp_ctor() local
1262 ret = nvkm_disp_create(parent, engine, oclass, heads, gf110_disp_ctor()
1277 priv->head.nr = heads; gf110_disp_ctor()
/linux-4.1.27/include/linux/
H A Damifd.h33 unsigned int heads; /* number of heads */ member in struct:fd_drive_type
H A Drmap.h14 * The anon_vma heads a list of private "related" vmas, to scan if
H A Dide.h471 /* don't unload heads */
473 /* heads unloaded, please don't reset port */
524 u8 head; /* "real" number of heads */
526 u8 bios_head; /* BIOS/fdisk/LILO number of heads */
H A Data.h838 id[ATA_ID_CUR_HEADS] && /* heads in current translation */ ata_id_current_chs_valid()
933 * Some drives can be jumpered to use 15 heads instead of 16. ata_id_is_lba_capacity_ok()
H A Dlibata.h366 ATA_EH_PARK = (1 << 5), /* unload heads and stop I/O */
714 u16 heads; /* Number of heads */ member in struct:ata_device
H A Dperf_event.h331 struct hlist_head heads[SWEVENT_HLIST_SIZE]; member in struct:swevent_hlist
/linux-4.1.27/drivers/mtd/
H A Dssfdc.c25 unsigned char heads; member in struct:ssfdcr_record
320 ssfdc->heads = 16; ssfdcr_add_mtd()
322 get_chs(mtd->size, NULL, &ssfdc->heads, &ssfdc->sectors); ssfdcr_add_mtd()
324 ((long)ssfdc->sectors * (long)ssfdc->heads)); ssfdcr_add_mtd()
327 ssfdc->cylinders, ssfdc->heads , ssfdc->sectors, ssfdcr_add_mtd()
328 (long)ssfdc->cylinders * (long)ssfdc->heads * ssfdcr_add_mtd()
331 ssfdc->mbd.size = (long)ssfdc->heads * (long)ssfdc->cylinders * ssfdcr_add_mtd()
414 ssfdc->cylinders, ssfdc->heads, ssfdc->sectors); ssfdcr_getgeo()
416 geo->heads = ssfdc->heads; ssfdcr_getgeo()
H A Dsm_ftl.h60 int heads; member in struct:sm_ftl
H A Dinftlcore.c88 inftl->heads = 16; inftl_add_mtd()
90 temp = inftl->cylinders * inftl->heads; inftl_add_mtd()
95 inftl->heads = inftl->mbd.size / temp; inftl_add_mtd()
98 inftl->heads++; inftl_add_mtd()
99 temp = inftl->heads * inftl->sectors; inftl_add_mtd()
104 if (inftl->mbd.size != inftl->heads * inftl->cylinders * inftl->sectors) { inftl_add_mtd()
107 mbd.size == heads * cylinders * sectors inftl_add_mtd()
113 inftl->cylinders, inftl->heads , inftl->sectors, inftl_add_mtd()
114 (long)inftl->cylinders * (long)inftl->heads * inftl_add_mtd()
933 geo->heads = inftl->heads; inftl_getgeo()
H A Dnftlcore.c81 nftl->heads = 16; nftl_add_mtd()
83 temp = nftl->cylinders * nftl->heads; nftl_add_mtd()
88 nftl->heads = nftl->mbd.size / temp; nftl_add_mtd()
91 nftl->heads++; nftl_add_mtd()
92 temp = nftl->heads * nftl->sectors; nftl_add_mtd()
97 if (nftl->mbd.size != nftl->heads * nftl->cylinders * nftl->sectors) { nftl_add_mtd()
100 mbd.size == heads * cylinders * sectors nftl_add_mtd()
106 nftl->cylinders, nftl->heads , nftl->sectors, nftl_add_mtd()
107 (long)nftl->cylinders * (long)nftl->heads * nftl_add_mtd()
784 geo->heads = nftl->heads; nftl_getgeo()
H A Dsm_ftl.c652 ftl->heads = chs_table[i].head; sm_get_media_info()
660 ftl->heads = 33; sm_get_media_info()
1122 geo->heads = ftl->heads; sm_getgeo()
H A Dinftlmount.c503 s->EraseSize, s->heads, s->sectors, s->cylinders, INFTL_dumptables()
H A Drfd_ftl.c750 geo->heads = 1; rfd_ftl_getgeo()
H A Dftl.c989 geo->heads = 1; ftl_getgeo()
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
H A Ddcb.h20 uint8_t heads; member in struct:dcb_output
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
H A Dmemx.c126 u32 heads, x, y, px = 0; nvkm_memx_wait_vblank() local
130 heads = nv_rd32(pmu, 0x610050); nvkm_memx_wait_vblank()
133 if (heads & (2 << (i << 3))) { nvkm_memx_wait_vblank()
/linux-4.1.27/drivers/vhost/
H A Dvhost.h101 struct vring_used_elem *heads; member in struct:vhost_virtqueue
145 int vhost_add_used_n(struct vhost_virtqueue *, struct vring_used_elem *heads,
150 struct vring_used_elem *heads, unsigned count);
H A Dnet.c248 if (vq->heads[i].len == VHOST_DMA_FAILED_LEN) vhost_zerocopy_signal_used()
250 if (VHOST_DMA_IS_DONE(vq->heads[i].len)) { vhost_zerocopy_signal_used()
251 vq->heads[i].len = VHOST_DMA_CLEAR_LEN; vhost_zerocopy_signal_used()
259 &vq->heads[nvq->done_idx], add); vhost_zerocopy_signal_used()
274 vq->heads[ubuf->desc].len = success ? vhost_zerocopy_callback()
378 vq->heads[nvq->upend_idx].id = cpu_to_vhost32(vq, head); handle_tx()
379 vq->heads[nvq->upend_idx].len = VHOST_DMA_IN_PROGRESS; handle_tx()
447 * returns number of buffer heads allocated, negative on error
450 struct vring_used_elem *heads, get_rx_bufs()
493 heads[headcount].id = cpu_to_vhost32(vq, d); get_rx_bufs()
495 heads[headcount].len = cpu_to_vhost32(vq, len); get_rx_bufs()
500 heads[headcount - 1].len = cpu_to_vhost32(vq, len + datalen); get_rx_bufs()
560 headcount = get_rx_bufs(vq, vq->heads, vhost_len, handle_rx()
630 vhost_add_used_and_signal_n(&net->dev, vq, vq->heads, handle_rx()
449 get_rx_bufs(struct vhost_virtqueue *vq, struct vring_used_elem *heads, int datalen, unsigned *iovcount, struct vhost_log *log, unsigned *log_num, unsigned int quota) get_rx_bufs() argument
H A Dvhost.c259 kfree(vq->heads); vhost_vq_free_iovecs()
260 vq->heads = NULL; vhost_vq_free_iovecs()
274 vq->heads = kmalloc(sizeof *vq->heads * UIO_MAXIOV, GFP_KERNEL); vhost_dev_alloc_iovecs()
275 if (!vq->indirect || !vq->log || !vq->heads) vhost_dev_alloc_iovecs()
315 vq->heads = NULL; vhost_dev_init()
1360 struct vring_used_elem heads = { vhost_add_used() local
1365 return vhost_add_used_n(vq, &heads, 1); vhost_add_used()
1370 struct vring_used_elem *heads, __vhost_add_used_n()
1380 if (__put_user(heads[0].id, &used->id)) { __vhost_add_used_n()
1384 if (__put_user(heads[0].len, &used->len)) { __vhost_add_used_n()
1388 } else if (__copy_to_user(used, heads, count * sizeof *used)) { __vhost_add_used_n()
1414 int vhost_add_used_n(struct vhost_virtqueue *vq, struct vring_used_elem *heads, vhost_add_used_n() argument
1422 r = __vhost_add_used_n(vq, heads, n); vhost_add_used_n()
1425 heads += n; vhost_add_used_n()
1428 r = __vhost_add_used_n(vq, heads, count); vhost_add_used_n()
1507 struct vring_used_elem *heads, unsigned count) vhost_add_used_and_signal_n()
1509 vhost_add_used_n(vq, heads, count); vhost_add_used_and_signal_n()
1369 __vhost_add_used_n(struct vhost_virtqueue *vq, struct vring_used_elem *heads, unsigned count) __vhost_add_used_n() argument
1505 vhost_add_used_and_signal_n(struct vhost_dev *dev, struct vhost_virtqueue *vq, struct vring_used_elem *heads, unsigned count) vhost_add_used_and_signal_n() argument
/linux-4.1.27/include/linux/mtd/
H A Dinftl.h33 unsigned char heads; member in struct:INFTLrecord
H A Dnftl.h40 unsigned char heads; member in struct:NFTLrecord
/linux-4.1.27/block/partitions/
H A Dacorn.c206 (dr->heads + (dr->lowsector & 0x40 ? 1 : 0)) * adfspart_check_CUMANA()
258 unsigned long start_sect, nr_sects, sectscyl, heads; adfspart_check_ADFS() local
275 heads = dr->heads + ((dr->lowsector >> 6) & 1); adfspart_check_ADFS()
276 sectscyl = dr->secspertrack * heads; adfspart_check_ADFS()
H A Dibm.c35 /* decode cylinder and heads for large volumes */ cchh2blk()
40 return cyl * geo->heads * geo->sectors + cchh2blk()
53 /* decode cylinder and heads for large volumes */ cchhb2blk()
58 return cyl * geo->heads * geo->sectors + cchhb2blk()
220 geo_size = geo->cylinders * geo->heads find_lnx1_partitions()
/linux-4.1.27/drivers/gpu/drm/qxl/
H A Dqxl_display.c52 "%s: allocation failure for %u heads\n", qxl_alloc_client_monitors_config()
88 &qdev->rom->client_monitors_config.heads[i]; qxl_display_copy_rom_client_monitors_config()
90 &qdev->client_monitors_config->heads[i]; qxl_display_copy_rom_client_monitors_config()
114 head = &qdev->client_monitors_config->heads[output->index]; qxl_update_offset_props()
155 head = &qdev->client_monitors_config->heads[h]; qxl_add_monitors_config_modes()
567 struct qxl_head *head = &qdev->monitors_config->heads[i]; qxl_send_monitors_config()
587 qdev->monitors_config->heads[index].x = x; qxl_monitors_config_set()
588 qdev->monitors_config->heads[index].y = y; qxl_monitors_config_set()
589 qdev->monitors_config->heads[index].width = width; qxl_monitors_config_set()
590 qdev->monitors_config->heads[index].height = height; qxl_monitors_config_set()
591 qdev->monitors_config->heads[index].surface_id = surf_id; qxl_monitors_config_set()
773 head = &qdev->monitors_config->heads[i]; qxl_write_monitors_config_for_encoder()
902 qxl_head_enabled(&qdev->client_monitors_config->heads[output->index]); qxl_conn_detect()
H A Dqxl_cmd.c433 qdev->monitors_config->heads[0].width : -1, qxl_io_monitors_config()
435 qdev->monitors_config->heads[0].height : -1, qxl_io_monitors_config()
437 qdev->monitors_config->heads[0].x : -1, qxl_io_monitors_config()
439 qdev->monitors_config->heads[0].y : -1 qxl_io_monitors_config()
H A Dqxl_dev.h258 struct qxl_urect heads[64]; member in struct:qxl_rom::__anon4317
874 struct qxl_head heads[0]; member in struct:qxl_monitors_config
/linux-4.1.27/drivers/scsi/dpt/
H A Ddpti_ioctl.h93 unsigned heads; /* heads for drives on cntlr. */ member in struct:__anon8785
H A Dsys_info.h83 uCHAR heads; /* Up to 255 */ member in struct:driveParam_S::__anon8788
/linux-4.1.27/drivers/scsi/aacraid/
H A Dlinit.c296 * The default disk geometry is 64 heads, 32 sectors, and the appropriate
302 * geometry of 128 heads and 32 sectors, and drives above 2 GB inclusive
303 * are given a disk geometry of 255 heads and 63 sectors. However, if
323 param->heads = 255; aac_biosparm()
326 param->heads = 128; aac_biosparm()
330 param->heads = 64; aac_biosparm()
334 param->cylinders = cap_to_cyls(capacity, param->heads * param->sectors); aac_biosparm()
357 param->heads = 64; aac_biosparm()
361 param->heads = 128; aac_biosparm()
365 param->heads = 255; aac_biosparm()
377 param->cylinders = cap_to_cyls(capacity, param->heads * param->sectors); aac_biosparm()
380 dprintk((KERN_DEBUG "Adopting geometry: heads=%d, sectors=%d from partition table %d.\n", aac_biosparm()
381 param->heads, param->sectors, num)); aac_biosparm()
383 dprintk((KERN_DEBUG "Strange geometry: heads=%d, sectors=%d in partition table %d.\n", aac_biosparm()
385 dprintk((KERN_DEBUG "Using geometry: heads=%d, sectors=%d.\n", aac_biosparm()
386 param->heads, param->sectors)); aac_biosparm()
/linux-4.1.27/drivers/usb/chipidea/
H A Dudc.h45 /* DMA layout of queue heads */
H A Dci.h171 * @qh_pool: allocation pool for queue heads
H A Ddebug.c122 * ci_qheads_show: DMA contents of all queue heads
/linux-4.1.27/drivers/block/paride/
H A Dpd.c44 a logical geometry with 64 heads and 32 sectors
228 int heads; /* physical geometry */ member in struct:pd_unit
342 h = (block /= disk->sectors) % disk->heads; pd_ide_command()
343 c0 = (block /= disk->heads) % 256; pd_ide_command()
590 pd_send_command(disk, disk->sectors, 0, disk->heads - 1, 0, 0, pd_init_dev_parms()
673 disk->heads = le16_to_cpu(*(__le16 *) (pd_scratch + 6)); pd_identify()
678 disk->capacity = disk->sectors * disk->heads * disk->cylinders; pd_identify()
694 disk->cylinders, disk->heads, disk->sectors, pd_identify()
759 geo->heads = PD_LOG_HEADS; pd_getgeo()
761 geo->cylinders = disk->capacity / (geo->heads * geo->sectors); pd_getgeo()
763 geo->heads = disk->heads; pd_getgeo()
H A Dpf.c336 geo->heads = PF_FD_HDS; pf_getgeo()
340 geo->heads = PF_HD_HDS; pf_getgeo()
/linux-4.1.27/drivers/block/rsxx/
H A Ddev.c95 geo->heads = 64; rsxx_getgeo()
97 do_div(blocks, (geo->heads * geo->sectors)); rsxx_getgeo()
100 geo->heads = 0; rsxx_getgeo()
/linux-4.1.27/drivers/ide/
H A Dide-floppy.c317 u8 heads, sectors; ide_floppy_get_flexible_disk_page() local
339 heads = buf[8 + 4]; ide_floppy_get_flexible_disk_page()
342 capacity = cyls * heads * sectors * sector_size; ide_floppy_get_flexible_disk_page()
347 drive->name, capacity / 1024, cyls, heads, ide_floppy_get_flexible_disk_page()
352 drive->bios_head = heads; ide_floppy_get_flexible_disk_page()
H A Dide-gd.c280 geo->heads = drive->bios_head; ide_gd_getgeo()
H A Dide.c33 * | IRQ-unmask, drive-id, multiple-mode, support for ">16 heads",
H A Dide-disk.c743 printk(KERN_ERR "%s: invalid geometry: %d physical heads?\n", ide_disk_setup()
/linux-4.1.27/drivers/staging/i2o/
H A Di2o_block.c544 unsigned long heads, sectors, cylinders; i2o_block_biosparam() local
548 heads = 16; i2o_block_biosparam()
550 heads = 32; i2o_block_biosparam()
552 heads = 64; i2o_block_biosparam()
554 heads = 128; i2o_block_biosparam()
556 heads = 255; i2o_block_biosparam()
558 cylinders = (unsigned long)capacity / (heads * sectors); i2o_block_biosparam()
562 *hds = (unsigned char)heads; i2o_block_biosparam()
637 &geo->cylinders, &geo->heads, &geo->sectors); i2o_block_getgeo()
H A Di2o_scsi.c751 ip[0] = 64; /* heads */ i2o_scsi_bios_param()
754 ip[0] = 255; /* heads */ i2o_scsi_bios_param()
/linux-4.1.27/drivers/block/
H A Dcpqarray.h51 unsigned heads; member in struct:__anon3565
H A Dmg_disk.c122 u16 heads; member in struct:mg_host
375 host->heads = id[ATA_ID_HEADS]; mg_get_disk_id()
378 if (MG_RES_SEC && host->heads && host->sectors) { mg_get_disk_id()
381 host->heads / host->sectors; mg_get_disk_id()
383 host->heads * host->sectors; mg_get_disk_id()
774 geo->heads = (unsigned char)host->heads; mg_getgeo()
H A Damiflop.c1071 if (hdr.track != unit[drive].track/unit[drive].type->heads) { dos_read()
1074 unit[drive].track/unit[drive].type->heads); dos_read()
1078 if (hdr.side != unit[drive].track%unit[drive].type->heads) { dos_read()
1081 unit[drive].track%unit[drive].type->heads); dos_read()
1171 hdr.track=unit[drive].track/unit[drive].type->heads; ms_putsec()
1172 hdr.side=unit[drive].track%unit[drive].type->heads; ms_putsec()
1457 geo->heads = unit[drive].type->heads; fd_getgeo()
1491 if (param < p->type->tracks * p->type->heads) fd_locked_ioctl()
1512 getprm.head=p->type->heads; fd_locked_ioctl()
1626 unit[drive].blocks=unit[drive].type->heads*unit[drive].type->tracks* floppy_open()
H A Dhd.c14 * IRQ-unmask, drive-id, multiple-mode, support for ">16 heads",
562 printk("%s: cannot handle device with more than 16 heads - giving up\n", req->rq_disk->disk_name); do_special_op()
665 geo->heads = disk->head; hd_getgeo()
H A Dvirtio_blk.c287 geometry.heads, &geo->heads); virtblk_getgeo()
292 geo->heads = 1 << 6; virtblk_getgeo()
H A Dcciss.c447 if (drv->heads == 0) cciss_seq_show()
776 if (!drv->heads) { cciss_show_lunid()
1094 if (drv->heads == 0) { cciss_open()
1269 geo->heads = drv->heads; cciss_getgeo()
1792 !(h->drv[curr_queue]->heads)) cciss_check_queues()
2043 drvinfo->heads == h->drv[drv_index]->heads && cciss_update_drive_info()
2084 h->drv[drv_index]->heads = drvinfo->heads; cciss_update_drive_info()
2254 h->drv[drv_index]->heads = 0; cciss_add_controller_node()
2416 drive_info->heads = 0; cciss_clear_drive_info()
2518 if (h->drv[i] && h->drv[i]->heads) deregister_disk()
2859 drv->heads = 255; cciss_geometry_inquiry()
2864 drv->heads = inq_buff->data_byte[6]; cciss_geometry_inquiry()
2872 t = drv->heads * drv->sectors; cciss_geometry_inquiry()
H A Dida_cmd.h140 __u8 heads; member in struct:__anon3586
H A Dcpqarray.c1128 geo->heads = drv->heads; ida_getgeo()
1132 geo->heads = 0xff; ida_getgeo()
1760 drv->heads = id_ldrive->drv.heads; getgeometry()
H A Dcciss.h38 int heads; member in struct:_drive_info_struct
H A Dsunvdc.c116 geo->heads = 0xff; vdc_getgeo()
118 sector_div(cylinders, geo->heads * geo->sectors); vdc_getgeo()
120 if ((sector_t)(geo->cylinders + 1) * geo->heads * geo->sectors < nsect) vdc_getgeo()
H A Dumem.c774 * multiple of 2048 (1M): tell we have 32 sectors, 64 heads, mm_getgeo()
777 geo->heads = 64; mm_getgeo()
779 geo->cylinders = size / (geo->heads * geo->sectors); mm_getgeo()
H A Dfloppy.c2276 int heads; rw_interrupt() local
2298 heads = 2; rw_interrupt()
2300 heads = 1; rw_interrupt()
2302 nr_sectors = (((R_TRACK - TRACK) * heads + rw_interrupt()
2313 pr_info("heads=%d eoc=%d\n", heads, eoc); rw_interrupt()
3375 geo->heads = g->head; fd_getgeo()
H A Dxen-blkfront.c340 hg->heads = 0xff; blkif_getgeo()
342 sector_div(cylinders, hg->heads * hg->sectors); blkif_getgeo()
344 if ((sector_t)(hg->cylinders + 1) * hg->heads * hg->sectors < nsect) blkif_getgeo()
H A Dswim.c734 geo->heads = g->head; floppy_getgeo()
H A Dxsysace.c944 geo->heads = cf_id[ATA_ID_HEADS]; ace_getgeo()
H A DDAC960.c114 geo->heads = p->V1.GeometryTranslationHeads; DAC960_getgeo()
117 LogicalDriveSize / (geo->heads * geo->sectors); DAC960_getgeo()
123 geo->heads = 128; DAC960_getgeo()
127 geo->heads = 255; DAC960_getgeo()
137 (geo->heads * geo->sectors); DAC960_getgeo()
H A Dsx8.c440 geo->heads = (u8) port->dev_geom_head; carm_bdev_getgeo()
/linux-4.1.27/Documentation/laptops/
H A Dfreefall.c154 /* Alarm expired, time to unpark the heads */ main()
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
H A Dnrs.c937 * policies on those NRS heads.
980 * Unregisters all policies on all available NRS heads in a service partition;
1039 * Removes the policy from all supported NRS heads of all partitions of all
1045 * \retval 0 successfully unregistered policy on all supported NRS heads
1254 * the policy on all NRS heads of all supported services are removed.
1317 * Setup NRS heads on all service partitions of service \a svc, and register
1318 * all compatible policies on those NRS heads.
1340 * Initialize NRS heads on all service CPTs. ptlrpc_service_nrs_setup()
1384 * Clean up NRS heads on all service partitions ptlrpc_service_nrs_cleanup()
1640 * heads of service partitions of \a svc.
1644 * NRS heads of the first service partition of \a svc.
H A Dnrs_fifo.c35 * partitions, for both regular and high-priority NRS heads. Default here means
H A Dlproc_ptlrpc.c501 * the number of policies registered with NRS heads of this service. All ptlrpc_lprocfs_nrs_seq_show()
614 * Redo the processing for the service's HP NRS heads' policies.
/linux-4.1.27/drivers/memstick/core/
H A Dmspro_block.c131 __be16 heads; member in struct:mspro_devinfo
149 unsigned short heads; member in struct:mspro_block_data
239 geo->heads = msb->heads; mspro_block_bd_getgeo()
486 rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "heads: %x\n", mspro_block_attr_show_devinfo()
487 be16_to_cpu(x_devinfo->heads)); mspro_block_attr_show_devinfo()
1209 msb->heads = be16_to_cpu(dev_info->heads); mspro_block_init_disk()
H A Dms_block.c1682 /* size sectors cylynders heads */
1751 msb->geometry.heads = chs_table[i].head; msb_init_card()
/linux-4.1.27/drivers/scsi/aic7xxx/
H A Daiclib.h137 aic_sector_div(sector_t capacity, int heads, int sectors) aic_sector_div() argument
140 sector_div(capacity, (heads * sectors)); aic_sector_div()
H A Daic7xxx_osm.c699 int heads; ahc_linux_biosparam() local
718 heads = 64; ahc_linux_biosparam()
720 cylinders = aic_sector_div(capacity, heads, sectors); ahc_linux_biosparam()
729 heads = 255; ahc_linux_biosparam()
731 cylinders = aic_sector_div(capacity, heads, sectors); ahc_linux_biosparam()
733 geom[0] = heads; ahc_linux_biosparam()
H A Daic79xx_osm.c727 int heads; ahd_linux_biosparam() local
744 heads = 64; ahd_linux_biosparam()
746 cylinders = aic_sector_div(capacity, heads, sectors); ahd_linux_biosparam()
753 heads = 255; ahd_linux_biosparam()
755 cylinders = aic_sector_div(capacity, heads, sectors); ahd_linux_biosparam()
757 geom[0] = heads; ahd_linux_biosparam()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Ddcb.c118 return (outp->heads << 8) | (outp->link << 6) | outp->or; dcb_outp_hashm()
134 outp->heads = (conn & 0x00000f00) >> 8; dcb_outp_parse()
/linux-4.1.27/fs/ntfs/
H A Dcompress.c536 /* Allocate memory to store the buffer heads we need. */ ntfs_read_compressed_block()
610 /* Read all cb buffer heads one cluster at a time. */ ntfs_read_compressed_block()
665 /* Setup and initiate io on all buffer heads. */ ntfs_read_compressed_block()
680 /* Wait for io completion on all buffer heads. */ ntfs_read_compressed_block()
721 /* Copy the buffer heads into the contiguous buffer. */ ntfs_read_compressed_block()
894 /* Release the buffer heads. */ ntfs_read_compressed_block()
902 /* We no longer need the list of buffer heads. */ ntfs_read_compressed_block()
935 /* Release the buffer heads. */ ntfs_read_compressed_block()
H A Dlogfile.c838 * writing to all the buffer heads yet so this may happen too early. ntfs_empty_logfile()
/linux-4.1.27/arch/m68k/emu/
H A Dnfblock.c87 geo->heads = 4; nfhd_getgeo()
/linux-4.1.27/drivers/gpu/drm/nouveau/
H A Dnouveau_bios.c1383 int heads, int or) fabricate_dcb_output()
1389 entry->heads = heads; fabricate_dcb_output()
1404 entry->heads = (conn >> 8) & 0xf; parse_dcb20_entry()
1535 entry->hashm = (entry->heads << 8) | (link << 6) | entry->or; parse_dcb20_entry()
1568 entry->heads = ((conn & 0x001c0000) >> 18) + 1; parse_dcb15_entry()
1569 entry->or = entry->heads; /* same as heads, hopefully safe enough */ parse_dcb15_entry()
1615 /* merge heads field when all other fields the same */ merge_like_dcb_entries()
1622 ient->heads |= jent->heads; merge_like_dcb_entries()
1382 fabricate_dcb_output(struct dcb_table *dcb, int type, int i2c, int heads, int or) fabricate_dcb_output() argument
H A Dnv50_display.c1693 encoder->possible_crtcs = dcbe->heads; nv50_dac_create()
2088 encoder->possible_crtcs = dcbe->heads; nv50_sor_create()
2263 encoder->possible_crtcs = dcbe->heads; nv50_pior_create()
2510 /* create crtc objects to represent the hw heads */ nv50_display_create()
/linux-4.1.27/drivers/s390/block/
H A Dxpram.c236 * multiple of 64 (32k): tell we have 16 sectors, 4 heads, xpram_getgeo()
241 geo->heads = 4; xpram_getgeo()
H A Ddasd_eckd.c242 u16 heads, beghead, endhead; define_extent() local
301 heads = private->rdc_data.trk_per_cyl; define_extent()
302 begcyl = trk / heads; define_extent()
303 beghead = trk % heads; define_extent()
304 endcyl = totrk / heads; define_extent()
305 endhead = totrk % heads; define_extent()
488 u16 heads, beghead, endhead; prefix_LRE() local
594 heads = basepriv->rdc_data.trk_per_cyl; prefix_LRE()
595 begcyl = trk / heads; prefix_LRE()
596 beghead = trk % heads; prefix_LRE()
597 endcyl = totrk / heads; prefix_LRE()
598 endhead = totrk % heads; prefix_LRE()
1787 "with %d cylinders, %d heads, %d sectors%s\n", dasd_eckd_check_characteristics()
2085 geo->heads = private->rdc_data.trk_per_cyl; dasd_eckd_fill_geometry()
2946 u16 heads, beghead, endhead; prepare_itcw() local
3007 heads = basepriv->rdc_data.trk_per_cyl; prepare_itcw()
3008 begcyl = trk / heads; prepare_itcw()
3009 beghead = trk % heads; prepare_itcw()
3010 endcyl = totrk / heads; prepare_itcw()
3011 endhead = totrk % heads; prepare_itcw()
H A Ddasd_diag.c480 geo->heads = 16; dasd_diag_fill_geometry()
H A Ddasd_fba.c219 geo->heads = 16; dasd_fba_fill_geometry()
/linux-4.1.27/drivers/block/aoe/
H A Daoeblk.c307 geo->heads = d->geo.heads; aoeblk_getgeo()
H A Daoecmd.c1011 d->geo.heads = 255; ataid_complete()
1021 d->geo.heads = get_unaligned_le16(&id[55 << 1]); ataid_complete()
/linux-4.1.27/drivers/gpu/drm/nouveau/dispnv04/
H A Ddfp.c168 * blob programs the one exposed via I2C for *both* heads, so get_tmds_slave()
214 * to heads on digital outputs nv04_dfp_prepare_sel_clk()
713 encoder->possible_crtcs = entry->heads; nv04_dfp_create()
H A Dtvnv04.c227 encoder->possible_crtcs = entry->heads; nv04_tv_create()
H A Ddac.c551 encoder->possible_crtcs = entry->heads; nv04_dac_create()
H A Dtvnv17.c831 encoder->possible_crtcs = entry->heads; nv17_tv_create()
H A Dhw.c66 /* CR44 takes values 0 (head A), 3 (head B) and 4 (heads tied)
/linux-4.1.27/fs/ubifs/
H A Dlog.c298 * buds which are pointed to by journal heads.
320 * heads (non-closed buds). remove_buds()
352 * reference nodes for all journal heads which will define new journal after
H A Dubifs-media.h95 /* Maximum number of data journal heads */
248 * configuration (number of journal heads, orphan LEBs, etc). This means that
608 * @jhead_cnt: count of journal heads
H A Dbudget.c28 * journal heads, the effect of updates on the index, and so on, make it
228 * different write types go to different heads, we may count only on ubifs_calc_available()
H A Dreplay.c138 * zero. The order is not perfect because the journal heads set_bud_lprops()
553 * Recover only last LEBs in the journal heads, because power replay_bud()
H A Dsuper.c709 * Ensure minimum journal size. All the bytes in the journal heads are init_constants_sb()
801 /* Initialize journal heads */ alloc_wbufs()
1420 dbg_gen("data journal heads: %d", mount_ubifs()
H A Dsb.c46 /* Default number of data journal heads */
H A Djournal.c39 * journal heads, although at present only one data head is used.
42 * entry nodes and all truncate nodes. This means that the other heads contain
H A Dubifs.h116 /* Number of non-data journal heads */
1018 * @jhead_cnt: count of journal heads
1019 * @jheads: journal heads (head zero is base head)
H A Drecovery.c950 * ubifs_recover_inl_heads - recover index and LPT heads.
962 * and LPT heads.
/linux-4.1.27/drivers/usb/host/
H A Dehci-mem.c115 /* The queue heads and transfer descriptors are managed from pools tied
/linux-4.1.27/fs/hpfs/
H A Ddir.c290 * anodes -- the disk heads are on the directory band hpfs_lookup()
/linux-4.1.27/arch/ia64/hp/sim/
H A Dsimscsi.c117 ip[0] = 64; /* heads */ simscsi_biosparam()
/linux-4.1.27/fs/
H A Ddcookies.c237 * Find the power-of-two list-heads that can fit into the allocation.. dcookie_init()
H A Dpnode.c276 * @tree_list : list of heads of trees to be attached.
H A Dbuffer.c14 * hash table, use SLAB cache for buffer heads. SMP threading. -DaveM
300 * two buffer heads end IO at almost the same time and both end_buffer_async_read()
893 * are not allowed to fail, so we have to wait until buffer heads alloc_page_buffers()
901 * wait for old buffer heads to become free due to alloc_page_buffers()
904 * async buffer heads in use. alloc_page_buffers()
/linux-4.1.27/tools/perf/util/
H A Devlist.c41 INIT_HLIST_HEAD(&evlist->heads[i]); perf_evlist__init()
480 hlist_add_head(&sid->node, &evlist->heads[hash]); perf_evlist__id_hash()
554 head = &evlist->heads[hash]; perf_evlist__id2sid()
625 head = &evlist->heads[hash]; perf_evlist__event2evsel()
H A Devlist.h36 struct hlist_head heads[PERF_EVLIST__HLIST_SIZE]; member in struct:perf_evlist
/linux-4.1.27/fs/xfs/
H A Dxfs_mru_cache.c71 * requirement for the array of list heads is minimal.
80 * This is the reason why doubly linked list heads are used.
H A Dxfs_aops.c935 * For any other dirty buffer heads on the page we should flush them.
1212 * have buffer heads in this call.
/linux-4.1.27/kernel/
H A Dnotifier.c515 * Unlike other sorts of notifier heads, SRCU notifier heads require
/linux-4.1.27/drivers/crypto/ccp/
H A Dccp-crypto-main.c36 /* List heads for the supported algorithms */
/linux-4.1.27/arch/sparc/include/asm/
H A Dvio.h187 u16 num_hd; /* Num heads */
/linux-4.1.27/drivers/ata/
H A Dlibata-core.c100 u16 heads, u16 sectors);
725 block = (cyl * dev->heads + head) * dev->sectors + sect - 1; ata_tf_read_block()
830 cyl = track / dev->heads; ata_build_rw_tf()
831 head = track % dev->heads; ata_build_rw_tf()
2242 dev->heads = 0; ata_dev_configure()
2326 dev->heads = id[3]; ata_dev_configure()
2332 dev->heads = id[55]; ata_dev_configure()
2345 dev->heads, dev->sectors); ata_dev_configure()
4549 * @heads: Number of heads (taskfile parameter)
4559 u16 heads, u16 sectors) ata_dev_init_params()
4564 /* Number of sectors per track 1-255. Number of heads 1-16 */ ata_dev_init_params()
4565 if (sectors < 1 || sectors > 255 || heads < 1 || heads > 16) ata_dev_init_params()
4576 tf.device |= (heads - 1) & 0x0f; /* max head = num. of heads - 1 */ ata_dev_init_params()
4558 ata_dev_init_params(struct ata_device *dev, u16 heads, u16 sectors) ata_dev_init_params() argument
/linux-4.1.27/fs/nilfs2/
H A Dthe_nilfs.h53 * @ns_sbh: buffer heads of on-disk super blocks
H A Dpage.c205 * @copy_dirty: flag whether to copy dirty states on the page's buffer heads.
H A Dbtree.c194 /* Assume the buffer heads corresponding to left and right are locked. */ nilfs_btree_node_move_left()
222 /* Assume that the buffer heads corresponding to left and right are locked. */ nilfs_btree_node_move_right()
/linux-4.1.27/fs/adfs/
H A Ddir_f.c97 * can spread across several buffer heads. adfs_dir_checkbyte()
/linux-4.1.27/drivers/message/fusion/
H A Dmptscsih.c2093 int heads; mptscsih_bios_param() local
2098 heads = 64; mptscsih_bios_param()
2101 dummy = heads * sectors; mptscsih_bios_param()
2110 heads = 255; mptscsih_bios_param()
2112 dummy = heads * sectors; mptscsih_bios_param()
2118 geom[0] = heads; mptscsih_bios_param()
/linux-4.1.27/arch/mips/include/asm/
H A Dsgiarcs.h341 unsigned short nheads; /* # of heads */
/linux-4.1.27/drivers/md/
H A Ddm-kcopyd.c492 * Request io on as many buffer heads as we can currently get for
H A Ddm-ioctl.c955 geometry.heads = indata[1]; dev_set_geometry()
/linux-4.1.27/drivers/mtd/ubi/
H A Dblock.c283 geo->heads = 1; ubiblock_getgeo()
/linux-4.1.27/drivers/scsi/pcmcia/
H A Dsym53c500_cs.c611 info_array[0] = 64; /* heads */ SYM53C500_biosparm()
/linux-4.1.27/drivers/net/wireless/mwifiex/
H A Dinit.c445 * the list heads.
/linux-4.1.27/drivers/firmware/
H A Dedd.c453 * if the default_{cylinders,heads,sectors_per_track} values
/linux-4.1.27/block/
H A Dcompat_ioctl.c45 unsigned char heads; member in struct:compat_hd_geometry
/linux-4.1.27/drivers/usb/gadget/udc/
H A Dfsl_usb2_udc.h587 /* we only have one ep0 structure but two queue heads */ get_qh_by_ep()
H A Dfotg210-udc.c66 /* don't modify queue heads during completion callback */ fotg210_done()
H A Dfusb300_udc.c872 /* don't modify queue heads during completion callback */ done()
/linux-4.1.27/fs/reiserfs/
H A Dprints.c177 * variables, like keys, item headers, buffer heads etc. Values of
H A Dlbalance.c1376 /* prepare space for new entry heads */ leaf_paste_entries()
1381 /* copy new entry heads */ leaf_paste_entries()
/linux-4.1.27/net/ipv4/
H A Dip_fragment.c20 * Patrick McHardy : LRU queue of frag heads for evictor.
/linux-4.1.27/net/ipv6/
H A Dreassembly.c23 * Patrick McHardy LRU queue of frag heads for evictor.
/linux-4.1.27/drivers/scsi/arcmsr/
H A Darcmsr_hba.c313 int ret, heads, sectors, cylinders, total_capacity; arcmsr_bios_param() local
324 heads = 64; arcmsr_bios_param()
326 cylinders = total_capacity / (heads * sectors); arcmsr_bios_param()
328 heads = 255; arcmsr_bios_param()
330 cylinders = total_capacity / (heads * sectors); arcmsr_bios_param()
332 geom[0] = heads; arcmsr_bios_param()
/linux-4.1.27/drivers/scsi/megaraid/
H A Dmegaraid_sas_base.c2550 int heads; megasas_bios_param() local
2554 /* Default heads (64) & sectors (32) */ megasas_bios_param()
2555 heads = 64; megasas_bios_param()
2558 tmp = heads * sectors; megasas_bios_param()
2568 heads = 255; megasas_bios_param()
2570 tmp = heads*sectors; megasas_bios_param()
2575 geom[0] = heads; megasas_bios_param()
/linux-4.1.27/drivers/scsi/mpt3sas/
H A Dmpt3sas_scsih.c1802 * params[0] number of heads (max 255)
1812 int heads; _scsih_bios_param() local
1817 heads = 64; _scsih_bios_param()
1820 dummy = heads * sectors; _scsih_bios_param()
1829 heads = 255; _scsih_bios_param()
1831 dummy = heads * sectors; _scsih_bios_param()
1837 params[0] = heads; _scsih_bios_param()
/linux-4.1.27/drivers/staging/lustre/lustre/include/
H A Dlustre_net.h916 * order to register the policy with NRS heads in different PTLRPC services.
1154 * on all NRS heads of all PTLRPC service partitions.
2103 /** # reqs in either of the NRS heads below */
/linux-4.1.27/kernel/printk/
H A Dprintk.c146 * The heads to the first and last entry in the buffer, as well as the
150 * If the heads indicate available messages, the length in the header
407 /* insert record into the buffer, discard old ones, update heads */ log_store()
/linux-4.1.27/drivers/acpi/
H A Dvideo.c120 u8 multihead:1; /* can switch video heads */
1292 ACPI_DEBUG_PRINT((ACPI_DB_INFO, "Found %d video heads in _DOD\n", acpi_video_device_enumerate()
/linux-4.1.27/drivers/staging/dgnc/
H A Ddgnc_cls.c900 * Write new final heads to channel structure. cls_copy_data_from_uart_to_queue()
/linux-4.1.27/drivers/rapidio/
H A Drio-scan.c874 * list heads, and adds the associated master port to the
/linux-4.1.27/drivers/crypto/caam/
H A Dregs.h448 /* Indices. CAAM maintains as "heads" of each queue */
/linux-4.1.27/drivers/dma/sh/
H A Dshdma-base.c587 * all chunks are linked onto the tx_list head with their .node heads shdma_prep_sg()
/linux-4.1.27/arch/um/drivers/
H A Dubd_kern.c1335 geo->heads = 128; ubd_getgeo()
/linux-4.1.27/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_fence.c272 * list heads of the actions we have on the private list. vmw_fence_work_func()
/linux-4.1.27/drivers/tty/serial/jsm/
H A Djsm_cls.c450 * Write new final heads to channel structure. cls_copy_data_from_uart_to_queue()
H A Djsm_neo.c479 * Write new final heads to channel structure. neo_copy_data_from_uart_to_queue()
/linux-4.1.27/drivers/video/fbdev/
H A Dstifb.c1164 /* FIXME: TomCat supports two heads: stifb_init_fb()
/linux-4.1.27/fs/jbd2/
H A Dcommit.c836 * The list contains temporary buffer heads created by jbd2_journal_commit_transaction()
/linux-4.1.27/include/scsi/
H A Dscsi_host.h284 * size, device, list (heads, sectors, cylinders)
/linux-4.1.27/arch/cris/arch-v10/kernel/
H A Dentry.S134 ;; stack-frame similar to the irq heads, which is reversed in ret_from_sys_call
/linux-4.1.27/arch/cris/arch-v32/kernel/
H A Dentry.S147 ;; Stack-frame similar to the irq heads, which is reversed in
/linux-4.1.27/net/netfilter/ipvs/
H A Dip_vs_conn.c1376 * Allocate the connection hash table and initialize its list heads ip_vs_conn_init()
/linux-4.1.27/include/drm/
H A DdrmP.h704 * may contain multiple heads.
/linux-4.1.27/drivers/scsi/mpt2sas/
H A Dmpt2sas_scsih.c2135 * params[0] number of heads (max 255)
2145 int heads; _scsih_bios_param() local
2150 heads = 64; _scsih_bios_param()
2153 dummy = heads * sectors; _scsih_bios_param()
2162 heads = 255; _scsih_bios_param()
2164 dummy = heads * sectors; _scsih_bios_param()
2170 params[0] = heads; _scsih_bios_param()
/linux-4.1.27/drivers/usb/gadget/function/
H A Df_mass_storage.c144 * buffer heads (struct fsg_buffhd). In principle the pipeline can be
2746 * "buf"s pointed to by heads after n - i are NULL fsg_common_set_num_buffers()
/linux-4.1.27/drivers/gpu/drm/
H A Ddrm_fb_helper.c1731 * At the moment, this is a cloned configuration across all heads with

Completed in 9294 milliseconds

12