Lines Matching refs:list
55 struct List *list = &dentry->subdirs_list; in rootfs_readdir() local
59 list = list_next(list); in rootfs_readdir()
60 if (list == &dentry->subdirs_list) // 找完了 in rootfs_readdir()
68 … struct vfs_dir_entry_t *target_dent = container_of(list, struct vfs_dir_entry_t, child_node_list); in rootfs_readdir()
117 struct List *list = &rootfs_sb.root->subdirs_list; in rootfs_add_dir() local
118 while (list_next(list) != &rootfs_sb.root->subdirs_list) in rootfs_add_dir()
120 list = list_next(list); in rootfs_add_dir()
121 … struct vfs_dir_entry_t *tmp = container_of(list, struct vfs_dir_entry_t, child_node_list); in rootfs_add_dir()
176 struct List *list = &rootfs_sb.root->subdirs_list; in rootfs_migrate() local
177 if (unlikely(list_empty(list))) in rootfs_migrate()
179 list = list_next(list); in rootfs_migrate()
180 while (list != &rootfs_sb.root->subdirs_list) in rootfs_migrate()
183 struct vfs_dir_entry_t *tmp = container_of(list, struct vfs_dir_entry_t, child_node_list); in rootfs_migrate()
186 list = list_next(list); // 获取下一个列表结点(不然的话下面的几行代码就覆盖掉了正确的值了) in rootfs_migrate()
194 list = list_next(list); // 不迁移空的dentry,直接释放他们 in rootfs_migrate()