/linux-4.1.27/arch/frv/kernel/ |
H A D | Makefile | 5 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 D | scsicam.c | 55 * 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 D | ultrastor.c | 235 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 D | eata_generic.h | 128 * >=8 heads (WD1003 rudimentary :-) */ 372 __u32 heads; /* number of heads */ member in struct:drive_geom_emul
|
H A D | fdomain.c | 1597 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 D | 3w-9xxx.c | 1695 /* 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 D | storvsc_drv.c | 1450 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 D | dpt_i2o.c | 486 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 D | initio.c | 593 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 D | 3w-xxxx.c | 1329 /* 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 D | mvumi.c | 2198 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 D | u14-34f.c | 604 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 D | 3w-sas.c | 1410 /* 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 D | megaraid.c | 2837 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 D | BusLogic.c | 3373 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 D | sym53c416.c | 805 ip[0] = 64; /* heads */ sym53c416_bios_param() 809 ip[0] = 255; /* heads */ sym53c416_bios_param()
|
H A D | dtc.c | 291 * major / minor, ip[] = {heads, sectors, cylinders}
|
H A D | stex.c | 1351 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 D | t128.c | 276 * major / minor, ip[] = {heads, sectors, cylinders}
|
H A D | gdth.c | 144 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 D | atp870u.c | 3115 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 D | ips.c | 1156 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 D | pas16.c | 451 * major / minor, ip[] = {heads, sectors, cylinders}
|
H A D | gdth.h | 669 u8 heads_p_cyl; /* heads/cylinder */ 882 u8 heads; /* mapping */ member in struct:__anon8901::__anon8902
|
H A D | wd719x.c | 542 geom[0] = 255; /* heads */ wd719x_biosparam() 545 geom[0] = 64; /* heads */ wd719x_biosparam()
|
H A D | aha1542.c | 929 geom[0] = 255; /* heads */ aha1542_biosparam() 932 geom[0] = 64; /* heads */ aha1542_biosparam()
|
H A D | initio.h | 470 u8 heads; member in struct:target_control
|
H A D | qla1280.c | 1065 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 D | dc395x.c | 1166 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 D | eata.c | 142 * 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 D | BusLogic.h | 1093 int heads; member in struct:bios_diskparam
|
H A D | NCR53c406a.c | 759 info_array[0] = 64; /* heads */ NCR53c406a_biosparm()
|
/linux-4.1.27/include/uapi/linux/ |
H A D | adfs_fs.h | 13 __u8 heads; member in struct:adfs_discrecord
|
H A D | efs_fs_sb.h | 31 __be16 fs_heads; /* heads per cylinder */
|
H A D | fd.h | 16 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 D | msdos_fs.h | 123 __le16 heads; /* number of heads */ member in struct:fat_boot_sector
|
H A D | virtio_ring.h | 119 * // A ring of available descriptor heads with free-running index. 128 * // A ring of used descriptor heads with free-running index.
|
H A D | hdreg.h | 324 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 D | virtio_blk.h | 66 __u8 heads; member in struct:virtio_blk_config::virtio_blk_geometry
|
H A D | dm-ioctl.h | 88 * "cylinders heads sectors_per_track start_sector"
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | priv.h | 29 struct nvkm_oclass *, int heads,
|
H A D | gk110.c | 58 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 D | gm107.c | 58 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 D | gm204.c | 59 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 D | gk104.c | 223 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 D | base.c | 187 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 D | outp.c | 87 dcbE->bus, dcbE->heads); nvkm_output_create_()
|
H A D | vga.c | 155 /* CR44 takes values 0 (head A), 3 (head B) and 4 (heads tied)
|
H A D | gf110.c | 1259 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 D | amifd.h | 33 unsigned int heads; /* number of heads */ member in struct:fd_drive_type
|
H A D | rmap.h | 14 * The anon_vma heads a list of private "related" vmas, to scan if
|
H A D | ide.h | 471 /* 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 D | ata.h | 838 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 D | libata.h | 366 ATA_EH_PARK = (1 << 5), /* unload heads and stop I/O */ 714 u16 heads; /* Number of heads */ member in struct:ata_device
|
H A D | perf_event.h | 331 struct hlist_head heads[SWEVENT_HLIST_SIZE]; member in struct:swevent_hlist
|
/linux-4.1.27/drivers/mtd/ |
H A D | ssfdc.c | 25 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 D | sm_ftl.h | 60 int heads; member in struct:sm_ftl
|
H A D | inftlcore.c | 88 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 D | nftlcore.c | 81 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 D | sm_ftl.c | 652 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 D | inftlmount.c | 503 s->EraseSize, s->heads, s->sectors, s->cylinders, INFTL_dumptables()
|
H A D | rfd_ftl.c | 750 geo->heads = 1; rfd_ftl_getgeo()
|
H A D | ftl.c | 989 geo->heads = 1; ftl_getgeo()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/ |
H A D | dcb.h | 20 uint8_t heads; member in struct:dcb_output
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/ |
H A D | memx.c | 126 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 D | vhost.h | 101 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 D | net.c | 248 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 D | vhost.c | 259 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 D | inftl.h | 33 unsigned char heads; member in struct:INFTLrecord
|
H A D | nftl.h | 40 unsigned char heads; member in struct:NFTLrecord
|
/linux-4.1.27/block/partitions/ |
H A D | acorn.c | 206 (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 D | ibm.c | 35 /* 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 D | qxl_display.c | 52 "%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 D | qxl_cmd.c | 433 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 D | qxl_dev.h | 258 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 D | dpti_ioctl.h | 93 unsigned heads; /* heads for drives on cntlr. */ member in struct:__anon8785
|
H A D | sys_info.h | 83 uCHAR heads; /* Up to 255 */ member in struct:driveParam_S::__anon8788
|
/linux-4.1.27/drivers/scsi/aacraid/ |
H A D | linit.c | 296 * 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 D | udc.h | 45 /* DMA layout of queue heads */
|
H A D | ci.h | 171 * @qh_pool: allocation pool for queue heads
|
H A D | debug.c | 122 * ci_qheads_show: DMA contents of all queue heads
|
/linux-4.1.27/drivers/block/paride/ |
H A D | pd.c | 44 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 D | pf.c | 336 geo->heads = PF_FD_HDS; pf_getgeo() 340 geo->heads = PF_HD_HDS; pf_getgeo()
|
/linux-4.1.27/drivers/block/rsxx/ |
H A D | dev.c | 95 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 D | ide-floppy.c | 317 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 D | ide-gd.c | 280 geo->heads = drive->bios_head; ide_gd_getgeo()
|
H A D | ide.c | 33 * | IRQ-unmask, drive-id, multiple-mode, support for ">16 heads",
|
H A D | ide-disk.c | 743 printk(KERN_ERR "%s: invalid geometry: %d physical heads?\n", ide_disk_setup()
|
/linux-4.1.27/drivers/staging/i2o/ |
H A D | i2o_block.c | 544 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 D | i2o_scsi.c | 751 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 D | cpqarray.h | 51 unsigned heads; member in struct:__anon3565
|
H A D | mg_disk.c | 122 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 D | amiflop.c | 1071 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 D | hd.c | 14 * 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 D | virtio_blk.c | 287 geometry.heads, &geo->heads); virtblk_getgeo() 292 geo->heads = 1 << 6; virtblk_getgeo()
|
H A D | cciss.c | 447 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 D | ida_cmd.h | 140 __u8 heads; member in struct:__anon3586
|
H A D | cpqarray.c | 1128 geo->heads = drv->heads; ida_getgeo() 1132 geo->heads = 0xff; ida_getgeo() 1760 drv->heads = id_ldrive->drv.heads; getgeometry()
|
H A D | cciss.h | 38 int heads; member in struct:_drive_info_struct
|
H A D | sunvdc.c | 116 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 D | umem.c | 774 * 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 D | floppy.c | 2276 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 D | xen-blkfront.c | 340 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 D | swim.c | 734 geo->heads = g->head; floppy_getgeo()
|
H A D | xsysace.c | 944 geo->heads = cf_id[ATA_ID_HEADS]; ace_getgeo()
|
H A D | DAC960.c | 114 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 D | sx8.c | 440 geo->heads = (u8) port->dev_geom_head; carm_bdev_getgeo()
|
/linux-4.1.27/Documentation/laptops/ |
H A D | freefall.c | 154 /* Alarm expired, time to unpark the heads */ main()
|
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/ |
H A D | nrs.c | 937 * 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 D | nrs_fifo.c | 35 * partitions, for both regular and high-priority NRS heads. Default here means
|
H A D | lproc_ptlrpc.c | 501 * 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 D | mspro_block.c | 131 __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 D | ms_block.c | 1682 /* size sectors cylynders heads */ 1751 msb->geometry.heads = chs_table[i].head; msb_init_card()
|
/linux-4.1.27/drivers/scsi/aic7xxx/ |
H A D | aiclib.h | 137 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 D | aic7xxx_osm.c | 699 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 D | aic79xx_osm.c | 727 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 D | dcb.c | 118 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 D | compress.c | 536 /* 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 D | logfile.c | 838 * 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 D | nfblock.c | 87 geo->heads = 4; nfhd_getgeo()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/ |
H A D | nouveau_bios.c | 1383 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 D | nv50_display.c | 1693 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 D | xpram.c | 236 * multiple of 64 (32k): tell we have 16 sectors, 4 heads, xpram_getgeo() 241 geo->heads = 4; xpram_getgeo()
|
H A D | dasd_eckd.c | 242 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 D | dasd_diag.c | 480 geo->heads = 16; dasd_diag_fill_geometry()
|
H A D | dasd_fba.c | 219 geo->heads = 16; dasd_fba_fill_geometry()
|
/linux-4.1.27/drivers/block/aoe/ |
H A D | aoeblk.c | 307 geo->heads = d->geo.heads; aoeblk_getgeo()
|
H A D | aoecmd.c | 1011 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 D | dfp.c | 168 * 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 D | tvnv04.c | 227 encoder->possible_crtcs = entry->heads; nv04_tv_create()
|
H A D | dac.c | 551 encoder->possible_crtcs = entry->heads; nv04_dac_create()
|
H A D | tvnv17.c | 831 encoder->possible_crtcs = entry->heads; nv17_tv_create()
|
H A D | hw.c | 66 /* CR44 takes values 0 (head A), 3 (head B) and 4 (heads tied)
|
/linux-4.1.27/fs/ubifs/ |
H A D | log.c | 298 * 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 D | ubifs-media.h | 95 /* 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 D | budget.c | 28 * 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 D | replay.c | 138 * 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 D | super.c | 709 * 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 D | sb.c | 46 /* Default number of data journal heads */
|
H A D | journal.c | 39 * 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 D | ubifs.h | 116 /* Number of non-data journal heads */ 1018 * @jhead_cnt: count of journal heads 1019 * @jheads: journal heads (head zero is base head)
|
H A D | recovery.c | 950 * ubifs_recover_inl_heads - recover index and LPT heads. 962 * and LPT heads.
|
/linux-4.1.27/drivers/usb/host/ |
H A D | ehci-mem.c | 115 /* The queue heads and transfer descriptors are managed from pools tied
|
/linux-4.1.27/fs/hpfs/ |
H A D | dir.c | 290 * anodes -- the disk heads are on the directory band hpfs_lookup()
|
/linux-4.1.27/arch/ia64/hp/sim/ |
H A D | simscsi.c | 117 ip[0] = 64; /* heads */ simscsi_biosparam()
|
/linux-4.1.27/fs/ |
H A D | dcookies.c | 237 * Find the power-of-two list-heads that can fit into the allocation.. dcookie_init()
|
H A D | pnode.c | 276 * @tree_list : list of heads of trees to be attached.
|
H A D | buffer.c | 14 * 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 D | evlist.c | 41 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 D | evlist.h | 36 struct hlist_head heads[PERF_EVLIST__HLIST_SIZE]; member in struct:perf_evlist
|
/linux-4.1.27/fs/xfs/ |
H A D | xfs_mru_cache.c | 71 * requirement for the array of list heads is minimal. 80 * This is the reason why doubly linked list heads are used.
|
H A D | xfs_aops.c | 935 * 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 D | notifier.c | 515 * Unlike other sorts of notifier heads, SRCU notifier heads require
|
/linux-4.1.27/drivers/crypto/ccp/ |
H A D | ccp-crypto-main.c | 36 /* List heads for the supported algorithms */
|
/linux-4.1.27/arch/sparc/include/asm/ |
H A D | vio.h | 187 u16 num_hd; /* Num heads */
|
/linux-4.1.27/drivers/ata/ |
H A D | libata-core.c | 100 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 D | the_nilfs.h | 53 * @ns_sbh: buffer heads of on-disk super blocks
|
H A D | page.c | 205 * @copy_dirty: flag whether to copy dirty states on the page's buffer heads.
|
H A D | btree.c | 194 /* 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 D | dir_f.c | 97 * can spread across several buffer heads. adfs_dir_checkbyte()
|
/linux-4.1.27/drivers/message/fusion/ |
H A D | mptscsih.c | 2093 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 D | sgiarcs.h | 341 unsigned short nheads; /* # of heads */
|
/linux-4.1.27/drivers/md/ |
H A D | dm-kcopyd.c | 492 * Request io on as many buffer heads as we can currently get for
|
H A D | dm-ioctl.c | 955 geometry.heads = indata[1]; dev_set_geometry()
|
/linux-4.1.27/drivers/mtd/ubi/ |
H A D | block.c | 283 geo->heads = 1; ubiblock_getgeo()
|
/linux-4.1.27/drivers/scsi/pcmcia/ |
H A D | sym53c500_cs.c | 611 info_array[0] = 64; /* heads */ SYM53C500_biosparm()
|
/linux-4.1.27/drivers/net/wireless/mwifiex/ |
H A D | init.c | 445 * the list heads.
|
/linux-4.1.27/drivers/firmware/ |
H A D | edd.c | 453 * if the default_{cylinders,heads,sectors_per_track} values
|
/linux-4.1.27/block/ |
H A D | compat_ioctl.c | 45 unsigned char heads; member in struct:compat_hd_geometry
|
/linux-4.1.27/drivers/usb/gadget/udc/ |
H A D | fsl_usb2_udc.h | 587 /* we only have one ep0 structure but two queue heads */ get_qh_by_ep()
|
H A D | fotg210-udc.c | 66 /* don't modify queue heads during completion callback */ fotg210_done()
|
H A D | fusb300_udc.c | 872 /* don't modify queue heads during completion callback */ done()
|
/linux-4.1.27/fs/reiserfs/ |
H A D | prints.c | 177 * variables, like keys, item headers, buffer heads etc. Values of
|
H A D | lbalance.c | 1376 /* 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 D | ip_fragment.c | 20 * Patrick McHardy : LRU queue of frag heads for evictor.
|
/linux-4.1.27/net/ipv6/ |
H A D | reassembly.c | 23 * Patrick McHardy LRU queue of frag heads for evictor.
|
/linux-4.1.27/drivers/scsi/arcmsr/ |
H A D | arcmsr_hba.c | 313 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 D | megaraid_sas_base.c | 2550 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 D | mpt3sas_scsih.c | 1802 * 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 D | lustre_net.h | 916 * 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 D | printk.c | 146 * 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 D | video.c | 120 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 D | dgnc_cls.c | 900 * Write new final heads to channel structure. cls_copy_data_from_uart_to_queue()
|
/linux-4.1.27/drivers/rapidio/ |
H A D | rio-scan.c | 874 * list heads, and adds the associated master port to the
|
/linux-4.1.27/drivers/crypto/caam/ |
H A D | regs.h | 448 /* Indices. CAAM maintains as "heads" of each queue */
|
/linux-4.1.27/drivers/dma/sh/ |
H A D | shdma-base.c | 587 * 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 D | ubd_kern.c | 1335 geo->heads = 128; ubd_getgeo()
|
/linux-4.1.27/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_fence.c | 272 * 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 D | jsm_cls.c | 450 * Write new final heads to channel structure. cls_copy_data_from_uart_to_queue()
|
H A D | jsm_neo.c | 479 * Write new final heads to channel structure. neo_copy_data_from_uart_to_queue()
|
/linux-4.1.27/drivers/video/fbdev/ |
H A D | stifb.c | 1164 /* FIXME: TomCat supports two heads: stifb_init_fb()
|
/linux-4.1.27/fs/jbd2/ |
H A D | commit.c | 836 * The list contains temporary buffer heads created by jbd2_journal_commit_transaction()
|
/linux-4.1.27/include/scsi/ |
H A D | scsi_host.h | 284 * size, device, list (heads, sectors, cylinders)
|
/linux-4.1.27/arch/cris/arch-v10/kernel/ |
H A D | entry.S | 134 ;; 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 D | entry.S | 147 ;; Stack-frame similar to the irq heads, which is reversed in
|
/linux-4.1.27/net/netfilter/ipvs/ |
H A D | ip_vs_conn.c | 1376 * Allocate the connection hash table and initialize its list heads ip_vs_conn_init()
|
/linux-4.1.27/include/drm/ |
H A D | drmP.h | 704 * may contain multiple heads.
|
/linux-4.1.27/drivers/scsi/mpt2sas/ |
H A D | mpt2sas_scsih.c | 2135 * 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 D | f_mass_storage.c | 144 * 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 D | drm_fb_helper.c | 1731 * At the moment, this is a cloned configuration across all heads with
|