Home
last modified time | relevance | path

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

/openbmc/linux/lib/
H A Drbtree_test.c18 struct test_node { struct
28 static struct test_node *nodes = NULL; argument
83 struct test_node, rb, u32, augmented, NODE_VAL) in RB_DECLARE_CALLBACKS_MAX() argument
85 static void insert_augmented(struct test_node *node, in RB_DECLARE_CALLBACKS_MAX()
91 struct test_node *parent; in RB_DECLARE_CALLBACKS_MAX()
95 parent = rb_entry(rb_parent, struct test_node, rb); in RB_DECLARE_CALLBACKS_MAX()
115 struct test_node *parent; in insert_augmented_cached()
120 parent = rb_entry(rb_parent, struct test_node, rb); in insert_augmented_cached()
173 struct test_node *cur, *n; in check_postorder_foreach()
198 struct test_node *node = rb_entry(rb, struct test_node, rb); in check()
[all …]
H A Dplist.c227 for (i = 0; i < ARRAY_SIZE(test_node); i++) in plist_test()
228 plist_node_init(test_node + i, 0); in plist_test()
232 i = r % ARRAY_SIZE(test_node); in plist_test()
233 if (plist_node_empty(test_node + i)) { in plist_test()
235 test_node[i].prio = r % 99; in plist_test()
236 plist_add(test_node + i, &test_head); in plist_test()
239 plist_del(test_node + i, &test_head); in plist_test()
243 if (!plist_node_empty(test_node + i)) { in plist_test()
244 plist_test_requeue(test_node + i); in plist_test()
250 if (plist_node_empty(test_node + i)) in plist_test()
[all …]
/openbmc/qemu/tests/qtest/fuzz/
H A Dqos_fuzz.c68 QOSGraphNode *test_node; in qos_build_main_args() local
80 test_node = qos_graph_get_node(path[(g_strv_length(path) - 1)]); in qos_build_main_args()
81 test_arg = test_node->u.test.arg; in qos_build_main_args()
82 if (test_node->u.test.before) { in qos_build_main_args()
83 test_arg = test_node->u.test.before(cmd_line, test_arg); in qos_build_main_args()
/openbmc/qemu/tests/qtest/
H A Dqos-test.c162 QOSGraphNode *test_node; in run_one_test() local
171 test_node = qos_graph_get_node(path[(g_strv_length(path) - 1)]); in run_one_test()
172 test_arg = test_node->u.test.arg; in run_one_test()
173 if (test_node->u.test.before) { in run_one_test()
174 test_arg = test_node->u.test.before(cmd_line, test_arg); in run_one_test()
181 test_node->u.test.function(obj, test_arg, alloc); in run_one_test()
/openbmc/linux/samples/kmemleak/
H A Dkmemleak-test.c22 struct test_node { struct
37 struct test_node *elem; in kmemleak_test_init() argument
88 struct test_node *elem, *tmp; in kmemleak_test_exit()
/openbmc/pldm/libpldmresponder/test/
H A Dlibpldmresponder_fru_test.cpp143 test_pldm_entity_node* test_node = (test_pldm_entity_node*)node; in TEST() local
144 EXPECT_TRUE((test_node->parent).entity_type == systemEntity.entity_type); in TEST()
149 test_node = (test_pldm_entity_node*)node; in TEST()
150 EXPECT_TRUE((test_node->parent).entity_type == chassisEntity.entity_type); in TEST()