Home
last modified time | relevance | path

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

12

/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()
/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.c559 * d_obtain_root, which are always IS_ROOT: in ___d_drop()
561 if (unlikely(IS_ROOT(dentry))) in ___d_drop()
678 if (!IS_ROOT(dentry)) { in __dentry_kill()
1048 * If the inode has an IS_ROOT, DCACHE_DISCONNECTED alias, then prefer
1440 for (p = dentry->d_parent; !IS_ROOT(p); p = p->d_parent) { in d_set_mounted()
1807 * performs lookups at all, return an unhashed IS_ROOT dentry.
2092 * Obtain an IS_ROOT dentry for the root of a filesystem.
2820 if (IS_ROOT(dentry)) { in __d_move()
2858 if (dentry != old_parent) /* wasn't IS_ROOT */ in __d_move()
2918 WARN_ON(IS_ROOT(dentry in d_exchange()
[all...]
H A Dfhandle.c219 while (d != root && !IS_ROOT(d)) { in vfs_dentry_acceptable()
H A Dnamei.c3199 if (IS_ROOT(victim)) in may_delete()
/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.c53 * Oops, since the test for IS_ROOT() will fail. in nfs_superblock_set_dummy_root()
120 if (IS_ROOT(root) && !root->d_fsdata && in nfs_get_root()
H A Ddir.c1511 if (IS_ROOT(dentry)) in nfs_check_verifier()
1634 if (inode && (IS_ROOT(dentry) || in nfs_lookup_revalidate_done()
1649 if (inode && IS_ROOT(dentry)) in nfs_lookup_revalidate_done()
H A Dinode.c922 if (!IS_ROOT(dentry)) { in nfs_readdirplus_parent_cache_miss()
931 if (!IS_ROOT(dentry)) { in nfs_readdirplus_parent_cache_hit()
/linux/fs/smb/client/
H A Dnamespace.c205 if (IS_ROOT(mntpt)) in cifs_do_automount()
H A Ddir.c36 } while (!IS_ROOT(direntry)); in renew_parental_timestamps()
H A Dinode.c1601 if (!d_unhashed(dentry) || IS_ROOT(dentry)) { in inode_has_hashed_dentries()
/linux/fs/9p/
H A Dfid.c153 for (ds = dentry; !IS_ROOT(ds); ds = ds->d_parent) in build_path_from_dentry()
/linux/include/linux/
H A Dfsnotify.h93 if (IS_ROOT(dentry)) in fsnotify_parent()
/linux/security/landlock/
H A Dfs.c912 if (unlikely(IS_ROOT(walker_path.dentry))) { in is_access_to_paths_allowed()
1066 if (dir == mnt_root || WARN_ON_ONCE(IS_ROOT(dir))) in collect_domain_accesses()
1194 * !IS_ROOT(old_dentry) at the same time (e.g. with open_tree() and in current_check_refer_path()
/linux/fs/nfsd/
H A Dnfsfh.c39 while (tdentry != exp->ex_path.dentry && !IS_ROOT(tdentry)) { in nfsd_acceptable()
H A Dexport.c1003 while (PTR_ERR(exp) == -ENOENT && !IS_ROOT(path->dentry)) { in exp_parent()
1268 while (PTR_ERR(exp) == -ENOENT && !IS_ROOT(path->dentry)) { in rqst_exp_parent()
/linux/fs/tracefs/
H A Dinode.c596 while (!IS_ROOT(parent)) { in instance_inode()
/linux/fs/bcachefs/
H A Dxattr.c552 if (!IS_ROOT(dentry)) { in bch2_xattr_bcachefs_set()
/linux/fs/ceph/
H A Ddir.c1893 if (IS_ROOT(dentry)) in __dir_lease_try_check()
2106 if (IS_ROOT(dentry)) in ceph_d_prune()
H A Dmds_client.c1263 while (dentry && !IS_ROOT(dentry)) { in get_nonsnap_parent()
2788 if (IS_ROOT(cur)) in ceph_mdsc_build_path()
4546 if (!IS_ROOT(alias)) in d_find_primary()
/linux/fs/exfat/
H A Dnamei.c712 return IS_ROOT(dentry) && (dentry->d_flags & DCACHE_DISCONNECTED); in exfat_d_anon_disconn()
/linux/fs/overlayfs/
H A Ddir.c980 for (d = dget(dentry); !IS_ROOT(d);) { in ovl_get_redirect()
/linux/fs/btrfs/
H A Dioctl.c866 if (IS_ROOT(victim)) in btrfs_may_delete()
/linux/Documentation/filesystems/
H A Dvfs.rst579 calls could instantiate the directory inode with an IS_ROOT()

12