Home
last modified time | relevance | path

Searched refs:child_node_list (Results 1 – 9 of 9) sorted by relevance

/DragonOS-0.1.3/kernel/src/filesystem/vfs/
Dmount.c39 list_init(&new_dentry->child_node_list); in do_mount()
44 list_replace(&old_dentry->child_node_list, &new_dentry->child_node_list); in do_mount()
Ddcache.c42 list_del(&dentry->child_node_list); // 从父dentry中删除 in vfs_dentry_put()
56 … in_value = (uint64_t)container_of(list, struct vfs_dir_entry_t, child_node_list); in vfs_dentry_put()
93 list_del(&dentry->child_node_list); // 从父dentry中删除 in vfs_dentry_put()
DVFS.c123 d_ptr = container_of(ptr, struct vfs_dir_entry_t, child_node_list); in vfs_search_dentry_list()
190 list_add(&parent->subdirs_list, &dentry->child_node_list); in vfs_path_walk()
331 …_dir_entry_t *prev_dentry = list_entry(target_list->prev, struct vfs_dir_entry_t, child_node_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()
469 …try = list_entry(list_next(&parent_dentry->subdirs_list), struct vfs_dir_entry_t, child_node_list); in do_open()
472 list_add(&parent_dentry->subdirs_list, &dentry->child_node_list); in do_open()
586 list_init(&dentry->child_node_list); in vfs_alloc_dentry()
DVFS.h50 struct List child_node_list; member
/DragonOS-0.1.3/kernel/src/filesystem/rootfs/
Drootfs.c68 … struct vfs_dir_entry_t *target_dent = container_of(list, struct vfs_dir_entry_t, child_node_list); in rootfs_readdir()
121 … struct vfs_dir_entry_t *tmp = container_of(list, struct vfs_dir_entry_t, child_node_list); in rootfs_add_dir()
131 list_append(&rootfs_sb.root->subdirs_list, &dentry->child_node_list); in rootfs_add_dir()
183 struct vfs_dir_entry_t *tmp = container_of(list, struct vfs_dir_entry_t, child_node_list); in rootfs_migrate()
189 list_init(&tmp->child_node_list); in rootfs_migrate()
190 list_append(&vfs_root_sb->root->subdirs_list, &tmp->child_node_list); in rootfs_migrate()
195 list_del(&tmp->child_node_list); in rootfs_migrate()
/DragonOS-0.1.3/kernel/src/filesystem/devfs/
Dinternal.h41 … struct vfs_dir_entry_t *target_dent = container_of(list, struct vfs_dir_entry_t, child_node_list); in __devfs_find_dentry()
105 list_append(&((parent_dentry)->subdirs_list), &((dentry)->child_node_list)); \
Ddevfs.c101 … struct vfs_dir_entry_t *target_dent = container_of(list, struct vfs_dir_entry_t, child_node_list); in devfs_readdir()
303 target_dentry = list_entry(target_list, struct vfs_dir_entry_t, child_node_list); in devfs_unregister_device()
/DragonOS-0.1.3/kernel/src/filesystem/procfs/
Dprocfs.c287 … struct vfs_dir_entry_t *target_dent = container_of(list, struct vfs_dir_entry_t, child_node_list); in procfs_readdir()
/DragonOS-0.1.3/kernel/src/filesystem/fat32/
Dfat32.c360 list_init(&dest_dentry->child_node_list); in fat32_lookup()