Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/ktest/
Dtest-bitree.c50 assert(tree->bt_node == rn); in ktest_bitree_case1()
76 assert(((struct test_value_t *)tree->bt_node->left->value)->tv == tv2->tv); in ktest_bitree_case1()
77 assert(((struct test_value_t *)tree->bt_node->right->value)->tv == tv3->tv); in ktest_bitree_case1()
110 assert(((struct test_value_t *)tree->bt_node->value)->tv != 20); in ktest_bitree_case1()
111 assert(tree->bt_node->right == NULL); in ktest_bitree_case1()
/DragonOS-0.1.8/kernel/src/libs/
Dbitree.c27 root->bt_node = node; in bt_create_tree()
70 struct bt_node_t *this_node = root->bt_node; in bt_insert()
86 root->bt_node = insert_node; in bt_insert()
110 struct bt_node_t *this_node = root->bt_node; in bt_query()
184 root->bt_node = to_delete_son; in bt_delete()
210 kfifo_in(&fifo, (void *)&(root->bt_node), sizeof(struct bt_node_t *)); in bt_destroy_tree()
/DragonOS-0.1.8/kernel/src/common/
Dbitree.h15 struct bt_node_t *bt_node; member