Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/libs/
Dbitree.c70 struct bt_node_t *this_node = root->bt_node; in bt_insert() local
75 while (this_node != NULL) in bt_insert()
77 last_node = this_node; in bt_insert()
78 if (smaller(root, insert_node, this_node)) in bt_insert()
79 this_node = this_node->left; in bt_insert()
81 this_node = this_node->right; in bt_insert()
110 struct bt_node_t *this_node = root->bt_node; in bt_query() local
118 while (this_node != NULL && !equal(root, this_node, &tmp_node)) in bt_query()
120 if (smaller(root, &tmp_node, this_node)) in bt_query()
121 this_node = this_node->left; in bt_query()
[all …]