Home
last modified time | relevance | path

Searched refs:heads (Results 1 – 25 of 101) sorted by relevance

12345

/linux/drivers/mtd/
H A Dssfdc.c21 unsigned char heads; member
316 ssfdc->heads = 16; in ssfdcr_add_mtd()
318 get_chs(mtd->size, NULL, &ssfdc->heads, &ssfdc->sectors); in ssfdcr_add_mtd()
320 ((long)ssfdc->sectors * (long)ssfdc->heads)); in ssfdcr_add_mtd()
323 ssfdc->cylinders, ssfdc->heads , ssfdc->sectors, in ssfdcr_add_mtd()
324 (long)ssfdc->cylinders * (long)ssfdc->heads * in ssfdcr_add_mtd()
327 ssfdc->mbd.size = (long)ssfdc->heads * (long)ssfdc->cylinders * in ssfdcr_add_mtd()
410 ssfdc->cylinders, ssfdc->heads, ssfdc->sectors); in ssfdcr_getgeo()
412 geo->heads = ssfdc->heads; in ssfdcr_getgeo()
[all...]
H A Dnftlcore.c68 nftl->heads = 16; in nftl_add_mtd()
70 temp = nftl->cylinders * nftl->heads; in nftl_add_mtd()
75 nftl->heads = nftl->mbd.size / temp; in nftl_add_mtd()
78 nftl->heads++; in nftl_add_mtd()
79 temp = nftl->heads * nftl->sectors; in nftl_add_mtd()
84 if (nftl->mbd.size != nftl->heads * nftl->cylinders * nftl->sectors) { in nftl_add_mtd()
93 nftl->cylinders, nftl->heads , nftl->sectors, in nftl_add_mtd()
94 (long)nftl->cylinders * (long)nftl->heads * in nftl_add_mtd()
769 geo->heads = nftl->heads; in nftl_getgeo()
H A Dinftlcore.c75 inftl->heads = 16; in inftl_add_mtd()
77 temp = inftl->cylinders * inftl->heads; in inftl_add_mtd()
82 inftl->heads = inftl->mbd.size / temp; in inftl_add_mtd()
85 inftl->heads++; in inftl_add_mtd()
86 temp = inftl->heads * inftl->sectors; in inftl_add_mtd()
91 if (inftl->mbd.size != inftl->heads * inftl->cylinders * inftl->sectors) { in inftl_add_mtd()
100 inftl->cylinders, inftl->heads , inftl->sectors, in inftl_add_mtd()
101 (long)inftl->cylinders * (long)inftl->heads * in inftl_add_mtd()
921 geo->heads = inftl->heads; in inftl_getgeo()
/linux/tools/perf/scripts/python/
H A Dcompaction-times.py
/linux/tools/mm/
H A Dthpmaps229 def thp_parse(vma, kpageflags, ranges, indexes, vfns, pfns, anons, heads):
252 folios = indexes[index_next:index_end][heads[index_next:index_end]]
312 def cont_parse(vma, order, ranges, anons, heads):
334 folio_boundary = heads[index_next+1:index_next+nr_cont].any()
407 heads = flags & KPF_COMPOUND_HEAD != 0
413 heads = heads[thps]
418 thpstats = thp_parse(vma, kpageflags, ranges, indexes, vfns, pfns, anons, heads)
419 contstats = [cont_parse(vma, order, ranges, anons, heads) for order in contorders]
/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dhead.c35 list_for_each_entry(head, &disp->heads, head) { in nvkm_head_find()
64 list_add_tail(&head->head, &disp->heads); in nvkm_head_new_()
H A Dbase.c162 list_for_each_entry(head, &disp->heads, head) in nvkm_disp_oneinit()
207 while (!list_empty(&disp->heads)) { in nvkm_disp_dtor()
208 head = list_first_entry(&disp->heads, typeof(*head), head); in nvkm_disp_dtor()
239 INIT_LIST_HEAD(&disp->heads); in nvkm_disp_new_()
H A Dgf119.c1022 list_for_each_entry(head, &disp->heads, head) { in gf119_disp_super()
1030 list_for_each_entry(head, &disp->heads, head) { in gf119_disp_super()
1037 list_for_each_entry(head, &disp->heads, head) { in gf119_disp_super()
1042 list_for_each_entry(head, &disp->heads, head) { in gf119_disp_super()
1047 list_for_each_entry(head, &disp->heads, head) { in gf119_disp_super()
1054 list_for_each_entry(head, &disp->heads, head) { in gf119_disp_super()
1061 list_for_each_entry(head, &disp->heads, head) in gf119_disp_super()
1143 list_for_each_entry(head, &disp->heads, head) { in gf119_disp_intr()
1178 list_for_each_entry(head, &disp->heads, head) { in gf119_disp_init()
1225 list_for_each_entry(head, &disp->heads, head) { in gf119_disp_init()
/linux/drivers/vhost/
H A Dnet.c120 * For RX, number of batched heads
381 if (vq->heads[i].len == VHOST_DMA_FAILED_LEN) in vhost_zerocopy_signal_used()
383 if (VHOST_DMA_IS_DONE(vq->heads[i].len)) { in vhost_zerocopy_signal_used()
384 vq->heads[i].len = VHOST_DMA_CLEAR_LEN; in vhost_zerocopy_signal_used()
392 &vq->heads[nvq->done_idx], in vhost_zerocopy_signal_used()
417 vq->heads[ubuf->desc].len = success ? in vhost_zerocopy_complete()
484 vhost_add_used_and_signal_n(dev, vq, vq->heads, in vhost_net_signal_used()
504 vq->heads[0].len = 0; in vhost_tx_batch()
862 vq->heads[0].id = cpu_to_vhost32(vq, head); in handle_tx_copy()
864 vq->heads[nv in handle_tx_copy()
1063 get_rx_bufs(struct vhost_net_virtqueue * nvq,struct vring_used_elem * heads,u16 * nheads,int datalen,unsigned * iovcount,struct vhost_log * log,unsigned * log_num,unsigned int quota,unsigned int * ndesc) get_rx_bufs() argument
[all...]
H A Dvhost.c515 kfree(vq->heads); in vhost_vq_free_iovecs()
516 vq->heads = NULL; in vhost_vq_free_iovecs()
531 vq->heads = kmalloc_objs(*vq->heads, dev->iov_limit); in vhost_dev_alloc_iovecs()
533 if (!vq->indirect || !vq->log || !vq->heads || !vq->nheads) in vhost_dev_alloc_iovecs()
624 vq->heads = NULL; in vhost_dev_init()
3109 struct vring_used_elem heads = { in __vhost_add_used_n()
3115 return vhost_add_used_n(vq, &heads, &nheads, 1); in __vhost_add_used_n()
3120 struct vring_used_elem *heads, in __vhost_add_used_n()
3129 if (vhost_put_used(vq, heads, star in __vhost_add_used_n()
3093 struct vring_used_elem heads = { vhost_add_used() local
3104 __vhost_add_used_n(struct vhost_virtqueue * vq,struct vring_used_elem * heads,unsigned count) __vhost_add_used_n() argument
3136 vhost_add_used_n_ooo(struct vhost_virtqueue * vq,struct vring_used_elem * heads,unsigned count) vhost_add_used_n_ooo() argument
3154 vhost_add_used_n_in_order(struct vhost_virtqueue * vq,struct vring_used_elem * heads,const u16 * nheads,unsigned count) vhost_add_used_n_in_order() argument
3203 vhost_add_used_n(struct vhost_virtqueue * vq,struct vring_used_elem * heads,u16 * nheads,unsigned count) vhost_add_used_n() argument
3295 vhost_add_used_and_signal_n(struct vhost_dev * dev,struct vhost_virtqueue * vq,struct vring_used_elem * heads,u16 * nheads,unsigned count) vhost_add_used_and_signal_n() argument
[all...]
H A Dvhost.h147 struct vring_used_elem *heads; member
253 int vhost_add_used_n(struct vhost_virtqueue *, struct vring_used_elem *heads,
258 struct vring_used_elem *heads, u16 *nheads,
/linux/arch/x86/boot/
H A Dmtools.conf.in11 file="@OBJ@/fdimage" cylinders=80 heads=2 sectors=18 filter
15 file="@OBJ@/fdimage" cylinders=80 heads=2 sectors=36 filter
/linux/net/xdp/
H A Dxsk_buff_pool.c41 kvfree(pool->heads); in xp_destroy()
72 pool->heads = kvzalloc_objs(*pool->heads, umem->chunks); in xp_create_and_assign_umem()
73 if (!pool->heads) in xp_create_and_assign_umem()
107 xskb = &pool->heads[i]; in xp_create_and_assign_umem()
129 pool->heads[i].xdp.rxq = rxq; in xp_set_rxq_info()
138 struct xdp_buff_xsk *xskb = &pool->heads[i]; in xp_fill_cb()
480 struct xdp_buff_xsk *xskb = &pool->heads[i]; in xp_dma_map()
578 xskb = &pool->heads[xp_aligned_extract_idx(pool, addr)]; in __xp_alloc()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bus/
H A Dhwsq.c139 u32 heads, x, y, px = 0; in nvkm_hwsq_wait_vblank() local
142 heads = nvkm_rd32(device, 0x610050); in nvkm_hwsq_wait_vblank()
145 if (heads & (2 << (i << 3))) { in nvkm_hwsq_wait_vblank()
/linux/drivers/gpu/drm/qxl/
H A Dqxl_display.c63 heads, count); in qxl_alloc_client_monitors_config()
113 &qdev->rom->client_monitors_config.heads[i]; in qxl_display_copy_rom_client_monitors_config()
115 &qdev->client_monitors_config->heads[i]; in qxl_display_copy_rom_client_monitors_config()
161 head = &qdev->client_monitors_config->heads[output->index]; in qxl_update_offset_props()
271 head = &qdev->client_monitors_config->heads[h]; in qxl_add_monitors_config_modes()
308 struct qxl_head *head = &qdev->monitors_config->heads[i]; in qxl_send_monitors_config()
365 if (head.width == qdev->monitors_config->heads[i].width && in qxl_crtc_update_monitors_config()
366 head.height == qdev->monitors_config->heads[i].height && in qxl_crtc_update_monitors_config()
367 head.x == qdev->monitors_config->heads[i].x && in qxl_crtc_update_monitors_config()
368 head.y == qdev->monitors_config->heads[ in qxl_crtc_update_monitors_config()
[all...]
/linux/drivers/scsi/aic7xxx/
H A Daiclib.h122 aic_sector_div(sector_t capacity, int heads, int sectors) in aic_sector_div() argument
125 sector_div(capacity, (heads * sectors)); in aic_sector_div()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
H A Dmemx.c129 u32 heads, x, y, px = 0; in nvkm_memx_wait_vblank() local
133 heads = nvkm_rd32(device, 0x610050); in nvkm_memx_wait_vblank()
136 if (heads & (2 << (i << 3))) { in nvkm_memx_wait_vblank()
/linux/Documentation/admin-guide/laptops/
H A Ddisk-shock-protection.rst23 unload disk heads. This feature is being used in modern laptops in
26 the internal hard drive and park its heads on the ramp when critical
43 Otherwise, writing an integer value to this file will take the heads
49 -EOVERFLOW, but heads will be parked anyway and the timeout will be
62 For example, do the following in order to park the heads of drive
101 instead of /dev/sda), then parking the heads of one drive (drive X)
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Ddcb.c117 return (outp->heads << 8) | (outp->link << 6) | outp->or; in dcb_outp_hashm()
133 outp->heads = (conn & 0x00000f00) >> 8; in dcb_outp_parse()
/linux/Documentation/scsi/
H A Daha152x.rst130 The number of cylinders/heads/sectors is called geometry and is required
146 namely the address space is limited to up to 255 heads, up to 63 sectors
149 The AHA-1522 BIOS calculates the geometry by fixing the number of heads
157 extended translation. This means that the BIOS uses 255 for heads,
/linux/drivers/scsi/aacraid/
H A Dlinit.c308 param->heads = 255; in aac_biosparm()
311 param->heads = 128; in aac_biosparm()
315 param->heads = 64; in aac_biosparm()
319 param->cylinders = cap_to_cyls(capacity, param->heads * param->sectors); in aac_biosparm()
342 param->heads = 64; in aac_biosparm()
346 param->heads = 128; in aac_biosparm()
350 param->heads = 255; in aac_biosparm()
362 param->cylinders = cap_to_cyls(capacity, param->heads * param->sectors); in aac_biosparm()
366 param->heads, param->sectors, num)); in aac_biosparm()
372 param->heads, param->sectors)); in aac_biosparm()
/linux/include/uapi/linux/
H A Dhdreg.h325 unsigned char heads; member
403 unsigned short heads; /* Obsolete, "physical" heads */ member
H A Dadfs_fs.h14 __u8 heads; member
/linux/arch/arm/boot/dts/microchip/
H A Dat91-kizbox2-2.dts15 model = "Overkiz Kizbox 2 with two heads";
/linux/include/linux/mtd/
H A Dnftl.h26 unsigned char heads; member

12345