Home
last modified time | relevance | path

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

/DragonOS-0.1.7/kernel/src/libs/
Dbitree.c71 struct bt_node_t *last_node = NULL; in bt_insert() local
77 last_node = this_node; in bt_insert()
84 insert_node->parent = last_node; in bt_insert()
85 if (unlikely(last_node == NULL)) in bt_insert()
89 if (smaller(root, insert_node, last_node)) in bt_insert()
90 last_node->left = insert_node; in bt_insert()
92 last_node->right = insert_node; in bt_insert()