Home
last modified time | relevance | path

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

/DragonOS-0.1.7/kernel/src/libs/
Dbitree.c164 struct bt_node_t *to_delete = NULL, *to_delete_son = NULL; in bt_delete() local
176 to_delete_son = to_delete->left; in bt_delete()
178 to_delete_son = to_delete->right; in bt_delete()
180 if (to_delete_son != NULL) in bt_delete()
181 to_delete_son->parent = to_delete->parent; in bt_delete()
184 root->bt_node = to_delete_son; in bt_delete()
188 to_delete->parent->left = to_delete_son; in bt_delete()
190 to_delete->parent->right = to_delete_son; in bt_delete()