Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/ktest/
Dtest-bitree.c56 struct test_value_t *tv2 = (struct test_value_t *)kmalloc(sizeof(struct test_value_t), 0); in ktest_bitree_case1() local
57 assert(tv2 != NULL); in ktest_bitree_case1()
58 tv2->tv = 10; in ktest_bitree_case1()
61 val = bt_insert(tree, tv2); in ktest_bitree_case1()
76 assert(((struct test_value_t *)tree->bt_node->left->value)->tv == tv2->tv); in ktest_bitree_case1()
82 assert(bt_query(tree, tv2, (uint64_t*)(&node2)) == 0); in ktest_bitree_case1()
84 assert(node2->value == tv2); in ktest_bitree_case1()