Searched defs:root (Results 1 – 8 of 8) sorted by relevance
/DragonOS-0.1.8/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()
|
D | rbtree.rs | 342 root: NodePtr<K, V>, field 1203 let root = self.root; in clear() localVariable
|
/DragonOS-0.1.8/kernel/src/filesystem/sysfs/ |
D | mod.rs | 94 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/ |
D | mod.rs | 52 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/ |
D | mod.rs | 78 let root: Arc<LockedRamFSInode> = Arc::new(LockedRamFSInode(SpinLock::new(RamFSInode { in new() localVariable
|
/DragonOS-0.1.8/kernel/src/filesystem/vfs/ |
D | VFS.h | 60 struct vfs_dir_entry_t *root; member
|
/DragonOS-0.1.8/kernel/src/filesystem/procfs/ |
D | mod.rs | 239 let root: Arc<LockedProcFSInode> = in new() localVariable
|
/DragonOS-0.1.8/kernel/src/driver/pci/ |
D | pci.rs | 1548 pub root: &'a PciRoot, field
|