Home
last modified time | relevance | path

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

/DragonOS-0.1.2/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.2/kernel/src/filesystem/VFS/
Dmount.c31 mp->parent_dentry = old_dentry->parent; in do_mount()
41 new_dentry->parent = old_dentry->parent; in do_mount()
DVFS.c141 struct vfs_dir_entry_t *parent = vfs_root_sb->root; in vfs_path_walk() local
147 return parent; in vfs_path_walk()
164 dentry = vfs_search_dentry_list(parent, tmpname); in vfs_path_walk()
179 if (parent->dir_inode->inode_ops->lookup(parent->dir_inode, dentry) == NULL) in vfs_path_walk()
188 dentry->parent = parent; in vfs_path_walk()
190 list_add(&parent->subdirs_list, &dentry->child_node_list); in vfs_path_walk()
200 return parent; in vfs_path_walk()
206 parent = dentry; in vfs_path_walk()
312 subdir_dentry->parent = parent_dir; in vfs_mkdir()
445 dentry->parent = parent_dentry; in do_open()
[all …]
Dinternal.h21 #define IS_ROOT(x) ((x) == (x)->parent)
DVFS.h55 struct vfs_dir_entry_t *parent; member
/DragonOS-0.1.2/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.2/kernel/src/filesystem/rootfs/
Drootfs.c130 dentry->parent = rootfs_sb.root; in rootfs_add_dir()
148 dentry->parent = dentry; in rootfs_init()
188 tmp->parent = vfs_root_sb->root; in rootfs_migrate()
/DragonOS-0.1.2/kernel/src/filesystem/devfs/
Dinternal.h104 (dentry)->parent = (parent_dentry); \
/DragonOS-0.1.2/kernel/src/filesystem/fat32/
Dfat32.c419 sb_ptr->root->parent = sb_ptr->root; in fat32_read_superblock()