Home
last modified time | relevance | path

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

/linux-4.1.27/fs/autofs4/
Droot.c525 if (!autofs4_oz_mode(sbi) && !IS_ROOT(dentry->d_parent)) in autofs4_lookup()
529 if (autofs_type_indirect(sbi->type) && IS_ROOT(dentry->d_parent)) in autofs4_lookup()
588 if (p_ino && !IS_ROOT(dentry)) in autofs4_dir_symlink()
623 if (p_ino && !IS_ROOT(dentry)) in autofs4_dir_unlink()
657 if (IS_ROOT(dentry->d_parent)) in autofs_set_leaf_automount_flags()
664 if (IS_ROOT(parent->d_parent)) in autofs_set_leaf_automount_flags()
676 if (IS_ROOT(dentry->d_parent)) in autofs_clear_leaf_automount_flags()
683 if (IS_ROOT(parent->d_parent)) in autofs_clear_leaf_automount_flags()
760 if (p_ino && !IS_ROOT(dentry)) in autofs4_dir_mkdir()
Dwaitq.c324 if (!IS_ROOT(dentry)) { in validate_request()
378 else if (!IS_ROOT(dentry->d_parent)) in autofs4_wait()
387 if (IS_ROOT(dentry) && autofs_type_trigger(sbi->type)) in autofs4_wait()
/linux-4.1.27/fs/exportfs/
Dexpfs.c79 if (IS_ROOT(dentry)) { in dentry_connected()
95 WARN_ON_ONCE(IS_ROOT(dentry)); in clear_disconnected()
158 if (IS_ROOT(dentry)) { in reconnect_one()
214 if (IS_ROOT(dentry)) in reconnect_path()
/linux-4.1.27/fs/nfs/
Dnamespace.c67 if (IS_ROOT(dentry)) in nfs_path()
149 if (IS_ROOT(path->dentry)) in nfs_d_automount()
Dgetroot.c123 if (IS_ROOT(ret) && !ret->d_fsdata && in nfs_get_root()
Ddir.c1016 if (IS_ROOT(dentry)) in nfs_check_verifier()
1229 if (IS_ROOT(dentry)) in nfs_lookup_revalidate()
/linux-4.1.27/fs/
Ddcache.c477 if (unlikely(IS_ROOT(dentry))) in __d_drop()
503 if (!IS_ROOT(dentry)) in __dentry_kill()
567 if (!IS_ROOT(dentry)) { in dentry_kill()
588 if (IS_ROOT(dentry)) in lock_parent()
866 if (IS_ROOT(alias) && in __d_find_alias()
1311 for (p = dentry->d_parent; !IS_ROOT(p); p = p->d_parent) { in d_set_mounted()
2532 if (IS_ROOT(dentry) || dentry->d_parent == target->d_parent) in dentry_lock_for_move()
2629 if (IS_ROOT(dentry)) { in __d_move()
2680 WARN_ON(IS_ROOT(dentry1)); in d_exchange()
2681 WARN_ON(IS_ROOT(dentry2)); in d_exchange()
[all …]
Dnamei.c2510 if (IS_ROOT(victim)) in may_delete()
/linux-4.1.27/include/linux/
Ddcache.h26 #define IS_ROOT(x) ((x) == (x)->d_parent) macro
379 return d_unhashed(dentry) && !IS_ROOT(dentry); in d_unlinked()
/linux-4.1.27/fs/cifs/
Ddir.c45 } while (!IS_ROOT(direntry)); in renew_parental_timestamps()
102 for (temp = direntry; !IS_ROOT(temp);) { in build_path_from_dentry()
118 for (temp = direntry; !IS_ROOT(temp);) { in build_path_from_dentry()
Dcifs_dfs_ref.c292 BUG_ON(IS_ROOT(mntpt)); in cifs_dfs_do_automount()
Dinode.c925 if (!d_unhashed(dentry) || IS_ROOT(dentry)) {
/linux-4.1.27/fs/9p/
Dfid.c100 for (ds = dentry; !IS_ROOT(ds); ds = ds->d_parent) in build_path_from_dentry()
/linux-4.1.27/fs/nfsd/
Dnfsfh.c37 while (tdentry != exp->ex_path.dentry && !IS_ROOT(tdentry)) { in nfsd_acceptable()
Dexport.c857 while (PTR_ERR(exp) == -ENOENT && !IS_ROOT(path->dentry)) { in exp_parent()
1039 while (PTR_ERR(exp) == -ENOENT && !IS_ROOT(path->dentry)) { in rqst_exp_parent()
/linux-4.1.27/Documentation/filesystems/nfs/
DExporting71 If it doesn't, a new anonymous (IS_ROOT and
/linux-4.1.27/fs/ceph/
Ddir.c79 if (!IS_ROOT(dentry)) { in ceph_get_dentry_parent_inode()
1161 if (IS_ROOT(dentry)) in ceph_d_prune()
Dmds_client.c682 while (!IS_ROOT(dentry) && ceph_snap(d_inode(dentry)) != CEPH_NOSNAP) in get_nonsnap_parent()
1734 for (temp = dentry; !IS_ROOT(temp);) { in ceph_mdsc_build_path()
1755 for (temp = dentry; !IS_ROOT(temp) && pos != 0; ) { in ceph_mdsc_build_path()
/linux-4.1.27/fs/fat/
Dnamei_vfat.c706 return IS_ROOT(dentry) && (dentry->d_flags & DCACHE_DISCONNECTED); in vfat_d_anon_disconn()
/linux-4.1.27/fs/gfs2/
Dsuper.c1316 } while (!IS_ROOT(d1)); in is_ancestor()
/linux-4.1.27/fs/btrfs/
Dtree-log.c4861 if (IS_ROOT(parent)) in check_parent_dirs_for_sync()
5161 if (IS_ROOT(parent)) in btrfs_log_inode_parent()
Dioctl.c792 if (IS_ROOT(victim)) in btrfs_may_delete()
Dinode.c5606 if (!inode && !IS_ROOT(dentry)) in btrfs_dentry_delete()