Home
last modified time | relevance | path

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

12

/linux-6.1.9/fs/autofs/
Droot.c523 if (!autofs_oz_mode(sbi) && !IS_ROOT(dentry->d_parent)) in autofs_lookup()
533 if (IS_ROOT(dentry->d_parent) && in autofs_lookup()
662 if (IS_ROOT(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()
686 if (IS_ROOT(parent->d_parent)) in autofs_clear_leaf_automount_flags()
Dwaitq.c279 if (!IS_ROOT(dentry)) { in validate_request()
339 else if (!IS_ROOT(dentry->d_parent)) in autofs_wait()
348 if (IS_ROOT(dentry) && autofs_type_trigger(sbi->type)) { in autofs_wait()
/linux-6.1.9/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-6.1.9/fs/
Dd_path.c281 (!IS_ROOT(path->dentry) || path->dentry != path->mnt->mnt_root)) in d_path()
341 while (!IS_ROOT(dentry)) { in __dentry_path()
Ddcache.c494 if (unlikely(IS_ROOT(dentry))) in ___d_drop()
582 if (!IS_ROOT(dentry)) in __dentry_kill()
656 if (IS_ROOT(dentry)) in lock_parent()
720 if (!IS_ROOT(dentry)) { in dentry_kill()
1157 if (IS_ROOT(dentry) || likely(spin_trylock(&parent->d_lock))) in shrink_lock_dentry()
1506 for (p = dentry->d_parent; !IS_ROOT(p); p = p->d_parent) { in d_set_mounted()
2954 if (IS_ROOT(dentry)) { in __d_move()
3048 WARN_ON(IS_ROOT(dentry1)); in d_exchange()
3049 WARN_ON(IS_ROOT(dentry2)); in d_exchange()
3068 for (p = p2; !IS_ROOT(p); p = p->d_parent) { in d_ancestor()
[all …]
Dnamei.c2948 if (IS_ROOT(victim)) in may_delete()
/linux-6.1.9/fs/nfs/
Dnamespace.c73 if (IS_ROOT(dentry)) in nfs_path()
155 if (IS_ROOT(path->dentry)) in nfs_d_automount()
Dgetroot.c120 if (IS_ROOT(root) && !root->d_fsdata && in nfs_get_root()
Dinode.c791 if (!IS_ROOT(dentry)) { in nfs_readdirplus_parent_cache_miss()
800 if (!IS_ROOT(dentry)) { in nfs_readdirplus_parent_cache_hit()
Ddir.c1497 if (IS_ROOT(dentry)) in nfs_check_verifier()
1625 if (inode && IS_ROOT(dentry)) in nfs_lookup_revalidate_done()
/linux-6.1.9/include/linux/
Ddcache.h31 #define IS_ROOT(x) ((x) == (x)->d_parent) macro
340 return d_unhashed(dentry) && !IS_ROOT(dentry); in d_unlinked()
Dfsnotify.h74 if (IS_ROOT(dentry)) in fsnotify_parent()
/linux-6.1.9/fs/cifs/
Dcifs_dfs_ref.c315 BUG_ON(IS_ROOT(mntpt)); in cifs_dfs_do_automount()
Ddir.c35 } while (!IS_ROOT(direntry)); in renew_parental_timestamps()
Dinode.c1311 if (!d_unhashed(dentry) || IS_ROOT(dentry)) {
/linux-6.1.9/security/landlock/
Dfs.c609 if (unlikely(IS_ROOT(walker_path.dentry))) { in check_access_path_dual()
753 if (dir == mnt_root || WARN_ON_ONCE(IS_ROOT(dir))) in collect_domain_accesses()
/linux-6.1.9/fs/9p/
Dfid.c140 for (ds = dentry; !IS_ROOT(ds); ds = ds->d_parent) in build_path_from_dentry()
/linux-6.1.9/fs/nfsd/
Dnfsfh.c39 while (tdentry != exp->ex_path.dentry && !IS_ROOT(tdentry)) { in nfsd_acceptable()
Dexport.c955 while (PTR_ERR(exp) == -ENOENT && !IS_ROOT(path->dentry)) { in exp_parent()
1147 while (PTR_ERR(exp) == -ENOENT && !IS_ROOT(path->dentry)) { in rqst_exp_parent()
/linux-6.1.9/Documentation/filesystems/nfs/
Dexporting.rst86 If it doesn't, a new anonymous (IS_ROOT and
/linux-6.1.9/fs/ceph/
Ddir.c1693 if (IS_ROOT(dentry)) in __dir_lease_try_check()
1907 if (IS_ROOT(dentry)) in ceph_d_prune()
Dmds_client.c1092 while (dentry && !IS_ROOT(dentry)) { in get_nonsnap_parent()
2411 if (IS_ROOT(temp)) in ceph_mdsc_build_path()
3862 if (!IS_ROOT(alias)) in d_find_primary()
/linux-6.1.9/fs/overlayfs/
Ddir.c994 for (d = dget(dentry); !IS_ROOT(d);) { in ovl_get_redirect()
/linux-6.1.9/fs/exfat/
Dnamei.c694 return IS_ROOT(dentry) && (dentry->d_flags & DCACHE_DISCONNECTED); in exfat_d_anon_disconn()
/linux-6.1.9/fs/gfs2/
Dsuper.c963 } while (!IS_ROOT(d1)); in is_ancestor()

12