Lines Matching refs:d_lock

470 	__releases(dentry->d_lock)  in dentry_unlink_inode()
486 spin_unlock(&dentry->d_lock); in dentry_unlink_inode()
618 spin_lock(&dentry->d_lock); in d_drop()
620 spin_unlock(&dentry->d_lock); in d_drop()
744 spin_unlock(&dentry->d_lock); in lock_for_kill()
756 spin_unlock(&dentry->d_lock); in lock_for_kill()
758 spin_lock(&dentry->d_lock); in lock_for_kill()
771 spin_unlock(&dentry->d_lock); in lock_for_kill()
842 spin_unlock(&dentry->d_lock); in dentry_kill()
851 spin_lock(&parent->d_lock); in dentry_kill()
853 spin_lock_nested(&dentry->d_lock, DENTRY_D_LOCK_NESTED); in dentry_kill()
857 spin_unlock(&dentry->d_lock); in dentry_kill()
861 spin_unlock(&parent->d_lock); in dentry_kill()
927 spin_lock(&de->d_lock); in d_mark_dontcache()
929 spin_unlock(&de->d_lock); in d_mark_dontcache()
961 spin_lock(&dentry->d_lock); in fast_dput()
964 spin_unlock(&dentry->d_lock); in fast_dput()
995 spin_lock(&dentry->d_lock); in fast_dput()
1006 spin_unlock(&dentry->d_lock); in fast_dput()
1013 __releases(dentry->d_lock) in finish_dput()
1017 spin_unlock(&dentry->d_lock); in finish_dput()
1062 spin_lock(&dentry->d_lock); in d_make_discardable()
1088 __must_hold(&dentry->d_lock) in __move_to_shrink_list()
1106 spin_unlock(&dentry->d_lock); in dput_to_list()
1137 spin_lock(&ret->d_lock); in dget_parent()
1139 spin_unlock(&ret->d_lock); in dget_parent()
1146 spin_unlock(&ret->d_lock); in dget_parent()
1203 spin_lock(&alias->d_lock); in __d_find_alias()
1206 spin_unlock(&alias->d_lock); in __d_find_alias()
1209 spin_unlock(&alias->d_lock); in __d_find_alias()
1277 spin_lock(&dentry->d_lock); in d_prune_aliases()
1280 spin_unlock(&dentry->d_lock); in d_prune_aliases()
1299 spin_lock(&dentry->d_lock); in shrink_dentry_list()
1302 spin_unlock(&dentry->d_lock); in shrink_dentry_list()
1323 if (!spin_trylock(&dentry->d_lock)) in dentry_lru_isolate()
1333 spin_unlock(&dentry->d_lock); in dentry_lru_isolate()
1339 spin_unlock(&dentry->d_lock); in dentry_lru_isolate()
1364 spin_unlock(&dentry->d_lock); in dentry_lru_isolate()
1403 if (!spin_trylock(&dentry->d_lock)) in dentry_lru_isolate_shrink()
1407 spin_unlock(&dentry->d_lock); in dentry_lru_isolate_shrink()
1465 spin_lock(&this_parent->d_lock); in d_walk()
1487 spin_lock_nested(&dentry->d_lock, DENTRY_D_LOCK_NESTED); in d_walk()
1494 spin_unlock(&dentry->d_lock); in d_walk()
1500 spin_unlock(&dentry->d_lock); in d_walk()
1505 spin_unlock(&this_parent->d_lock); in d_walk()
1506 spin_release(&dentry->d_lock.dep_map, _RET_IP_); in d_walk()
1508 spin_acquire(&this_parent->d_lock.dep_map, 0, 1, _RET_IP_); in d_walk()
1511 spin_unlock(&dentry->d_lock); in d_walk()
1522 spin_unlock(&dentry->d_lock); in d_walk()
1523 spin_lock(&this_parent->d_lock); in d_walk()
1541 spin_unlock(&this_parent->d_lock); in d_walk()
1546 spin_unlock(&this_parent->d_lock); in d_walk()
1610 spin_lock(&p->d_lock); in d_set_mounted()
1612 spin_unlock(&p->d_lock); in d_set_mounted()
1615 spin_unlock(&p->d_lock); in d_set_mounted()
1617 spin_lock(&dentry->d_lock); in d_set_mounted()
1625 spin_unlock(&dentry->d_lock); in d_set_mounted()
1763 spin_lock(&v->d_lock); in shrink_dcache_tree()
1770 spin_unlock(&v->d_lock); in shrink_dcache_tree()
1813 spin_lock(&dentry->d_lock); in do_one_tree()
1818 spin_unlock(&dentry->d_lock); in do_one_tree()
1845 spin_lock(&dentry->d_lock); in shrink_dcache_for_umount()
1851 spin_unlock(&dentry->d_lock); in shrink_dcache_for_umount()
1856 spin_unlock(&dentry->d_lock); in shrink_dcache_for_umount()
1879 spin_lock(&dentry->d_lock); in d_invalidate()
1881 spin_unlock(&dentry->d_lock); in d_invalidate()
1885 spin_unlock(&dentry->d_lock); in d_invalidate()
1967 seqcount_spinlock_init(&dentry->d_seq, &dentry->d_lock); in __d_alloc()
2012 spin_lock(&parent->d_lock); in d_alloc()
2019 spin_unlock(&parent->d_lock); in d_alloc()
2064 spin_lock(&parent->d_lock); in d_duplicate()
2069 spin_unlock(&parent->d_lock); in d_duplicate()
2253 spin_lock(&entry->d_lock); in d_instantiate()
2255 spin_unlock(&entry->d_lock); in d_instantiate()
2274 spin_lock(&entry->d_lock); in d_instantiate_new()
2276 spin_unlock(&entry->d_lock); in d_instantiate_new()
2342 spin_lock(&new->d_lock); in __d_obtain_alias()
2350 spin_unlock(&new->d_lock); in __d_obtain_alias()
2705 spin_lock(&dentry->d_lock); in __d_lookup()
2716 spin_unlock(&dentry->d_lock); in __d_lookup()
2719 spin_unlock(&dentry->d_lock); in __d_lookup()
2775 spin_lock(&dentry->d_lock); in d_delete()
2786 spin_unlock(&dentry->d_lock); in d_delete()
2810 spin_lock(&entry->d_lock); in d_rehash()
2812 spin_unlock(&entry->d_lock); in d_rehash()
2840 spin_release(&dentry->d_lock.dep_map, _THIS_IP_); in d_wait_lookup()
2842 spin_acquire(&dentry->d_lock.dep_map, 0, 1, _THIS_IP_); in d_wait_lookup()
2847 &dentry->d_lock); in d_wait_lookup()
2873 spin_lock(&parent->d_lock); in __d_alloc_parallel()
2878 spin_unlock(&parent->d_lock); in __d_alloc_parallel()
2926 spin_lock(&dentry->d_lock); in __d_alloc_parallel()
2930 spin_unlock(&dentry->d_lock); in __d_alloc_parallel()
2935 spin_unlock(&dentry->d_lock); in __d_alloc_parallel()
2960 spin_unlock(&dentry->d_lock); in __d_alloc_parallel()
2969 spin_unlock(&dentry->d_lock); in __d_alloc_parallel()
3060 lockdep_assert_held(&dentry->d_lock); in __d_lookup_unhash()
3074 wake_up_var_locked(&dentry->d_flags, &dentry->d_lock); in __d_wake_in_lookup_waiters()
3081 spin_lock(&dentry->d_lock); in __d_lookup_unhash_wake()
3084 spin_unlock(&dentry->d_lock); in __d_lookup_unhash_wake()
3095 spin_lock(&dentry->d_lock); in __d_add()
3111 spin_unlock(&dentry->d_lock); in __d_add()
3141 spin_lock(&dentry->d_lock); in d_make_persistent()
3147 spin_unlock(&dentry->d_lock); in d_make_persistent()
3235 spin_lock(&target->d_parent->d_lock); in __d_move()
3238 spin_lock(&target->d_parent->d_lock); in __d_move()
3239 spin_lock_nested(&old_parent->d_lock, DENTRY_D_LOCK_NESTED); in __d_move()
3242 spin_lock(&old_parent->d_lock); in __d_move()
3244 spin_lock_nested(&target->d_parent->d_lock, in __d_move()
3247 spin_lock_nested(&dentry->d_lock, 2); in __d_move()
3248 spin_lock_nested(&target->d_lock, 3); in __d_move()
3297 spin_unlock(&dentry->d_parent->d_lock); in __d_move()
3299 spin_unlock(&old_parent->d_lock); in __d_move()
3300 spin_unlock(&target->d_lock); in __d_move()
3301 spin_unlock(&dentry->d_lock); in __d_move()
3443 spin_lock(&new->d_lock); in d_splice_alias_ops()
3445 spin_unlock(&new->d_lock); in d_splice_alias_ops()
3535 spin_lock(&dentry->d_parent->d_lock); in d_mark_tmpfile()
3536 spin_lock_nested(&dentry->d_lock, DENTRY_D_LOCK_NESTED); in d_mark_tmpfile()
3539 spin_unlock(&dentry->d_lock); in d_mark_tmpfile()
3540 spin_unlock(&dentry->d_parent->d_lock); in d_mark_tmpfile()
3556 spin_lock(&dentry->d_parent->d_lock); in d_mark_tmpfile_name()
3557 spin_lock_nested(&dentry->d_lock, DENTRY_D_LOCK_NESTED); in d_mark_tmpfile_name()
3561 spin_unlock(&dentry->d_lock); in d_mark_tmpfile_name()
3562 spin_unlock(&dentry->d_parent->d_lock); in d_mark_tmpfile_name()
3598 spin_lock(&dentry->d_lock); in d_parent_ino()
3600 spin_unlock(&dentry->d_lock); in d_parent_ino()