Home
last modified time | relevance | path

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

/DragonOS-0.1.5/kernel/src/libs/
Dbitree.c43 …create_node(struct bt_node_t *left, struct bt_node_t *right, struct bt_node_t *parent, void *value) in bt_create_node() argument
52 node->parent = parent; in bt_create_node()
84 insert_node->parent = last_node; in bt_insert()
181 to_delete_son->parent = to_delete->parent; in bt_delete()
183 if (to_delete->parent == NULL) in bt_delete()
187 if (to_delete->parent->left == to_delete) 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()
/DragonOS-0.1.5/kernel/src/common/
Dbitree.h8 struct bt_node_t *parent; member
43 …reate_node(struct bt_node_t *left, struct bt_node_t *right, struct bt_node_t *parent, void *value);
/DragonOS-0.1.5/kernel/src/filesystem/devfs/
Dmod.rs61 root_guard.parent = Arc::downgrade(&devfs.root_inode); in new()
185 parent: Weak<LockedDevFSInode>, field
202 parent: Weak<LockedDevFSInode>, in new_with_parent()
208 parent: parent, in new_with_parent()
288 parent: guard.self_ref.clone(), in do_create_with_data()
358 return Ok(inode.parent.upgrade().ok_or(-(ENOENT as i32))?); in find()
/DragonOS-0.1.5/kernel/src/filesystem/ramfs/
Dmod.rs45 parent: Weak<LockedRamFSInode>, field
81 parent: Weak::default(), in new()
108 root_guard.parent = Arc::downgrade(&result.root_inode); in new()
254 parent: inode.self_ref.clone(), in create_with_data()
390 return Ok(inode.parent.upgrade().ok_or(-(ENOENT as i32))?); in find()
/DragonOS-0.1.5/kernel/src/filesystem/procfs/
Dmod.rs90 parent: Weak<LockedProcFSInode>, field
239 parent: Weak::default(), in new()
270 root_guard.parent = Arc::downgrade(&result.root_inode); in new()
492 parent: inode.self_ref.clone(), in create_with_data()
601 return Ok(inode.parent.upgrade().ok_or(-(ENOENT as i32))?); in find()
/DragonOS-0.1.5/kernel/src/filesystem/vfs/
DVFS.h54 struct vfs_dir_entry_t *parent; member
/DragonOS-0.1.5/kernel/src/filesystem/fat/
Dfs.rs92 parent: Weak<LockedFATInode>, field
164 parent: Weak<LockedFATInode>, in new()
174 parent: parent, in new()
286 parent: Weak::default(), in new()
324 root_guard.parent = Arc::downgrade(&result.root_inode); in new()