Home
last modified time | relevance | path

Searched refs:old_dentry (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.2/kernel/src/filesystem/VFS/
Dmount.c26 int do_mount(struct vfs_dir_entry_t *old_dentry, struct vfs_dir_entry_t *new_dentry) in do_mount() argument
30 mp->dentry = old_dentry; in do_mount()
31 mp->parent_dentry = old_dentry->parent; in do_mount()
34 strncpy(new_dentry->name, old_dentry->name, old_dentry->name_length); in do_mount()
35 …ntry->name=%s, old_dentry->name_length=%d", new_dentry->name, old_dentry->name, old_dentry->name_l… in do_mount()
41 new_dentry->parent = old_dentry->parent; in do_mount()
44 list_replace(&old_dentry->child_node_list, &new_dentry->child_node_list); in do_mount()
Dmount.h29 int do_mount(struct vfs_dir_entry_t *old_dentry, struct vfs_dir_entry_t *new_dentry);