Home
last modified time | relevance | path

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

12

/openbmc/linux/fs/autofs/
H A 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()
H A Dwaitq.c280 if (!IS_ROOT(dentry)) { in validate_request()
340 else if (!IS_ROOT(dentry->d_parent)) in autofs_wait()
349 if (IS_ROOT(dentry) && autofs_type_trigger(sbi->type)) { in autofs_wait()
/openbmc/linux/fs/exportfs/
H A 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()
/openbmc/linux/include/linux/
H A Ddcache.h31 #define IS_ROOT(x) ((x) == (x)->d_parent) macro
340 return d_unhashed(dentry) && !IS_ROOT(dentry); in d_unlinked()
H A Dfsnotify.h74 if (IS_ROOT(dentry)) in fsnotify_parent()
/openbmc/linux/fs/
H A Dd_path.c282 (!IS_ROOT(path->dentry) || path->dentry != path->mnt->mnt_root)) in d_path()
342 while (!IS_ROOT(dentry)) { in __dentry_path()
H A Ddcache.c498 if (unlikely(IS_ROOT(dentry))) in ___d_drop()
586 if (!IS_ROOT(dentry)) in __dentry_kill()
660 if (IS_ROOT(dentry)) in lock_parent()
724 if (!IS_ROOT(dentry)) { in dentry_kill()
1162 if (IS_ROOT(dentry) || likely(spin_trylock(&parent->d_lock))) in shrink_lock_dentry()
1511 for (p = dentry->d_parent; !IS_ROOT(p); p = p->d_parent) { in d_set_mounted()
2960 if (IS_ROOT(dentry)) { in __d_move()
3054 WARN_ON(IS_ROOT(dentry1)); in d_exchange()
3055 WARN_ON(IS_ROOT(dentry2)); in d_exchange()
3074 for (p = p2; !IS_ROOT(p); p = p->d_parent) { in d_ancestor()
[all …]
/openbmc/linux/fs/nfs/
H A Dnamespace.c73 if (IS_ROOT(dentry)) in nfs_path()
155 if (IS_ROOT(path->dentry)) in nfs_d_automount()
H A Dgetroot.c120 if (IS_ROOT(root) && !root->d_fsdata && in nfs_get_root()
H A Ddir.c1507 if (IS_ROOT(dentry)) in nfs_check_verifier()
1629 if (inode && (IS_ROOT(dentry) || in nfs_lookup_revalidate_done()
1644 if (inode && IS_ROOT(dentry)) in nfs_lookup_revalidate_done()
H A Dinode.c794 if (!IS_ROOT(dentry)) { in nfs_readdirplus_parent_cache_miss()
803 if (!IS_ROOT(dentry)) { in nfs_readdirplus_parent_cache_hit()
/openbmc/linux/fs/smb/client/
H A Dnamespace.c202 if (IS_ROOT(mntpt)) in cifs_do_automount()
H A Ddir.c35 } while (!IS_ROOT(direntry)); in renew_parental_timestamps()
H A Dinode.c1491 if (!d_unhashed(dentry) || IS_ROOT(dentry)) { in inode_has_hashed_dentries()
/openbmc/linux/fs/9p/
H A Dfid.c153 for (ds = dentry; !IS_ROOT(ds); ds = ds->d_parent) in build_path_from_dentry()
/openbmc/linux/security/landlock/
H A Dfs.c619 if (unlikely(IS_ROOT(walker_path.dentry))) { in is_access_to_paths_allowed()
748 if (dir == mnt_root || WARN_ON_ONCE(IS_ROOT(dir))) in collect_domain_accesses()
/openbmc/linux/fs/nfsd/
H A Dnfsfh.c39 while (tdentry != exp->ex_path.dentry && !IS_ROOT(tdentry)) { in nfsd_acceptable()
H A Dexport.c993 while (PTR_ERR(exp) == -ENOENT && !IS_ROOT(path->dentry)) { in exp_parent()
1203 while (PTR_ERR(exp) == -ENOENT && !IS_ROOT(path->dentry)) { in rqst_exp_parent()
/openbmc/linux/fs/tracefs/
H A Dinode.c602 while (!IS_ROOT(parent)) { in instance_inode()
/openbmc/linux/fs/ceph/
H A Ddir.c1808 if (IS_ROOT(dentry)) in __dir_lease_try_check()
2027 if (IS_ROOT(dentry)) in ceph_d_prune()
H A Dmds_client.c1251 while (dentry && !IS_ROOT(dentry)) { in get_nonsnap_parent()
2698 if (IS_ROOT(cur)) in ceph_mdsc_build_path()
4271 if (!IS_ROOT(alias)) in d_find_primary()
/openbmc/linux/Documentation/filesystems/nfs/
H A Dexporting.rst86 If it doesn't, a new anonymous (IS_ROOT and
/openbmc/linux/fs/overlayfs/
H A Ddir.c974 for (d = dget(dentry); !IS_ROOT(d);) { in ovl_get_redirect()
/openbmc/linux/fs/exfat/
H A Dnamei.c707 return IS_ROOT(dentry) && (dentry->d_flags & DCACHE_DISCONNECTED); in exfat_d_anon_disconn()
/openbmc/linux/fs/gfs2/
H A Dsuper.c1076 } while (!IS_ROOT(d1)); in is_ancestor()

12