Searched refs:parent_dentry (Results 1 – 4 of 4) sorted by relevance
34 static inline struct vfs_dir_entry_t *__devfs_find_dentry(struct vfs_dir_entry_t *parent_dentry, co… in __devfs_find_dentry() argument36 struct List *list = &parent_dentry->subdirs_list; in __devfs_find_dentry()37 while (list_next(list) != &parent_dentry->subdirs_list) in __devfs_find_dentry()55 static inline struct vfs_dir_entry_t *__devfs_find_dir(struct vfs_dir_entry_t *parent_dentry, const… in __devfs_find_dir() argument57 struct vfs_dir_entry_t *target_dent = __devfs_find_dentry(parent_dentry, name); in __devfs_find_dir()103 #define __devfs_dentry_bind_parent(parent_dentry, dentry) ({ \ argument104 (dentry)->parent = (parent_dentry); \105 list_append(&((parent_dentry)->subdirs_list), &((dentry)->child_node_list)); \
421 struct vfs_dir_entry_t *parent_dentry = NULL; in do_open() local427 parent_dentry = vfs_path_walk(path, 0); in do_open()428 if (parent_dentry == NULL) in do_open()436 parent_dentry = vfs_root_sb->root; in do_open()445 dentry->parent = parent_dentry; in do_open()448 spin_lock(&parent_dentry->lockref.lock); in do_open()449 spin_lock(&parent_dentry->dir_inode->lockref.lock); in do_open()451 …uint64_t retval = parent_dentry->dir_inode->inode_ops->create(parent_dentry->dir_inode, dentry, 0); in do_open()452 spin_unlock(&parent_dentry->dir_inode->lockref.lock); // 解锁inode in do_open()460 spin_unlock(&parent_dentry->lockref.lock); in do_open()[all …]
31 mp->parent_dentry = old_dentry->parent; in do_mount()82 if (dentry == tmp->parent_dentry) in mount_find_mnt_list_by_parent()
12 struct vfs_dir_entry_t *parent_dentry; // 被挂载前,父目录项的dentry member