/linux-5.19.10/fs/ |
D | dcache.c | 583 parent = dentry->d_parent; in __dentry_kill() 631 parent = READ_ONCE(dentry->d_parent); in __lock_parent() 641 if (unlikely(parent != dentry->d_parent)) { in __lock_parent() 655 struct dentry *parent = dentry->d_parent; in lock_parent() 721 parent = dentry->d_parent; in dentry_kill() 968 ret = READ_ONCE(dentry->d_parent); in dget_parent() 983 ret = dentry->d_parent; in dget_parent() 985 if (unlikely(ret != dentry->d_parent)) { in dget_parent() 1156 parent = dentry->d_parent; in shrink_lock_dentry() 1162 if (unlikely(parent != dentry->d_parent)) { in shrink_lock_dentry() [all …]
|
D | d_path.c | 107 const struct dentry *parent = READ_ONCE(dentry->d_parent); in __prepend_path() 343 const struct dentry *parent = dentry->d_parent; in __dentry_path()
|
/linux-5.19.10/fs/autofs/ |
D | root.c | 131 struct dentry *parent = dentry->d_parent; in autofs_lookup_active() 160 if (active->d_parent != parent) in autofs_lookup_active() 186 struct dentry *parent = dentry->d_parent; in autofs_lookup_expiring() 220 if (expiring->d_parent != parent) in autofs_lookup_expiring() 296 struct dentry *parent = dentry->d_parent; in autofs_mountpoint_changed() 506 if (!autofs_oz_mode(sbi) && !IS_ROOT(dentry->d_parent)) in autofs_lookup() 516 if (IS_ROOT(dentry->d_parent) && in autofs_lookup() 575 p_ino = autofs_dentry_ino(dentry->d_parent); in autofs_dir_symlink() 615 p_ino = autofs_dentry_ino(dentry->d_parent); in autofs_dir_unlink() 648 if (IS_ROOT(dentry->d_parent)) in autofs_set_leaf_automount_flags() [all …]
|
D | waitq.c | 282 struct dentry *parent = dentry->d_parent; in validate_request() 339 else if (!IS_ROOT(dentry->d_parent)) in autofs_wait() 459 de = d_lookup(dentry->d_parent, &dentry->d_name); in autofs_wait()
|
/linux-5.19.10/fs/overlayfs/ |
D | dir.c | 158 d = ovl_lookup_upper(ofs, dentry->d_name.name, dentry->d_parent, in ovl_mkdir_real() 270 ovl_dir_modified(dentry->d_parent, false); in ovl_instantiate() 326 struct dentry *upperdir = ovl_dentry_upper(dentry->d_parent); in ovl_create_upper() 343 if (ovl_type_merge(dentry->d_parent) && d_is_dir(newdentry) && in ovl_create_upper() 368 struct dentry *upperdir = ovl_dentry_upper(dentry->d_parent); in ovl_clear_empty() 393 if (upper->d_parent->d_inode != udir) in ovl_clear_empty() 468 struct dentry *upperdir = ovl_dentry_upper(dentry->d_parent); in ovl_create_over_whiteout() 480 err = posix_acl_create(dentry->d_parent->d_inode, in ovl_create_over_whiteout() 577 struct dentry *parent = dentry->d_parent; in ovl_create_or_link() 646 inode_init_owner(&init_user_ns, inode, dentry->d_parent->d_inode, mode); in ovl_create_object() [all …]
|
D | namei.c | 823 err = ovl_set_impure(dentry->d_parent, upper->d_parent); in ovl_fix_origin() 835 struct ovl_entry *poe = dentry->d_parent->d_fsdata; in ovl_lookup() 864 upperdir = ovl_dentry_upper(dentry->d_parent); in ovl_lookup() 1155 struct ovl_entry *poe = dentry->d_parent->d_fsdata; in ovl_lower_positive()
|
/linux-5.19.10/fs/tracefs/ |
D | inode.c | 217 this_parent = child->d_parent; in set_gid() 442 inode_unlock(d_inode(dentry->d_parent)); in failed_creating() 450 inode_unlock(d_inode(dentry->d_parent)); in end_creating() 505 inode->i_uid = d_inode(dentry->d_parent)->i_uid; in tracefs_create_file() 506 inode->i_gid = d_inode(dentry->d_parent)->i_gid; in tracefs_create_file() 508 fsnotify_create(d_inode(dentry->d_parent), dentry); in tracefs_create_file() 529 inode->i_uid = d_inode(dentry->d_parent)->i_uid; in __create_dir() 530 inode->i_gid = d_inode(dentry->d_parent)->i_gid; in __create_dir() 535 inc_nlink(d_inode(dentry->d_parent)); in __create_dir() 536 fsnotify_mkdir(d_inode(dentry->d_parent), dentry); in __create_dir()
|
/linux-5.19.10/fs/nfs/ |
D | unlink.c | 49 struct inode *dir = d_inode(data->dentry->d_parent); in nfs_async_unlink_done() 69 up_read_non_owner(&NFS_I(d_inode(dentry->d_parent))->rmdir_sem); in nfs_async_unlink_release() 79 struct inode *dir = d_inode(data->dentry->d_parent); in nfs_unlink_prepare() 104 struct inode *dir = d_inode(data->dentry->d_parent); in nfs_do_call_unlink() 123 struct inode *dir = d_inode(dentry->d_parent); in nfs_call_unlink() 127 alias = d_alloc_parallel(dentry->d_parent, &data->args.name, &data->wq); in nfs_call_unlink() 475 sdentry = lookup_one_len(silly, dentry->d_parent, slen); in nfs_sillyrename()
|
/linux-5.19.10/fs/configfs/ |
D | symlink.c | 150 sd = dentry->d_parent->d_fsdata; in configfs_symlink() 158 parent_item = configfs_get_config_item(dentry->d_parent); in configfs_symlink() 233 parent_item = configfs_get_config_item(dentry->d_parent); in configfs_unlink() 239 configfs_drop_dentry(sd, dentry->d_parent); in configfs_unlink()
|
D | dir.c | 287 struct dentry *p = dentry->d_parent; in configfs_create_dir() 391 struct dentry * parent = dget(d->d_parent); in remove_dir() 432 struct configfs_dirent * parent_sd = dentry->d_parent->d_fsdata; in configfs_lookup() 1267 sd = dentry->d_parent->d_fsdata; in configfs_mkdir() 1290 parent_item = configfs_get_config_item(dentry->d_parent); in configfs_mkdir() 1451 parent_item = configfs_get_config_item(dentry->d_parent); in configfs_rmdir() 1915 if (dentry->d_parent != root) { in configfs_unregister_subsystem()
|
/linux-5.19.10/fs/ocfs2/ |
D | dcache.c | 29 OCFS2_I(d_inode(dentry->d_parent))->ip_dir_lock_gen; in ocfs2_dentry_attach_gen() 58 pgen = OCFS2_I(d_inode(dentry->d_parent))->ip_dir_lock_gen; in ocfs2_dentry_revalidate() 127 if (!dentry->d_parent) in ocfs2_match_dentry() 133 parent = d_inode(dentry->d_parent); in ocfs2_match_dentry()
|
D | dir.h | 59 return __ocfs2_add_entry(handle, d_inode(dentry->d_parent), in ocfs2_add_entry()
|
/linux-5.19.10/fs/debugfs/ |
D | inode.c | 374 inode_unlock(d_inode(dentry->d_parent)); in failed_creating() 382 inode_unlock(d_inode(dentry->d_parent)); in end_creating() 423 fsnotify_create(d_inode(dentry->d_parent), dentry); in __debugfs_create_file() 592 inc_nlink(d_inode(dentry->d_parent)); in debugfs_create_dir() 593 fsnotify_mkdir(d_inode(dentry->d_parent), dentry); in debugfs_create_dir() 639 inc_nlink(d_inode(dentry->d_parent)); in debugfs_create_automount() 640 fsnotify_mkdir(d_inode(dentry->d_parent), dentry); in debugfs_create_automount()
|
/linux-5.19.10/fs/9p/ |
D | fid.c | 132 for (ds = dentry; !IS_ROOT(ds); ds = ds->d_parent) in build_path_from_dentry() 139 for (ds = dentry, i = (n-1); i >= 0; i--, ds = ds->d_parent) in build_path_from_dentry() 168 ds = dentry->d_parent; in v9fs_fid_lookup_with_uid()
|
D | fid.h | 14 return v9fs_fid_lookup(dentry->d_parent); in v9fs_parent_fid()
|
/linux-5.19.10/fs/ecryptfs/ |
D | inode.c | 31 lower_dir_dentry = ecryptfs_dentry_to_lower(dentry->d_parent); in lock_parent() 36 return (*lower_dentry)->d_parent == lower_dir_dentry ? 0 : -EINVAL; in lock_parent() 320 struct path *path = ecryptfs_dentry_to_lower_path(dentry->d_parent); in ecryptfs_lookup_interpose() 331 fsstack_copy_attr_atime(d_inode(dentry->d_parent), in ecryptfs_lookup_interpose() 392 lower_dir_dentry = ecryptfs_dentry_to_lower(ecryptfs_dentry->d_parent); in ecryptfs_lookup() 591 lower_old_dir_dentry = ecryptfs_dentry_to_lower(old_dentry->d_parent); in ecryptfs_rename() 592 lower_new_dir_dentry = ecryptfs_dentry_to_lower(new_dentry->d_parent); in ecryptfs_rename() 602 if (lower_old_dentry->d_parent != lower_old_dir_dentry) in ecryptfs_rename() 604 if (lower_new_dentry->d_parent != lower_new_dir_dentry) in ecryptfs_rename()
|
/linux-5.19.10/fs/afs/ |
D | dir_silly.c | 125 sdentry = lookup_one_len(silly, dentry->d_parent, slen); in afs_sillyrename() 237 struct afs_vnode *dvnode = AFS_FS_I(d_inode(dentry->d_parent)); in afs_silly_iput() 248 alias = d_alloc_parallel(dentry->d_parent, &dentry->d_name, &wq); in afs_silly_iput()
|
/linux-5.19.10/lib/ |
D | test_printf.c | 464 { .d_parent = &test_dentry[0], 467 { .d_parent = &test_dentry[0], 470 { .d_parent = &test_dentry[1], 473 { .d_parent = &test_dentry[2],
|
/linux-5.19.10/include/linux/ |
D | dcache.h | 30 #define IS_ROOT(x) ((x) == (x)->d_parent) 86 struct dentry *d_parent; /* parent directory */ member
|
/linux-5.19.10/fs/reiserfs/ |
D | xattr.c | 309 inode_lock_nested(d_inode(dir->d_parent), in reiserfs_for_each_xattr() 315 inode_unlock(d_inode(dir->d_parent)); in reiserfs_for_each_xattr() 334 struct inode *dir = d_inode(dentry->d_parent); in delete_one_xattr() 885 struct inode *inode = d_inode(dentry->d_parent); in create_privroot()
|
/linux-5.19.10/fs/sysv/ |
D | dir.c | 131 struct inode * dir = d_inode(dentry->d_parent); in sysv_find_entry() 175 struct inode *dir = d_inode(dentry->d_parent); in sysv_add_link()
|
/linux-5.19.10/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-debugfs.c | 520 debugfs_rename(pdata->xgbe_debugfs->d_parent, pdata->xgbe_debugfs, in xgbe_debugfs_rename() 521 pdata->xgbe_debugfs->d_parent, buf); in xgbe_debugfs_rename()
|
/linux-5.19.10/fs/notify/ |
D | fsnotify.c | 288 if (dir != moved->d_parent->d_inode) in fsnotify_handle_event() 500 inode2 = moved->d_parent->d_inode; in fsnotify()
|
/linux-5.19.10/fs/omfs/ |
D | dir.c | 113 struct inode *dir = d_inode(dentry->d_parent); in omfs_add_link() 158 struct inode *dir = d_inode(dentry->d_parent); in omfs_delete_entry()
|
/linux-5.19.10/security/ |
D | inode.c | 302 dir = d_inode(dentry->d_parent); in securityfs_remove()
|