Searched defs:root (Results 1 – 2 of 2) sorted by relevance
/DragonOS-0.1.3/kernel/src/libs/ |
D | bitree.c | 8 #define smaller(root, a, b) (root->cmp((a)->value, (b)->value) == -1) argument 9 #define equal(root, a, b) (root->cmp((a)->value, (b)->value) == 0) argument 10 #define greater(root, a, b) (root->cmp((a)->value, (b)->value) == 1) argument 25 struct bt_root_t *root = (struct bt_root_t *)kmalloc(sizeof(struct bt_root_t), 0); in bt_create_tree() local 65 int bt_insert(struct bt_root_t *root, void *value) in bt_insert() 108 int bt_query(struct bt_root_t *root, void *value, uint64_t *ret_addr) in bt_query() 153 int bt_delete(struct bt_root_t *root, void *value) in bt_delete() 204 int bt_destroy_tree(struct bt_root_t *root) in bt_destroy_tree()
|
/DragonOS-0.1.3/kernel/src/filesystem/vfs/ |
D | VFS.h | 61 struct vfs_dir_entry_t *root; member
|