Lines Matching refs:parent
141 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()
823 if (dentry == NULL || dentry->parent == NULL) in do_unlink_at()
829 struct vfs_index_node_t *p_inode = dentry->parent->dir_inode; in do_unlink_at()
833 retval = vfs_unlink(NULL, dentry->parent->dir_inode, dentry, NULL); in do_unlink_at()