Lines Matching refs:rootfs_sb
6 static struct vfs_superblock_t rootfs_sb = {0}; variable
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()
138 rootfs_sb.blk_device = NULL; in rootfs_init()
139 rootfs_sb.private_sb_info = NULL; in rootfs_init()
140 rootfs_sb.sb_ops = &rootfs_sb_ops; in rootfs_init()
141 rootfs_sb.dir_ops = &rootfs_dentry_ops; in rootfs_init()
144 rootfs_sb.root = vfs_alloc_dentry(sizeof("/")); in rootfs_init()
145 struct vfs_dir_entry_t *dentry = rootfs_sb.root; in rootfs_init()
152 dentry->dir_inode->sb = &rootfs_sb; in rootfs_init()
158 vfs_root_sb = &rootfs_sb; 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()
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()