Home
last modified time | relevance | path

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

/Linux-v5.4/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()
574 if (p_ino && !IS_ROOT(dentry)) in autofs_dir_symlink()
615 if (p_ino && !IS_ROOT(dentry)) in autofs_dir_unlink()
649 if (IS_ROOT(dentry->d_parent)) in autofs_set_leaf_automount_flags()
656 if (IS_ROOT(parent->d_parent)) in autofs_set_leaf_automount_flags()
667 if (IS_ROOT(dentry->d_parent)) in autofs_clear_leaf_automount_flags()
674 if (IS_ROOT(parent->d_parent)) in autofs_clear_leaf_automount_flags()
765 if (p_ino && !IS_ROOT(dentry)) in autofs_dir_mkdir()
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.4/fs/
Dd_path.c103 if (dentry == vfsmnt->mnt_root || IS_ROOT(dentry)) { in prepend_path()
276 (!IS_ROOT(path->dentry) || path->dentry != path->mnt->mnt_root)) in d_path()
345 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()
673 if (!IS_ROOT(dentry)) { in dentry_kill()
1076 if (IS_ROOT(dentry) || likely(spin_trylock(&parent->d_lock))) in shrink_lock_dentry()
1425 for (p = dentry->d_parent; !IS_ROOT(p); p = p->d_parent) { in d_set_mounted()
2816 if (IS_ROOT(dentry)) { in __d_move()
2910 WARN_ON(IS_ROOT(dentry1)); in d_exchange()
2911 WARN_ON(IS_ROOT(dentry2)); in d_exchange()
2930 for (p = p2; !IS_ROOT(p); p = p->d_parent) { in d_ancestor()
[all …]
Dnamei.c2809 if (IS_ROOT(victim)) in may_delete()
/Linux-v5.4/fs/nfs/
Dnamespace.c68 if (IS_ROOT(dentry)) in nfs_path()
147 if (IS_ROOT(path->dentry)) in nfs_d_automount()
Dgetroot.c119 if (IS_ROOT(ret) && !ret->d_fsdata && in nfs_get_root()
Ddir.c977 if (IS_ROOT(dentry)) in nfs_check_verifier()
1096 if (IS_ROOT(dentry)) in nfs_lookup_revalidate_done()
/Linux-v5.4/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.4/include/linux/
Ddcache.h29 #define IS_ROOT(x) ((x) == (x)->d_parent) macro
341 return d_unhashed(dentry) && !IS_ROOT(dentry); in d_unlinked()
/Linux-v5.4/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.c307 BUG_ON(IS_ROOT(mntpt)); in cifs_dfs_do_automount()
Dinode.c1013 if (!d_unhashed(dentry) || IS_ROOT(dentry)) {
/Linux-v5.4/fs/9p/
Dfid.c85 for (ds = dentry; !IS_ROOT(ds); ds = ds->d_parent) in build_path_from_dentry()
/Linux-v5.4/fs/nfsd/
Dnfsfh.c38 while (tdentry != exp->ex_path.dentry && !IS_ROOT(tdentry)) { in nfsd_acceptable()
Dexport.c872 while (PTR_ERR(exp) == -ENOENT && !IS_ROOT(path->dentry)) { in exp_parent()
1064 while (PTR_ERR(exp) == -ENOENT && !IS_ROOT(path->dentry)) { in rqst_exp_parent()
/Linux-v5.4/Documentation/filesystems/nfs/
Dexporting.rst86 If it doesn't, a new anonymous (IS_ROOT and
/Linux-v5.4/fs/ceph/
Ddir.c1500 if (IS_ROOT(dentry)) in __dir_lease_try_check()
1702 if (IS_ROOT(dentry)) in ceph_d_prune()
Dmds_client.c859 while (dentry && !IS_ROOT(dentry)) { in get_nonsnap_parent()
2174 if (IS_ROOT(temp)) in ceph_mdsc_build_path()
/Linux-v5.4/fs/overlayfs/
Ddir.c921 for (d = dget(dentry); !IS_ROOT(d);) { in ovl_get_redirect()
/Linux-v5.4/fs/gfs2/
Dsuper.c1029 } while (!IS_ROOT(d1)); in is_ancestor()
/Linux-v5.4/fs/btrfs/
Dtree-log.c5563 if (IS_ROOT(parent)) { in check_parent_dirs_for_sync()
5969 if (IS_ROOT(parent)) in log_new_ancestors_fast()
Dioctl.c922 if (IS_ROOT(victim)) in btrfs_may_delete()
Dinode.c5908 if (!inode && !IS_ROOT(dentry)) in btrfs_dentry_delete()
/Linux-v5.4/drivers/staging/exfat/
Dexfat_super.c2423 return IS_ROOT(dentry) && (dentry->d_flags & DCACHE_DISCONNECTED); in exfat_d_anon_disconn()