Home
last modified time | relevance | path

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

/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()
/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()
/linux/fs/nfs/
H A Dnamespace.c73 if (IS_ROOT(dentry)) in nfs_path()
155 if (IS_ROOT(path->dentry)) in nfs_d_automount()
/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.c507 if (unlikely(IS_ROOT(dentry))) in ___d_drop()
624 if (!IS_ROOT(dentry)) { in __dentry_kill()
1386 for (p = dentry->d_parent; !IS_ROOT(p); p = p->d_parent) { in d_set_mounted()
2794 if (IS_ROOT(dentry)) { in __d_move()
2892 WARN_ON(IS_ROOT(dentry1)); in d_exchange()
2893 WARN_ON(IS_ROOT(dentry2)); in d_exchange()
2912 for (p = p2; !IS_ROOT(p); p = p->d_parent) { in d_ancestor()
3007 } else if (!IS_ROOT(new)) { in d_splice_alias()
/linux/include/linux/
H A Ddcache.h31 #define IS_ROOT(x) ((x) == (x)->d_parent) macro
359 return d_unhashed(dentry) && !IS_ROOT(dentry); in d_unlinked()
H A Dfsnotify.h93 if (IS_ROOT(dentry)) in fsnotify_parent()
/linux/fs/9p/
H A Dfid.c154 for (ds = dentry; !IS_ROOT(ds); ds = ds->d_parent) in build_path_from_dentry()
/linux/security/landlock/
H A Dfs.c908 if (unlikely(IS_ROOT(walker_path.dentry))) { in is_access_to_paths_allowed()
1040 if (dir == mnt_root || WARN_ON_ONCE(IS_ROOT(dir))) in collect_domain_accesses()
1163 * !IS_ROOT(old_dentry) at the same time (e.g. with open_tree() and in current_check_refer_path()
/linux/fs/tracefs/
H A Dinode.c589 while (!IS_ROOT(parent)) { in instance_inode()
/linux/fs/bcachefs/
H A Dxattr.c541 if (!IS_ROOT(dentry)) { in bch2_xattr_bcachefs_set()
/linux/fs/smb/client/
H A Ddir.c35 } while (!IS_ROOT(direntry)); in renew_parental_timestamps()
/linux/fs/ceph/
H A Ddir.c1885 if (IS_ROOT(dentry)) in __dir_lease_try_check()
2109 if (IS_ROOT(dentry)) in ceph_d_prune()
H A Dmds_client.c1263 while (dentry && !IS_ROOT(dentry)) { in get_nonsnap_parent()
2793 if (IS_ROOT(cur)) in ceph_mdsc_build_path()
4552 if (!IS_ROOT(alias)) in d_find_primary()
/linux/Documentation/filesystems/nfs/
H A Dexporting.rst86 If it doesn't, a new anonymous (IS_ROOT and
/linux/fs/overlayfs/
H A Ddir.c979 for (d = dget(dentry); !IS_ROOT(d);) { in ovl_get_redirect()
/linux/fs/btrfs/
H A Dtree-log.c6959 if (IS_ROOT(parent)) in log_new_ancestors_fast()
H A Dinode.c5755 if (!inode && !IS_ROOT(dentry)) in btrfs_dentry_delete()