Home
last modified time | relevance | path

Searched refs:d_parent (Results 1 – 25 of 114) sorted by relevance

12345

/openbmc/linux/fs/
H A Ddcache.c587 parent = dentry->d_parent; in __dentry_kill()
725 parent = dentry->d_parent; in dentry_kill()
988 ret = dentry->d_parent; in dget_parent()
1161 parent = dentry->d_parent; in shrink_lock_dentry()
1511 for (p = dentry->d_parent; !IS_ROOT(p); p = p->d_parent) { in d_set_mounted()
1816 dentry->d_parent = dentry; in __d_alloc()
1862 dentry->d_parent = parent; in d_alloc()
2852 if (alias->d_parent != entry->d_parent) in d_exact_alias()
2993 dentry->d_parent = target->d_parent; in __d_move()
3075 if (p->d_parent == p1) in d_ancestor()
[all …]
H A Dd_path.c108 const struct dentry *parent = READ_ONCE(dentry->d_parent); in __prepend_path()
343 const struct dentry *parent = dentry->d_parent; in __dentry_path()
/openbmc/linux/fs/autofs/
H A Droot.c134 struct dentry *parent = dentry->d_parent; in autofs_lookup_active()
163 if (active->d_parent != parent) in autofs_lookup_active()
189 struct dentry *parent = dentry->d_parent; in autofs_lookup_expiring()
223 if (expiring->d_parent != parent) in autofs_lookup_expiring()
533 if (IS_ROOT(dentry->d_parent) && in autofs_lookup()
662 if (IS_ROOT(dentry->d_parent)) in autofs_set_leaf_automount_flags()
667 parent = dentry->d_parent; in autofs_set_leaf_automount_flags()
669 if (IS_ROOT(parent->d_parent)) in autofs_set_leaf_automount_flags()
679 if (IS_ROOT(dentry->d_parent)) in autofs_clear_leaf_automount_flags()
684 parent = dentry->d_parent; in autofs_clear_leaf_automount_flags()
[all …]
H A Dwaitq.c283 struct dentry *parent = dentry->d_parent; in validate_request()
340 else if (!IS_ROOT(dentry->d_parent)) in autofs_wait()
460 de = d_lookup(dentry->d_parent, &dentry->d_name); in autofs_wait()
/openbmc/linux/fs/overlayfs/
H A Ddir.c270 ovl_dir_modified(dentry->d_parent, false); in ovl_instantiate()
389 if (upper->d_parent->d_inode != udir) in ovl_clear_empty()
460 err = posix_acl_create(dentry->d_parent->d_inode, in ovl_create_over_whiteout()
557 struct dentry *parent = dentry->d_parent; in ovl_create_or_link()
708 err = ovl_copy_up(new->d_parent); in ovl_link()
784 ovl_dir_modified(dentry->d_parent, true); in ovl_remove_and_whiteout()
895 err = ovl_copy_up(dentry->d_parent); in ovl_do_remove()
1139 err = ovl_copy_up(new->d_parent); in ovl_rename()
1165 old_upperdir = ovl_dentry_upper(old->d_parent); in ovl_rename()
1166 new_upperdir = ovl_dentry_upper(new->d_parent); in ovl_rename()
[all …]
H A Dnamei.c887 err = ovl_set_impure(dentry->d_parent, upper->d_parent); in ovl_fix_origin()
1006 struct ovl_entry *poe = OVL_E(dentry->d_parent); in ovl_lookup()
1036 upperdir = ovl_dentry_upper(dentry->d_parent); in ovl_lookup()
1344 struct ovl_entry *poe = OVL_E(dentry->d_parent); in ovl_lower_positive()
/openbmc/linux/fs/tracefs/
H A Dinode.c580 inode_unlock(d_inode(dentry->d_parent)); in tracefs_failed_creating()
588 inode_unlock(d_inode(dentry->d_parent)); in tracefs_end_creating()
606 parent = parent->d_parent; in instance_inode()
668 inode->i_uid = d_inode(dentry->d_parent)->i_uid; in tracefs_create_file()
669 inode->i_gid = d_inode(dentry->d_parent)->i_gid; in tracefs_create_file()
671 fsnotify_create(d_inode(dentry->d_parent), dentry); in tracefs_create_file()
693 inode->i_uid = d_inode(dentry->d_parent)->i_uid; in __create_dir()
694 inode->i_gid = d_inode(dentry->d_parent)->i_gid; in __create_dir()
702 inc_nlink(d_inode(dentry->d_parent)); in __create_dir()
703 fsnotify_mkdir(d_inode(dentry->d_parent), dentry); in __create_dir()
H A Devent_inode.c371 dentry = dentry->d_parent; in eventfs_find_events()
862 uid = d_inode(dentry->d_parent)->i_uid; in eventfs_create_events_dir()
863 gid = d_inode(dentry->d_parent)->i_gid; in eventfs_create_events_dir()
900 inc_nlink(dentry->d_parent->d_inode); in eventfs_create_events_dir()
901 fsnotify_mkdir(dentry->d_parent->d_inode, dentry); in eventfs_create_events_dir()
/openbmc/linux/fs/nfs/
H A Dunlink.c49 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()
476 sdentry = lookup_one_len(silly, dentry->d_parent, slen); in nfs_sillyrename()
/openbmc/linux/fs/configfs/
H A Dsymlink.c150 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()
H A Ddir.c287 struct dentry *p = dentry->d_parent; in configfs_create_dir()
393 struct dentry * parent = dget(d->d_parent); in remove_dir()
434 struct configfs_dirent * parent_sd = dentry->d_parent->d_fsdata; in configfs_lookup()
1269 sd = dentry->d_parent->d_fsdata; in configfs_mkdir()
1292 parent_item = configfs_get_config_item(dentry->d_parent); in configfs_mkdir()
1453 parent_item = configfs_get_config_item(dentry->d_parent); in configfs_rmdir()
1912 if (dentry->d_parent != root) { in configfs_unregister_subsystem()
/openbmc/linux/fs/ocfs2/
H A Ddcache.c29 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()
H A Ddir.h59 return __ocfs2_add_entry(handle, d_inode(dentry->d_parent), in ocfs2_add_entry()
/openbmc/linux/fs/debugfs/
H A Dinode.c398 inode_unlock(d_inode(dentry->d_parent)); in failed_creating()
406 inode_unlock(d_inode(dentry->d_parent)); in end_creating()
447 fsnotify_create(d_inode(dentry->d_parent), dentry); in __debugfs_create_file()
616 inc_nlink(d_inode(dentry->d_parent)); in debugfs_create_dir()
617 fsnotify_mkdir(d_inode(dentry->d_parent), dentry); in debugfs_create_dir()
674 inc_nlink(d_inode(dentry->d_parent)); in debugfs_create_automount()
675 fsnotify_mkdir(d_inode(dentry->d_parent), dentry); in debugfs_create_automount()
/openbmc/linux/fs/9p/
H A Dfid.c153 for (ds = dentry; !IS_ROOT(ds); ds = ds->d_parent) in build_path_from_dentry()
160 for (ds = dentry, i = (n-1); i >= 0; i--, ds = ds->d_parent) in build_path_from_dentry()
189 ds = dentry->d_parent; in v9fs_fid_lookup_with_uid()
H A Dfid.h17 return v9fs_fid_lookup(dentry->d_parent); in v9fs_parent_fid()
/openbmc/linux/fs/afs/
H A Ddir_silly.c125 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()
/openbmc/linux/fs/ecryptfs/
H A Dinode.c33 lower_dir_dentry = ecryptfs_dentry_to_lower(dentry->d_parent); in lock_parent()
38 return (*lower_dentry)->d_parent == lower_dir_dentry ? 0 : -EINVAL; in lock_parent()
330 const struct path *path = ecryptfs_dentry_to_lower_path(dentry->d_parent); in ecryptfs_lookup_interpose()
341 fsstack_copy_attr_atime(d_inode(dentry->d_parent), in ecryptfs_lookup_interpose()
402 lower_dir_dentry = ecryptfs_dentry_to_lower(ecryptfs_dentry->d_parent); in ecryptfs_lookup()
601 lower_old_dir_dentry = ecryptfs_dentry_to_lower(old_dentry->d_parent); in ecryptfs_rename()
602 lower_new_dir_dentry = ecryptfs_dentry_to_lower(new_dentry->d_parent); in ecryptfs_rename()
612 if (lower_old_dentry->d_parent != lower_old_dir_dentry) in ecryptfs_rename()
614 if (lower_new_dentry->d_parent != lower_new_dir_dentry) in ecryptfs_rename()
/openbmc/linux/lib/
H A Dtest_printf.c464 { .d_parent = &test_dentry[0],
467 { .d_parent = &test_dentry[0],
470 { .d_parent = &test_dentry[1],
473 { .d_parent = &test_dentry[2],
/openbmc/linux/include/linux/
H A Ddcache.h31 #define IS_ROOT(x) ((x) == (x)->d_parent)
87 struct dentry *d_parent; /* parent directory */ member
/openbmc/linux/fs/sysv/
H A Ddir.c143 struct inode * dir = d_inode(dentry->d_parent); in sysv_find_entry()
186 struct inode *dir = d_inode(dentry->d_parent); in sysv_add_link()
/openbmc/linux/fs/reiserfs/
H A Dxattr.c310 inode_lock_nested(d_inode(dir->d_parent), in reiserfs_for_each_xattr()
316 inode_unlock(d_inode(dir->d_parent)); in reiserfs_for_each_xattr()
335 struct inode *dir = d_inode(dentry->d_parent); in delete_one_xattr()
887 struct inode *inode = d_inode(dentry->d_parent); in create_privroot()
/openbmc/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-debugfs.c520 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()
/openbmc/linux/fs/omfs/
H A Ddir.c113 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()
/openbmc/linux/fs/notify/
H A Dfsnotify.c299 if (dir != moved->d_parent->d_inode) in fsnotify_handle_event()
514 inode2 = moved->d_parent->d_inode; in fsnotify()

12345