Home
last modified time | relevance | path

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

12345

/linux/fs/
A Ddcache.c558 parent = dentry->d_parent; in __dentry_kill()
696 parent = dentry->d_parent; in dentry_kill()
958 ret = dentry->d_parent; in dget_parent()
1131 parent = dentry->d_parent; in shrink_lock_dentry()
1481 for (p = dentry->d_parent; !IS_ROOT(p); p = p->d_parent) { in d_set_mounted()
1786 dentry->d_parent = dentry; in __d_alloc()
1832 dentry->d_parent = parent; in d_alloc()
2765 if (alias->d_parent != entry->d_parent) in d_exact_alias()
2905 dentry->d_parent = target->d_parent; in __d_move()
2987 if (p->d_parent == p1) in d_ancestor()
[all …]
A Dd_path.c107 const struct dentry *parent = READ_ONCE(dentry->d_parent); in __prepend_path()
343 const struct dentry *parent = dentry->d_parent; in __dentry_path()
/linux/fs/autofs/
A Droot.c131 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()
516 if (IS_ROOT(dentry->d_parent) && in autofs_lookup()
648 if (IS_ROOT(dentry->d_parent)) in autofs_set_leaf_automount_flags()
653 parent = dentry->d_parent; in autofs_set_leaf_automount_flags()
655 if (IS_ROOT(parent->d_parent)) in autofs_set_leaf_automount_flags()
665 if (IS_ROOT(dentry->d_parent)) in autofs_clear_leaf_automount_flags()
670 parent = dentry->d_parent; in autofs_clear_leaf_automount_flags()
[all …]
A Dwaitq.c282 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/fs/overlayfs/
A Ddir.c268 ovl_dir_modified(dentry->d_parent, false); in ovl_instantiate()
391 if (upper->d_parent->d_inode != udir) in ovl_clear_empty()
477 err = posix_acl_create(dentry->d_parent->d_inode, in ovl_create_over_whiteout()
574 struct dentry *parent = dentry->d_parent; in ovl_create_or_link()
711 err = ovl_copy_up(new->d_parent); in ovl_link()
787 ovl_dir_modified(dentry->d_parent, true); in ovl_remove_and_whiteout()
898 err = ovl_copy_up(dentry->d_parent); in ovl_do_remove()
1142 err = ovl_copy_up(new->d_parent); in ovl_rename()
1168 old_upperdir = ovl_dentry_upper(old->d_parent); in ovl_rename()
1169 new_upperdir = ovl_dentry_upper(new->d_parent); in ovl_rename()
[all …]
A Dnamei.c816 err = ovl_set_impure(dentry->d_parent, upper->d_parent); in ovl_fix_origin()
828 struct ovl_entry *poe = dentry->d_parent->d_fsdata; in ovl_lookup()
857 upperdir = ovl_dentry_upper(dentry->d_parent); in ovl_lookup()
1142 struct ovl_entry *poe = dentry->d_parent->d_fsdata; in ovl_lower_positive()
A Dreaddir.c478 this = dget(dir->d_parent); in ovl_cache_update_ino()
706 if (OVL_TYPE_MERGE(ovl_path_type(dir->d_parent))) { in ovl_iterate_real()
710 statpath.dentry = dir->d_parent; in ovl_iterate_real()
753 OVL_TYPE_MERGE(ovl_path_type(dentry->d_parent))))) { in ovl_iterate()
/linux/fs/tracefs/
A Dinode.c215 this_parent = child->d_parent; in set_gid()
426 inode_unlock(dentry->d_parent->d_inode); in failed_creating()
434 inode_unlock(dentry->d_parent->d_inode); in end_creating()
489 inode->i_uid = d_inode(dentry->d_parent)->i_uid; in tracefs_create_file()
490 inode->i_gid = d_inode(dentry->d_parent)->i_gid; in tracefs_create_file()
492 fsnotify_create(dentry->d_parent->d_inode, dentry); in tracefs_create_file()
513 inode->i_uid = d_inode(dentry->d_parent)->i_uid; in __create_dir()
514 inode->i_gid = d_inode(dentry->d_parent)->i_gid; in __create_dir()
519 inc_nlink(dentry->d_parent->d_inode); in __create_dir()
520 fsnotify_mkdir(dentry->d_parent->d_inode, dentry); in __create_dir()
/linux/fs/nfs/
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()
119 struct inode *dir = d_inode(dentry->d_parent); in nfs_call_unlink()
123 alias = d_alloc_parallel(dentry->d_parent, &data->args.name, &data->wq); in nfs_call_unlink()
466 sdentry = lookup_one_len(silly, dentry->d_parent, slen); in nfs_sillyrename()
/linux/fs/configfs/
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()
A Ddir.c279 struct dentry *p = dentry->d_parent; in configfs_create_dir()
383 struct dentry * parent = dget(d->d_parent); in remove_dir()
424 struct configfs_dirent * parent_sd = dentry->d_parent->d_fsdata; in configfs_lookup()
1259 sd = dentry->d_parent->d_fsdata; in configfs_mkdir()
1282 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()
1903 if (dentry->d_parent != root) { in configfs_unregister_subsystem()
/linux/fs/debugfs/
A Dinode.c374 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()
582 inc_nlink(d_inode(dentry->d_parent)); in debugfs_create_dir()
583 fsnotify_mkdir(d_inode(dentry->d_parent), dentry); in debugfs_create_dir()
629 inc_nlink(d_inode(dentry->d_parent)); in debugfs_create_automount()
630 fsnotify_mkdir(d_inode(dentry->d_parent), dentry); in debugfs_create_automount()
/linux/fs/ocfs2/
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()
A Ddir.h59 return __ocfs2_add_entry(handle, d_inode(dentry->d_parent), in ocfs2_add_entry()
/linux/fs/9p/
A Dfid.c133 for (ds = dentry; !IS_ROOT(ds); ds = ds->d_parent) in build_path_from_dentry()
140 for (ds = dentry, i = (n-1); i >= 0; i--, ds = ds->d_parent) in build_path_from_dentry()
169 ds = dentry->d_parent; in v9fs_fid_lookup_with_uid()
A Dfid.h14 return v9fs_fid_lookup(dentry->d_parent); in v9fs_parent_fid()
/linux/fs/ecryptfs/
A Dinode.c31 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/fs/afs/
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()
/linux/lib/
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],
/linux/include/linux/
A Ddcache.h30 #define IS_ROOT(x) ((x) == (x)->d_parent)
96 struct dentry *d_parent; /* parent directory */ member
/linux/fs/reiserfs/
A Dxattr.c309 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/fs/sysv/
A 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/drivers/net/ethernet/amd/xgbe/
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()
/linux/fs/omfs/
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()
/linux/fs/cachefiles/
A Dnamei.c342 if (rep->d_parent != dir || IS_DEADDIR(d_inode(rep))) { in cachefiles_bury_object()
451 ASSERT(object->dentry->d_parent); in cachefiles_delete_object()
466 if (dir == object->dentry->d_parent) { in cachefiles_delete_object()

Completed in 48 milliseconds

12345