Lines Matching refs:root
117 struct List *list = &rootfs_sb.root->subdirs_list; in rootfs_add_dir()
118 while (list_next(list) != &rootfs_sb.root->subdirs_list) in rootfs_add_dir()
130 dentry->parent = rootfs_sb.root; in rootfs_add_dir()
131 list_append(&rootfs_sb.root->subdirs_list, &dentry->child_node_list); in rootfs_add_dir()
144 rootfs_sb.root = vfs_alloc_dentry(sizeof("/")); in rootfs_init()
145 struct vfs_dir_entry_t *dentry = rootfs_sb.root; in rootfs_init()
176 struct List *list = &rootfs_sb.root->subdirs_list; in rootfs_migrate()
180 while (list != &rootfs_sb.root->subdirs_list) in rootfs_migrate()
188 tmp->parent = vfs_root_sb->root; in rootfs_migrate()
190 list_append(&vfs_root_sb->root->subdirs_list, &tmp->child_node_list); in rootfs_migrate()
215 mp = mount_find_mnt_list_by_parent(rootfs_sb.root); in rootfs_umount()
226 kfree(rootfs_sb.root->dir_inode); in rootfs_umount()
227 __release_dentry(rootfs_sb.root); in rootfs_umount()