Searched refs:subdirs_list (Results 1 – 9 of 9) sorted by relevance
/DragonOS-0.1.2/kernel/src/filesystem/rootfs/ |
D | rootfs.c | 55 struct List *list = &dentry->subdirs_list; in rootfs_readdir() 60 if (list == &dentry->subdirs_list) // 找完了 in rootfs_readdir() 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() 131 list_append(&rootfs_sb.root->subdirs_list, &dentry->child_node_list); in rootfs_add_dir() 176 struct List *list = &rootfs_sb.root->subdirs_list; in rootfs_migrate() 180 while (list != &rootfs_sb.root->subdirs_list) in rootfs_migrate() 190 list_append(&vfs_root_sb->root->subdirs_list, &tmp->child_node_list); in rootfs_migrate()
|
/DragonOS-0.1.2/kernel/src/filesystem/devfs/ |
D | internal.h | 36 struct List *list = &parent_dentry->subdirs_list; in __devfs_find_dentry() 37 while (list_next(list) != &parent_dentry->subdirs_list) in __devfs_find_dentry() 105 list_append(&((parent_dentry)->subdirs_list), &((dentry)->child_node_list)); \
|
D | devfs.c | 88 struct List *list = &dentry->subdirs_list; in devfs_readdir() 93 if (list == &dentry->subdirs_list) // 找完了 in devfs_readdir() 301 list_for_each_safe(target_list, tmp_list, &base_dentry->subdirs_list) in devfs_unregister_device()
|
/DragonOS-0.1.2/kernel/src/filesystem/VFS/ |
D | VFS.c | 115 if (list_empty(&dentry->subdirs_list)) in vfs_search_dentry_list() 118 struct List *ptr = &dentry->subdirs_list; in vfs_search_dentry_list() 126 } while (list_next(ptr) != (&dentry->subdirs_list)); in vfs_search_dentry_list() 190 list_add(&parent->subdirs_list, &dentry->child_node_list); in vfs_path_walk() 327 struct List *target_list = &parent_dir->subdirs_list; in vfs_mkdir() 334 list_append(&parent_dir->subdirs_list, &subdir_dentry->child_node_list); in vfs_mkdir() 340 list_append(&parent_dir->subdirs_list, &subdir_dentry->child_node_list); in vfs_mkdir() 467 if (!list_empty(&parent_dentry->subdirs_list)) in do_open() 469 …next_dentry = list_entry(list_next(&parent_dentry->subdirs_list), struct vfs_dir_entry_t, child_no… in do_open() 472 list_add(&parent_dentry->subdirs_list, &dentry->child_node_list); in do_open() [all …]
|
D | dcache.c | 49 struct List *list = &dentry->subdirs_list; in vfs_dentry_put() 60 } while (list_next(list) != (&dentry->subdirs_list)); in vfs_dentry_put()
|
D | mount.c | 40 list_init(&new_dentry->subdirs_list); in do_mount()
|
D | VFS.h | 51 struct List subdirs_list; member
|
/DragonOS-0.1.2/kernel/src/filesystem/procfs/ |
D | procfs.c | 275 struct List *list = &dentry->subdirs_list; in procfs_readdir() 280 if (list == &dentry->subdirs_list) // 找完了 in procfs_readdir()
|
/DragonOS-0.1.2/kernel/src/filesystem/fat32/ |
D | fat32.c | 361 list_init(&dest_dentry->subdirs_list); in fat32_lookup()
|