Home
last modified time | relevance | path

Searched refs:IS_ROOT (Results 1 – 25 of 26) sorted by relevance

12

/Linux-v5.10/fs/
Dd_path.c103 if (dentry == vfsmnt->mnt_root || IS_ROOT(dentry)) { in prepend_path()
280 (!IS_ROOT(path->dentry) || path->dentry != path->mnt->mnt_root)) in d_path()
349 while (!IS_ROOT(dentry)) { in __dentry_path()
Ddcache.c484 if (unlikely(IS_ROOT(dentry))) in ___d_drop()
554 if (!IS_ROOT(dentry)) in __dentry_kill()
628 if (IS_ROOT(dentry)) in lock_parent()
692 if (!IS_ROOT(dentry)) { in dentry_kill()
1097 if (IS_ROOT(dentry) || likely(spin_trylock(&parent->d_lock))) in shrink_lock_dentry()
1446 for (p = dentry->d_parent; !IS_ROOT(p); p = p->d_parent) { in d_set_mounted()
2837 if (IS_ROOT(dentry)) { in __d_move()
2931 WARN_ON(IS_ROOT(dentry1)); in d_exchange()
2932 WARN_ON(IS_ROOT(dentry2)); in d_exchange()
2951 for (p = p2; !IS_ROOT(p); p = p->d_parent) { in d_ancestor()
[all …]
Dnamei.c2713 if (IS_ROOT(victim)) in may_delete()
/Linux-v5.10/fs/autofs/
Droot.c504 if (!autofs_oz_mode(sbi) && !IS_ROOT(dentry->d_parent)) in autofs_lookup()
514 if (IS_ROOT(dentry->d_parent) && in autofs_lookup()
646 if (IS_ROOT(dentry->d_parent)) in autofs_set_leaf_automount_flags()
653 if (IS_ROOT(parent->d_parent)) in autofs_set_leaf_automount_flags()
663 if (IS_ROOT(dentry->d_parent)) in autofs_clear_leaf_automount_flags()
670 if (IS_ROOT(parent->d_parent)) in autofs_clear_leaf_automount_flags()
Dwaitq.c324 if (!IS_ROOT(dentry)) { in validate_request()
383 else if (!IS_ROOT(dentry->d_parent)) in autofs_wait()
392 if (IS_ROOT(dentry) && autofs_type_trigger(sbi->type)) in autofs_wait()
/Linux-v5.10/fs/exportfs/
Dexpfs.c97 WARN_ON_ONCE(IS_ROOT(dentry)); in clear_disconnected()
165 if (IS_ROOT(dentry)) { in reconnect_one()
221 if (IS_ROOT(dentry)) in reconnect_path()
/Linux-v5.10/fs/nfs/
Dnamespace.c73 if (IS_ROOT(dentry)) in nfs_path()
155 if (IS_ROOT(path->dentry)) in nfs_d_automount()
Dgetroot.c123 if (IS_ROOT(root) && !root->d_fsdata && in nfs_get_root()
Ddir.c1130 if (IS_ROOT(dentry)) in nfs_check_verifier()
1249 if (IS_ROOT(dentry)) in nfs_lookup_revalidate_done()
/Linux-v5.10/include/linux/
Ddcache.h29 #define IS_ROOT(x) ((x) == (x)->d_parent) macro
343 return d_unhashed(dentry) && !IS_ROOT(dentry); in d_unlinked()
Dfsnotify.h65 if (IS_ROOT(dentry)) in fsnotify_parent()
/Linux-v5.10/fs/cifs/
Ddir.c45 } while (!IS_ROOT(direntry)); in renew_parental_timestamps()
117 for (temp = direntry; !IS_ROOT(temp);) { in build_path_from_dentry_optional_prefix()
133 for (temp = direntry; !IS_ROOT(temp);) { in build_path_from_dentry_optional_prefix()
Dcifs_dfs_ref.c306 BUG_ON(IS_ROOT(mntpt)); in cifs_dfs_do_automount()
Dinode.c1278 if (!d_unhashed(dentry) || IS_ROOT(dentry)) {
/Linux-v5.10/fs/9p/
Dfid.c85 for (ds = dentry; !IS_ROOT(ds); ds = ds->d_parent) in build_path_from_dentry()
/Linux-v5.10/fs/nfsd/
Dnfsfh.c39 while (tdentry != exp->ex_path.dentry && !IS_ROOT(tdentry)) { in nfsd_acceptable()
Dexport.c895 while (PTR_ERR(exp) == -ENOENT && !IS_ROOT(path->dentry)) { in exp_parent()
1087 while (PTR_ERR(exp) == -ENOENT && !IS_ROOT(path->dentry)) { in rqst_exp_parent()
/Linux-v5.10/Documentation/filesystems/nfs/
Dexporting.rst86 If it doesn't, a new anonymous (IS_ROOT and
/Linux-v5.10/fs/ceph/
Ddir.c1605 if (IS_ROOT(dentry)) in __dir_lease_try_check()
1819 if (IS_ROOT(dentry)) in ceph_d_prune()
Dmds_client.c972 while (dentry && !IS_ROOT(dentry)) { in get_nonsnap_parent()
2373 if (IS_ROOT(temp)) in ceph_mdsc_build_path()
3632 if (!IS_ROOT(alias)) in d_find_primary()
/Linux-v5.10/fs/overlayfs/
Ddir.c973 for (d = dget(dentry); !IS_ROOT(d);) { in ovl_get_redirect()
/Linux-v5.10/fs/gfs2/
Dsuper.c1082 } while (!IS_ROOT(d1)); in is_ancestor()
/Linux-v5.10/fs/exfat/
Dnamei.c687 return IS_ROOT(dentry) && (dentry->d_flags & DCACHE_DISCONNECTED); in exfat_d_anon_disconn()
/Linux-v5.10/fs/btrfs/
Dtree-log.c5503 if (IS_ROOT(parent)) { in check_parent_dirs_for_sync()
5911 if (IS_ROOT(parent)) in log_new_ancestors_fast()
Dioctl.c924 if (IS_ROOT(victim)) in btrfs_may_delete()

12