Lines Matching refs:d_parent

587 		parent = dentry->d_parent;  in __dentry_kill()
635 parent = READ_ONCE(dentry->d_parent); in __lock_parent()
645 if (unlikely(parent != dentry->d_parent)) { in __lock_parent()
659 struct dentry *parent = dentry->d_parent; in lock_parent()
725 parent = dentry->d_parent; in dentry_kill()
973 ret = READ_ONCE(dentry->d_parent); in dget_parent()
988 ret = dentry->d_parent; in dget_parent()
990 if (unlikely(ret != dentry->d_parent)) { in dget_parent()
1161 parent = dentry->d_parent; in shrink_lock_dentry()
1167 if (unlikely(parent != dentry->d_parent)) { in shrink_lock_dentry()
1203 parent = dentry->d_parent; in shrink_dentry_list()
1422 this_parent = child->d_parent; in d_walk()
1511 for (p = dentry->d_parent; !IS_ROOT(p); p = p->d_parent) { in d_set_mounted()
1650 parent = data.victim->d_parent; in shrink_dcache_parent()
1816 dentry->d_parent = dentry; in __d_alloc()
1862 dentry->d_parent = parent; in d_alloc()
1881 dentry->d_parent = dget(parent); in d_alloc_cursor()
2228 found = d_hash_and_lookup(dentry->d_parent, name); in d_add_ci()
2234 found = d_alloc_parallel(dentry->d_parent, name, in d_add_ci()
2241 found = d_alloc(dentry->d_parent, name); in d_add_ci()
2300 if (dentry->d_parent != parent) in __d_lookup_rcu_op_compare()
2404 if (dentry->d_parent != parent) in __d_lookup_rcu()
2495 if (dentry->d_parent != parent) in __d_lookup()
2696 if (dentry->d_parent != parent) in d_alloc_parallel()
2722 if (unlikely(dentry->d_parent != parent)) in d_alloc_parallel()
2759 b = in_lookup_hash(dentry->d_parent, dentry->d_name.hash); in __d_lookup_unhash()
2788 dir = dentry->d_parent->d_inode; in __d_add()
2852 if (alias->d_parent != entry->d_parent) in d_exact_alias()
2854 if (!d_same_name(alias, entry->d_parent, &entry->d_name)) in d_exact_alias()
2958 old_parent = dentry->d_parent; in __d_move()
2962 spin_lock(&target->d_parent->d_lock); in __d_move()
2965 spin_lock(&target->d_parent->d_lock); in __d_move()
2971 spin_lock_nested(&target->d_parent->d_lock, in __d_move()
2978 dir = target->d_parent->d_inode; in __d_move()
2993 dentry->d_parent = target->d_parent; in __d_move()
2997 dentry->d_parent->d_lockref.count++; in __d_move()
3001 target->d_parent = old_parent; in __d_move()
3003 list_move(&target->d_child, &target->d_parent->d_subdirs); in __d_move()
3007 list_move(&dentry->d_child, &dentry->d_parent->d_subdirs); in __d_move()
3018 if (dentry->d_parent != old_parent) in __d_move()
3019 spin_unlock(&dentry->d_parent->d_lock); in __d_move()
3074 for (p = p2; !IS_ROOT(p); p = p->d_parent) { in d_ancestor()
3075 if (p->d_parent == p1) in d_ancestor()
3098 if (alias->d_parent == dentry->d_parent) in __d_unalias()
3105 if (!inode_trylock_shared(alias->d_parent->d_inode)) in __d_unalias()
3107 m2 = &alias->d_parent->d_inode->i_rwsem; in __d_unalias()
3171 struct dentry *old_parent = dget(new->d_parent); in d_splice_alias()
3261 spin_lock(&dentry->d_parent->d_lock); in d_tmpfile()
3266 spin_unlock(&dentry->d_parent->d_lock); in d_tmpfile()