Searched refs:test_node (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/lib/ |
H A D | rbtree_test.c | 18 struct test_node { struct 28 static struct test_node *nodes = NULL; argument 32 static void insert(struct test_node *node, struct rb_root_cached *root) in insert() 39 if (key < rb_entry(parent, struct test_node, rb)->key) in insert() 49 static void insert_cached(struct test_node *node, struct rb_root_cached *root) in insert_cached() 57 if (key < rb_entry(parent, struct test_node, rb)->key) in insert_cached() 69 static inline void erase(struct test_node *node, struct rb_root_cached *root) in erase() 74 static inline void erase_cached(struct test_node *node, struct rb_root_cached *root) in erase_cached() 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() [all …]
|
H A D | plist.c | 181 static struct plist_node __initdata test_node[241]; variable 227 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() [all …]
|
/openbmc/qemu/tests/qtest/ |
H A D | qos-test.c | 162 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/qemu/tests/qtest/fuzz/ |
H A D | qos_fuzz.c | 68 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/linux/samples/kmemleak/ |
H A D | kmemleak-test.c | 22 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 D | libpldmresponder_fru_test.cpp | 143 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()
|