Home
last modified time | relevance | path

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

1234

/Linux-v4.19/fs/
Ddcache.c542 parent = dentry->d_parent; in __dentry_kill()
590 parent = READ_ONCE(dentry->d_parent); in __lock_parent()
600 if (unlikely(parent != dentry->d_parent)) { in __lock_parent()
614 struct dentry *parent = dentry->d_parent; in lock_parent()
661 parent = dentry->d_parent; in dentry_kill()
873 ret = READ_ONCE(dentry->d_parent); in dget_parent()
877 if (likely(ret == READ_ONCE(dentry->d_parent))) in dget_parent()
888 ret = dentry->d_parent; in dget_parent()
890 if (unlikely(ret != dentry->d_parent)) { in dget_parent()
1036 parent = dentry->d_parent; in shrink_lock_dentry()
[all …]
Dd_path.c123 parent = dentry->d_parent; in prepend_path()
345 struct dentry *parent = dentry->d_parent; in __dentry_path()
/Linux-v4.19/fs/autofs/
Droot.c155 struct dentry *parent = dentry->d_parent; in autofs_lookup_active()
184 if (active->d_parent != parent) in autofs_lookup_active()
210 struct dentry *parent = dentry->d_parent; in autofs_lookup_expiring()
244 if (expiring->d_parent != parent) in autofs_lookup_expiring()
317 struct dentry *parent = dentry->d_parent; in autofs_mountpoint_changed()
526 if (!autofs_oz_mode(sbi) && !IS_ROOT(dentry->d_parent)) in autofs_lookup()
530 if (IS_ROOT(dentry->d_parent) && in autofs_lookup()
592 p_ino = autofs_dentry_ino(dentry->d_parent); in autofs_dir_symlink()
633 p_ino = autofs_dentry_ino(dentry->d_parent); in autofs_dir_unlink()
668 if (IS_ROOT(dentry->d_parent)) in autofs_set_leaf_automount_flags()
[all …]
Dwaitq.c198 for (tmp = dentry ; tmp != root ; tmp = tmp->d_parent) in autofs_getpath()
213 for (tmp = dentry->d_parent; tmp != root ; tmp = tmp->d_parent) { in autofs_getpath()
330 struct dentry *parent = dentry->d_parent; in validate_request()
386 else if (!IS_ROOT(dentry->d_parent)) in autofs_wait()
502 de = d_lookup(dentry->d_parent, &dentry->d_name); in autofs_wait()
/Linux-v4.19/fs/overlayfs/
Ddir.c137 d = lookup_one_len(dentry->d_name.name, dentry->d_parent, in ovl_mkdir_real()
247 ovl_dir_modified(dentry->d_parent, false); in ovl_instantiate()
297 struct dentry *upperdir = ovl_dentry_upper(dentry->d_parent); in ovl_create_upper()
315 if (ovl_type_merge(dentry->d_parent) && d_is_dir(newdentry)) { in ovl_create_upper()
338 struct dentry *upperdir = ovl_dentry_upper(dentry->d_parent); in ovl_clear_empty()
363 if (upper->d_parent->d_inode != udir) in ovl_clear_empty()
438 struct dentry *upperdir = ovl_dentry_upper(dentry->d_parent); in ovl_create_over_whiteout()
450 err = posix_acl_create(dentry->d_parent->d_inode, in ovl_create_over_whiteout()
541 struct dentry *parent = dentry->d_parent; in ovl_create_or_link()
610 inode_init_owner(inode, dentry->d_parent->d_inode, mode); in ovl_create_object()
[all …]
Dnamei.c793 err = ovl_set_impure(dentry->d_parent, upper->d_parent); in ovl_fix_origin()
805 struct ovl_entry *poe = dentry->d_parent->d_fsdata; in ovl_lookup()
833 upperdir = ovl_dentry_upper(dentry->d_parent); in ovl_lookup()
1103 struct ovl_entry *poe = dentry->d_parent->d_fsdata; in ovl_lower_positive()
/Linux-v4.19/fs/configfs/
Dsymlink.c143 sd = dentry->d_parent->d_fsdata; in configfs_symlink()
152 parent_item = configfs_get_config_item(dentry->d_parent); in configfs_symlink()
198 parent_item = configfs_get_config_item(dentry->d_parent); in configfs_unlink()
204 configfs_drop_dentry(sd, dentry->d_parent); in configfs_unlink()
261 item = configfs_get_config_item(dentry->d_parent); in configfs_getlink()
Dfile.c72 struct config_item * item = to_item(dentry->d_parent); in fill_read_buffer()
157 struct config_item *item = to_item(dentry->d_parent); in configfs_read_bin_file()
259 struct config_item * item = to_item(dentry->d_parent); in flush_write_buffer()
368 struct config_item *item = configfs_get_config_item(file->f_path.dentry->d_parent); in check_perm()
453 struct config_item * item = to_item(filp->f_path.dentry->d_parent); in configfs_release()
486 struct config_item *item = to_item(dentry->d_parent); in configfs_release_bin_file()
Ddir.c282 struct dentry *p = dentry->d_parent; in configfs_create_dir()
376 struct dentry * parent = dget(d->d_parent); in remove_dir()
444 struct configfs_dirent * parent_sd = dentry->d_parent->d_fsdata; in configfs_lookup()
1267 sd = dentry->d_parent->d_fsdata; in configfs_mkdir()
1284 parent_item = configfs_get_config_item(dentry->d_parent); in configfs_mkdir()
1443 parent_item = configfs_get_config_item(dentry->d_parent); in configfs_rmdir()
1908 if (dentry->d_parent != root) { in configfs_unregister_subsystem()
/Linux-v4.19/fs/debugfs/
Dinode.c324 inode_unlock(d_inode(dentry->d_parent)); in failed_creating()
332 inode_unlock(d_inode(dentry->d_parent)); in end_creating()
364 fsnotify_create(d_inode(dentry->d_parent), dentry); in __debugfs_create_file()
522 inc_nlink(d_inode(dentry->d_parent)); in debugfs_create_dir()
523 fsnotify_mkdir(d_inode(dentry->d_parent), dentry); in debugfs_create_dir()
561 inc_nlink(d_inode(dentry->d_parent)); in debugfs_create_automount()
562 fsnotify_mkdir(d_inode(dentry->d_parent), dentry); in debugfs_create_automount()
682 parent = dentry->d_parent; in debugfs_remove()
751 parent = parent->d_parent; in debugfs_remove_recursive()
/Linux-v4.19/fs/tracefs/
Dinode.c352 inode_unlock(dentry->d_parent->d_inode); in failed_creating()
360 inode_unlock(dentry->d_parent->d_inode); in end_creating()
413 fsnotify_create(dentry->d_parent->d_inode, dentry); in tracefs_create_file()
437 inc_nlink(dentry->d_parent->d_inode); in __create_dir()
438 fsnotify_mkdir(dentry->d_parent->d_inode, dentry); in __create_dir()
542 parent = dentry->d_parent; in tracefs_remove()
605 parent = parent->d_parent; in tracefs_remove_recursive()
/Linux-v4.19/fs/nfs/
Dunlink.c48 struct inode *dir = d_inode(data->dentry->d_parent); in nfs_async_unlink_done()
68 up_read_non_owner(&NFS_I(d_inode(dentry->d_parent))->rmdir_sem); in nfs_async_unlink_release()
78 struct inode *dir = d_inode(data->dentry->d_parent); in nfs_unlink_prepare()
103 struct inode *dir = d_inode(data->dentry->d_parent); in nfs_do_call_unlink()
118 struct inode *dir = d_inode(dentry->d_parent); in nfs_call_unlink()
122 alias = d_alloc_parallel(dentry->d_parent, &data->args.name, &data->wq); in nfs_call_unlink()
480 sdentry = lookup_one_len(silly, dentry->d_parent, slen); in nfs_sillyrename()
/Linux-v4.19/fs/ocfs2/
Ddcache.c45 OCFS2_I(d_inode(dentry->d_parent))->ip_dir_lock_gen; in ocfs2_dentry_attach_gen()
74 pgen = OCFS2_I(d_inode(dentry->d_parent))->ip_dir_lock_gen; in ocfs2_dentry_revalidate()
143 if (!dentry->d_parent) in ocfs2_match_dentry()
149 parent = d_inode(dentry->d_parent); in ocfs2_match_dentry()
Ddir.h75 return __ocfs2_add_entry(handle, d_inode(dentry->d_parent), in ocfs2_add_entry()
/Linux-v4.19/fs/9p/
Dfid.c100 for (ds = dentry; !IS_ROOT(ds); ds = ds->d_parent) in build_path_from_dentry()
107 for (ds = dentry, i = (n-1); i >= 0; i--, ds = ds->d_parent) in build_path_from_dentry()
136 ds = dentry->d_parent; in v9fs_fid_lookup_with_uid()
Dfid.h29 return v9fs_fid_lookup(dentry->d_parent); in v9fs_parent_fid()
/Linux-v4.19/net/batman-adv/
Ddebugfs.c361 d = debugfs_rename(dir->d_parent, dir, dir->d_parent, name); in batadv_debugfs_rename_hardif()
451 d = debugfs_rename(dir->d_parent, dir, dir->d_parent, name); in batadv_debugfs_rename_meshif()
/Linux-v4.19/lib/
Dtest_printf.c386 { .d_parent = &test_dentry[0],
389 { .d_parent = &test_dentry[0],
392 { .d_parent = &test_dentry[1],
395 { .d_parent = &test_dentry[2],
/Linux-v4.19/fs/ext4/
Dfsync.c59 next = igrab(d_inode(dentry->d_parent)); in ext4_sync_parent()
/Linux-v4.19/include/linux/
Ddcache.h29 #define IS_ROOT(x) ((x) == (x)->d_parent)
93 struct dentry *d_parent; /* parent directory */ member
/Linux-v4.19/fs/reiserfs/
Dxattr.c302 inode_lock_nested(d_inode(dir->d_parent), in reiserfs_for_each_xattr()
308 inode_unlock(d_inode(dir->d_parent)); in reiserfs_for_each_xattr()
323 struct inode *dir = d_inode(dentry->d_parent); in delete_one_xattr()
855 struct inode *inode = d_inode(dentry->d_parent); in create_privroot()
/Linux-v4.19/fs/sysv/
Ddir.c131 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-v4.19/drivers/net/ethernet/amd/xgbe/
Dxgbe-debugfs.c562 pfile = debugfs_rename(pdata->xgbe_debugfs->d_parent, in xgbe_debugfs_rename()
564 pdata->xgbe_debugfs->d_parent, buf); in xgbe_debugfs_rename()
/Linux-v4.19/fs/omfs/
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()
/Linux-v4.19/fs/ecryptfs/
Dinode.c339 lower_mnt = mntget(ecryptfs_dentry_to_lower_mnt(dentry->d_parent)); in ecryptfs_lookup_interpose()
340 fsstack_copy_attr_atime(d_inode(dentry->d_parent), in ecryptfs_lookup_interpose()
341 d_inode(lower_dentry->d_parent)); in ecryptfs_lookup_interpose()
393 lower_dir_dentry = ecryptfs_dentry_to_lower(ecryptfs_dentry->d_parent); in ecryptfs_lookup()

1234