/kernel/linux/linux-5.10/fs/ |
H A D | d_path.c | 103 if (dentry == vfsmnt->mnt_root || IS_ROOT(dentry)) { in prepend_path() 280 (!IS_ROOT(path->dentry) || path->dentry != path->mnt->mnt_root)) in d_path() 349 while (!IS_ROOT(dentry)) { in __dentry_path()
|
H A D | dcache.c | 482 * d_obtain_root, which are always IS_ROOT: in ___d_drop() 484 if (unlikely(IS_ROOT(dentry))) in ___d_drop() 554 if (!IS_ROOT(dentry)) in __dentry_kill() 628 if (IS_ROOT(dentry)) in lock_parent() 692 if (!IS_ROOT(dentry)) { 1004 * If the inode has an IS_ROOT, DCACHE_DISCONNECTED alias, then prefer 1098 if (IS_ROOT(dentry) || likely(spin_trylock(&parent->d_lock))) in shrink_lock_dentry() 1447 for (p = dentry->d_parent; !IS_ROOT(p); p = p->d_parent) { in d_set_mounted() 1828 * performs lookups at all, return an unhashed IS_ROOT dentry. 2120 * Obtain an IS_ROOT dentr [all...] |
/kernel/linux/linux-5.10/fs/autofs/ |
H A D | root.c | 504 if (!autofs_oz_mode(sbi) && !IS_ROOT(dentry->d_parent)) in autofs_lookup() 514 if (IS_ROOT(dentry->d_parent) && in autofs_lookup() 646 if (IS_ROOT(dentry->d_parent)) in autofs_set_leaf_automount_flags() 653 if (IS_ROOT(parent->d_parent)) in autofs_set_leaf_automount_flags() 663 if (IS_ROOT(dentry->d_parent)) in autofs_clear_leaf_automount_flags() 670 if (IS_ROOT(parent->d_parent)) in autofs_clear_leaf_automount_flags()
|
H A D | waitq.c | 325 if (!IS_ROOT(dentry)) { in validate_request() 384 else if (!IS_ROOT(dentry->d_parent)) in autofs_wait() 393 if (IS_ROOT(dentry) && autofs_type_trigger(sbi->type)) in autofs_wait()
|
/kernel/linux/linux-6.6/fs/autofs/ |
H A D | root.c | 523 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 D | waitq.c | 280 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()
|
/kernel/linux/linux-5.10/fs/exportfs/ |
H A D | expfs.c | 97 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()
|
/kernel/linux/linux-6.6/fs/exportfs/ |
H A D | expfs.c | 97 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()
|
/kernel/linux/linux-5.10/fs/nfs/ |
H A D | namespace.c | 73 if (IS_ROOT(dentry)) in nfs_path() 155 if (IS_ROOT(path->dentry)) in nfs_d_automount()
|
H A D | getroot.c | 53 * Oops, since the test for IS_ROOT() will fail. in nfs_superblock_set_dummy_root() 123 if (IS_ROOT(root) && !root->d_fsdata && in nfs_get_root()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | dcache.h | 29 #define IS_ROOT(x) ((x) == (x)->d_parent) macro 343 return d_unhashed(dentry) && !IS_ROOT(dentry); in d_unlinked()
|
H A D | fsnotify.h | 65 if (IS_ROOT(dentry)) in fsnotify_parent()
|
/kernel/linux/linux-6.6/fs/ |
H A D | d_path.c | 282 (!IS_ROOT(path->dentry) || path->dentry != path->mnt->mnt_root)) in d_path() 342 while (!IS_ROOT(dentry)) { in __dentry_path()
|
H A D | dcache.c | 492 * d_obtain_root, which are always IS_ROOT: in ___d_drop() 494 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)) { 1058 * If the inode has an IS_ROOT, DCACHE_DISCONNECTED alias, then prefer 1158 if (IS_ROOT(dentry) || likely(spin_trylock(&parent->d_lock))) in shrink_lock_dentry() 1507 for (p = dentry->d_parent; !IS_ROOT(p); p = p->d_parent) { in d_set_mounted() 1888 * performs lookups at all, return an unhashed IS_ROOT dentry. 2180 * Obtain an IS_ROOT dentr [all...] |
/kernel/linux/linux-6.6/fs/nfs/ |
H A D | namespace.c | 73 if (IS_ROOT(dentry)) in nfs_path() 155 if (IS_ROOT(path->dentry)) in nfs_d_automount()
|
H A D | getroot.c | 53 * 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()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | dcache.h | 31 #define IS_ROOT(x) ((x) == (x)->d_parent) macro 340 return d_unhashed(dentry) && !IS_ROOT(dentry); in d_unlinked()
|
/kernel/linux/linux-5.10/fs/cifs/ |
H A D | dir.c | 45 } while (!IS_ROOT(direntry)); in renew_parental_timestamps() 117 for (temp = direntry; !IS_ROOT(temp);) { in build_path_from_dentry_optional_prefix() 133 for (temp = direntry; !IS_ROOT(temp);) { in build_path_from_dentry_optional_prefix()
|
/kernel/linux/linux-5.10/fs/9p/ |
H A D | fid.c | 85 for (ds = dentry; !IS_ROOT(ds); ds = ds->d_parent) in build_path_from_dentry()
|
/kernel/linux/linux-5.10/fs/sharefs/ |
H A D | lookup.c | 216 if (IS_ROOT(dentry)) in __sharefs_lookup()
|
/kernel/linux/linux-6.6/fs/sharefs/ |
H A D | lookup.c | 216 if (IS_ROOT(dentry)) in __sharefs_lookup()
|
/kernel/linux/linux-6.6/fs/smb/client/ |
H A D | namespace.c | 200 if (IS_ROOT(mntpt)) in cifs_do_automount()
|
/kernel/linux/linux-6.6/fs/9p/ |
H A D | fid.c | 154 for (ds = dentry; !IS_ROOT(ds); ds = ds->d_parent) in build_path_from_dentry()
|
/kernel/linux/linux-6.6/security/landlock/ |
H A D | fs.c | 619 if (unlikely(IS_ROOT(walker_path.dentry))) { in is_access_to_paths_allowed() 749 if (dir == mnt_root || WARN_ON_ONCE(IS_ROOT(dir))) in collect_domain_accesses()
|
/kernel/linux/linux-5.10/fs/hmdfs/ |
H A D | dentry.c | 80 if (IS_ROOT(direntry)) { in hmdfs_dev_d_revalidate()
|