Searched refs:elts (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/lib/ |
H A D | test_list_sort.c | 31 struct debug_el **elts = test->priv; in check() local 36 KUNIT_EXPECT_PTR_EQ_MSG(test, elts[ela->serial], ela, "phantom element"); in check() 37 KUNIT_EXPECT_PTR_EQ_MSG(test, elts[elb->serial], elb, "phantom element"); in check() 61 struct debug_el *el, **elts; in list_sort_test() local 65 elts = kunit_kcalloc(test, TEST_LIST_LEN, sizeof(*elts), GFP_KERNEL); in list_sort_test() 66 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, elts); in list_sort_test() 67 test->priv = elts; in list_sort_test() 78 elts[i] = el; in list_sort_test()
|
/openbmc/u-boot/lib/ |
H A D | list_sort.c | 172 static struct debug_el **elts __initdata; 186 if (elts[ela->serial] != ela || elts[elb->serial] != elb) { in check() 223 elts = kmalloc(sizeof(void *) * TEST_LIST_LEN, GFP_KERNEL); in list_sort_test() 224 if (!elts) { in list_sort_test() 242 elts[i] = el; in list_sort_test() 289 kfree(elts); in list_sort_test()
|
/openbmc/linux/kernel/trace/ |
H A D | tracing_map.c | 459 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 …]
|
H A D | tracing_map.h | 189 struct tracing_map_array *elts; member
|
/openbmc/openbmc/poky/scripts/lib/recipetool/ |
H A D | create_buildsys_python.py | 1095 return tuple(self.visit(v) for v in node.elts) 1098 return [self.visit(v) for v in node.elts] 1101 return set(self.visit(v) for v in node.elts)
|
/openbmc/openbmc/poky/bitbake/lib/ |
H A D | codegen.py | 401 for idx, item in enumerate(node.elts): 410 for idx, item in enumerate(node.elts):
|
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | p2p.c | 161 u8 elts[]; member 180 u8 elts[]; 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()
|
/openbmc/linux/arch/powerpc/kvm/ |
H A D | powerpc.c | 1012 int elts = sizeof(vector128)/element_size; in kvmppc_get_vmx_offset_generic() local 1014 if ((index < 0) || (index >= elts)) in kvmppc_get_vmx_offset_generic() 1018 offset = elts - index - 1; in kvmppc_get_vmx_offset_generic()
|
/openbmc/qemu/target/arm/tcg/ |
H A D | translate-a64.c | 6873 int elts = (a->q ? 16 : 8) >> esz; in do_fp_reduction() local 6875 TCGv_i32 res = do_reduction_op(s, a->rn, esz, 0, elts, fpst, fn); in do_fp_reduction()
|