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.c531 if (!autofs_oz_mode(sbi) && !IS_ROOT(dentry->d_parent)) in autofs_lookup()
541 if (IS_ROOT(dentry->d_parent) && in autofs_lookup()
668 if (IS_ROOT(dentry->d_parent)) in autofs_set_leaf_automount_flags()
675 if (IS_ROOT(parent->d_parent)) in autofs_set_leaf_automount_flags()
685 if (IS_ROOT(dentry->d_parent)) in autofs_clear_leaf_automount_flags()
692 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()
/linux/fs/exportfs/
H A Dexpfs.c97 WARN_ON_ONCE(IS_ROOT(dentry)); in clear_disconnected()
163 if (IS_ROOT(dentry)) { in reconnect_one()
219 if (IS_ROOT(dentry)) in reconnect_path()
/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.c562 if (unlikely(IS_ROOT(dentry))) in ___d_drop()
679 if (!IS_ROOT(dentry)) { in __dentry_kill()
1464 for (p = dentry->d_parent; !IS_ROOT(p); p = p->d_parent) { in d_set_mounted()
2885 if (IS_ROOT(dentry)) { in __d_move()
2983 WARN_ON(IS_ROOT(dentry1)); in d_exchange()
2984 WARN_ON(IS_ROOT(dentry2)); in d_exchange()
3004 for (p = p2; !IS_ROOT(p); p = p->d_parent) { in d_ancestor()
3082 } else if (!IS_ROOT(new)) { in d_splice_alias_ops()
/linux/fs/nfs/
H A Dnamespace.c73 if (IS_ROOT(dentry)) in nfs_path()
156 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.c1512 if (IS_ROOT(dentry)) in nfs_check_verifier()
1644 if (inode && (IS_ROOT(dentry) || in nfs_lookup_revalidate_done()
1659 if (inode && IS_ROOT(dentry)) in nfs_lookup_revalidate_done()
H A Dinode.c935 if (!IS_ROOT(dentry)) { in nfs_readdirplus_parent_cache_miss()
944 if (!IS_ROOT(dentry)) { in nfs_readdirplus_parent_cache_hit()
/linux/include/linux/
H A Ddcache.h31 #define IS_ROOT(x) ((x) == (x)->d_parent) macro
371 return d_unhashed(dentry) && !IS_ROOT(dentry); in d_unlinked()
/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.c1602 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/arch/s390/hypfs/
H A Dinode.c63 if (IS_ROOT(dentry->d_parent)) { in hypfs_add_dentry()
/linux/security/landlock/
H A Dfs.c913 if (unlikely(IS_ROOT(walker_path.dentry))) { in is_access_to_paths_allowed()
1084 if (dir == mnt_root || unlikely(IS_ROOT(dir))) in collect_domain_accesses()
/linux/fs/tracefs/
H A Dinode.c595 while (!IS_ROOT(parent)) { in instance_inode()
/linux/fs/nfsd/
H A Dnfsfh.c39 while (tdentry != exp->ex_path.dentry && !IS_ROOT(tdentry)) { in nfsd_acceptable()
/linux/fs/ceph/
H A Ddir.c1890 if (IS_ROOT(dentry)) in __dir_lease_try_check()
2103 if (IS_ROOT(dentry)) in ceph_d_prune()
H A Dmds_client.c1265 while (dentry && !IS_ROOT(dentry)) { in get_nonsnap_parent()
2794 if (IS_ROOT(cur)) in ceph_mdsc_build_path()
4610 if (!IS_ROOT(alias)) in d_find_primary()
/linux/fs/exfat/
H A Dnamei.c716 return IS_ROOT(dentry) && (dentry->d_flags & DCACHE_DISCONNECTED); in exfat_d_anon_disconn()
/linux/fs/overlayfs/
H A Ddir.c1012 for (d = dget(dentry); !IS_ROOT(d);) { in ovl_get_redirect()
/linux/Documentation/filesystems/
H A Dporting.rst1194 already be in cache and have a dentry (often IS_ROOT()), it will need to
H A Dvfs.rst556 calls could instantiate the directory inode with an IS_ROOT()
/linux/fs/btrfs/
H A Dioctl.c863 if (IS_ROOT(victim)) in btrfs_may_delete()

12