Searched refs:elts (Results 1 – 6 of 6) sorted by relevance
/Linux-v4.19/lib/ |
D | test_list_sort.c | 29 static struct debug_el **elts __initdata; 41 if (elts[ela->serial] != ela || elts[elb->serial] != elb) { in check() 78 elts = kcalloc(TEST_LIST_LEN, sizeof(*elts), GFP_KERNEL); in list_sort_test() 79 if (!elts) in list_sort_test() 92 elts[i] = el; in list_sort_test() 142 kfree(elts[i]); in list_sort_test() 143 kfree(elts); in list_sort_test()
|
/Linux-v4.19/drivers/gpu/drm/r128/ |
D | r128_state.c | 1365 drm_r128_indices_t *elts = data; in r128_cce_indices() local 1373 elts->idx, elts->start, elts->end, elts->discard); in r128_cce_indices() 1375 if (elts->idx < 0 || elts->idx >= dma->buf_count) { in r128_cce_indices() 1377 elts->idx, dma->buf_count - 1); in r128_cce_indices() 1380 if (elts->prim < 0 || in r128_cce_indices() 1381 elts->prim > R128_CCE_VC_CNTL_PRIM_TYPE_TRI_TYPE2) { in r128_cce_indices() 1382 DRM_ERROR("buffer prim %d\n", elts->prim); in r128_cce_indices() 1389 buf = dma->buflist[elts->idx]; in r128_cce_indices() 1398 DRM_ERROR("sending pending buffer %d\n", elts->idx); in r128_cce_indices() 1402 count = (elts->end - elts->start) / sizeof(u16); in r128_cce_indices() [all …]
|
/Linux-v4.19/kernel/trace/ |
D | tracing_map.c | 456 elt = *(TRACING_MAP_ELT(map->elts, idx)); in get_free_elt() 468 if (!map->elts) in tracing_map_free_elts() 472 tracing_map_elt_free(*(TRACING_MAP_ELT(map->elts, i))); in tracing_map_free_elts() 473 *(TRACING_MAP_ELT(map->elts, i)) = NULL; in tracing_map_free_elts() 476 tracing_map_array_free(map->elts); in tracing_map_free_elts() 477 map->elts = NULL; in tracing_map_free_elts() 484 map->elts = tracing_map_array_alloc(map->max_elts, in tracing_map_alloc_elts() 486 if (!map->elts) in tracing_map_alloc_elts() 490 *(TRACING_MAP_ELT(map->elts, i)) = tracing_map_elt_alloc(map); in tracing_map_alloc_elts() 491 if (IS_ERR(*(TRACING_MAP_ELT(map->elts, i)))) { in tracing_map_alloc_elts() [all …]
|
D | tracing_map.h | 189 struct tracing_map_array *elts; member
|
/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | p2p.c | 167 u8 elts[1]; member 186 u8 elts[1]; member 1607 offsetof(struct brcmf_p2p_pub_act_frame, elts); in brcmf_p2p_pub_af_tx() 1608 if (cfg80211_get_p2p_attr(&act_frm->elts[0], ie_len, in brcmf_p2p_pub_af_tx()
|
/Linux-v4.19/arch/powerpc/kvm/ |
D | powerpc.c | 958 int elts = sizeof(vector128)/element_size; in kvmppc_get_vmx_offset_generic() local 960 if ((index < 0) || (index >= elts)) in kvmppc_get_vmx_offset_generic() 964 offset = elts - index - 1; in kvmppc_get_vmx_offset_generic()
|