Home
last modified time | relevance | path

Searched defs:root (Results 1 – 8 of 8) sorted by relevance

/DragonOS-0.1.8/kernel/src/libs/
Dbitree.c8 #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()
Drbtree.rs342 root: NodePtr<K, V>, field
1203 let root = self.root; in clear() localVariable
/DragonOS-0.1.8/kernel/src/filesystem/sysfs/
Dmod.rs94 let root: Arc<LockedSysFSInode> = Arc::new(LockedSysFSInode(SpinLock::new( in new() localVariable
111 let root: &Arc<LockedSysFSInode> = &sysfs.root_inode; in new() localVariable
/DragonOS-0.1.8/kernel/src/filesystem/devfs/
Dmod.rs52 let root: Arc<LockedDevFSInode> = Arc::new(LockedDevFSInode(SpinLock::new( in new() localVariable
69 let root: &Arc<LockedDevFSInode> = &devfs.root_inode; in new() localVariable
/DragonOS-0.1.8/kernel/src/filesystem/ramfs/
Dmod.rs78 let root: Arc<LockedRamFSInode> = Arc::new(LockedRamFSInode(SpinLock::new(RamFSInode { in new() localVariable
/DragonOS-0.1.8/kernel/src/filesystem/vfs/
DVFS.h60 struct vfs_dir_entry_t *root; member
/DragonOS-0.1.8/kernel/src/filesystem/procfs/
Dmod.rs239 let root: Arc<LockedProcFSInode> = in new() localVariable
/DragonOS-0.1.8/kernel/src/driver/pci/
Dpci.rs1548 pub root: &'a PciRoot, field