Home
last modified time | relevance | path

Searched refs:elts (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/lib/
Dtest_list_sort.c30 static struct debug_el **elts __initdata;
42 if (elts[ela->serial] != ela || elts[elb->serial] != elb) { in check()
80 elts = kcalloc(TEST_LIST_LEN, sizeof(*elts), GFP_KERNEL); in list_sort_test()
81 if (!elts) in list_sort_test()
94 elts[i] = el; in list_sort_test()
144 kfree(elts[i]); in list_sort_test()
145 kfree(elts); in list_sort_test()
/kernel/linux/linux-5.10/drivers/gpu/drm/r128/
Dr128_state.c1372 drm_r128_indices_t *elts = data; in r128_cce_indices() local
1380 elts->idx, elts->start, elts->end, elts->discard); in r128_cce_indices()
1382 if (elts->idx < 0 || elts->idx >= dma->buf_count) { in r128_cce_indices()
1384 elts->idx, dma->buf_count - 1); in r128_cce_indices()
1387 if (elts->prim < 0 || in r128_cce_indices()
1388 elts->prim > R128_CCE_VC_CNTL_PRIM_TYPE_TRI_TYPE2) { in r128_cce_indices()
1389 DRM_ERROR("buffer prim %d\n", elts->prim); in r128_cce_indices()
1396 buf = dma->buflist[elts->idx]; in r128_cce_indices()
1405 DRM_ERROR("sending pending buffer %d\n", elts->idx); in r128_cce_indices()
1409 count = (elts->end - elts->start) / sizeof(u16); in r128_cce_indices()
[all …]
/kernel/linux/linux-5.10/kernel/trace/
Dtracing_map.c459 elt = *(TRACING_MAP_ELT(map->elts, idx)); in get_free_elt()
471 if (!map->elts) in tracing_map_free_elts()
475 tracing_map_elt_free(*(TRACING_MAP_ELT(map->elts, i))); in tracing_map_free_elts()
476 *(TRACING_MAP_ELT(map->elts, i)) = NULL; in tracing_map_free_elts()
479 tracing_map_array_free(map->elts); in tracing_map_free_elts()
480 map->elts = NULL; in tracing_map_free_elts()
487 map->elts = tracing_map_array_alloc(map->max_elts, in tracing_map_alloc_elts()
489 if (!map->elts) in tracing_map_alloc_elts()
493 *(TRACING_MAP_ELT(map->elts, i)) = tracing_map_elt_alloc(map); in tracing_map_alloc_elts()
494 if (IS_ERR(*(TRACING_MAP_ELT(map->elts, i)))) { in tracing_map_alloc_elts()
[all …]
Dtracing_map.h189 struct tracing_map_array *elts; member
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dp2p.c161 u8 elts[1]; member
180 u8 elts[1]; member
1675 offsetof(struct brcmf_p2p_pub_act_frame, elts); in brcmf_p2p_pub_af_tx()
1676 if (cfg80211_get_p2p_attr(&act_frm->elts[0], ie_len, in brcmf_p2p_pub_af_tx()
/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dpowerpc.c980 int elts = sizeof(vector128)/element_size; in kvmppc_get_vmx_offset_generic() local
982 if ((index < 0) || (index >= elts)) in kvmppc_get_vmx_offset_generic()
986 offset = elts - index - 1; in kvmppc_get_vmx_offset_generic()