Lines Matching refs:d_lock

320 	lockdep_assert_held(&dentry->d_lock);  in dentry_rcuwalk_invalidate()
331 __releases(dentry->d_lock) in dentry_iput()
338 spin_unlock(&dentry->d_lock); in dentry_iput()
347 spin_unlock(&dentry->d_lock); in dentry_iput()
356 __releases(dentry->d_lock) in dentry_unlink_inode()
365 spin_unlock(&dentry->d_lock); in dentry_unlink_inode()
493 spin_lock(&dentry->d_lock); in d_drop()
495 spin_unlock(&dentry->d_lock); in d_drop()
531 spin_unlock(&parent->d_lock); in __dentry_kill()
542 spin_lock(&dentry->d_lock); in __dentry_kill()
547 spin_unlock(&dentry->d_lock); in __dentry_kill()
559 __releases(dentry->d_lock) in dentry_kill()
569 if (unlikely(!spin_trylock(&parent->d_lock))) { in dentry_kill()
580 spin_unlock(&dentry->d_lock); in dentry_kill()
592 if (likely(spin_trylock(&parent->d_lock))) in lock_parent()
595 spin_unlock(&dentry->d_lock); in lock_parent()
598 spin_lock(&parent->d_lock); in lock_parent()
608 spin_unlock(&parent->d_lock); in lock_parent()
613 spin_lock_nested(&dentry->d_lock, DENTRY_D_LOCK_NESTED); in lock_parent()
651 spin_lock(&dentry->d_lock); in fast_dput()
654 spin_unlock(&dentry->d_lock); in fast_dput()
700 spin_lock(&dentry->d_lock); in fast_dput()
709 spin_unlock(&dentry->d_lock); in fast_dput()
781 spin_unlock(&dentry->d_lock); in dput()
829 spin_lock(&ret->d_lock); in dget_parent()
831 spin_unlock(&ret->d_lock); in dget_parent()
838 spin_unlock(&ret->d_lock); in dget_parent()
864 spin_lock(&alias->d_lock); in __d_find_alias()
871 spin_unlock(&alias->d_lock); in __d_find_alias()
875 spin_unlock(&alias->d_lock); in __d_find_alias()
879 spin_lock(&alias->d_lock); in __d_find_alias()
882 spin_unlock(&alias->d_lock); in __d_find_alias()
885 spin_unlock(&alias->d_lock); in __d_find_alias()
914 spin_lock(&dentry->d_lock); in d_prune_aliases()
923 spin_unlock(&parent->d_lock); in d_prune_aliases()
925 spin_unlock(&dentry->d_lock); in d_prune_aliases()
938 spin_lock(&dentry->d_lock); in shrink_dentry_list()
953 spin_unlock(&dentry->d_lock); in shrink_dentry_list()
955 spin_unlock(&parent->d_lock); in shrink_dentry_list()
962 spin_unlock(&dentry->d_lock); in shrink_dentry_list()
964 spin_unlock(&parent->d_lock); in shrink_dentry_list()
973 spin_unlock(&dentry->d_lock); in shrink_dentry_list()
975 spin_unlock(&parent->d_lock); in shrink_dentry_list()
992 spin_unlock(&dentry->d_lock); in shrink_dentry_list()
994 spin_unlock(&parent->d_lock); in shrink_dentry_list()
999 spin_unlock(&dentry->d_lock); in shrink_dentry_list()
1001 spin_unlock(&parent->d_lock); in shrink_dentry_list()
1023 if (!spin_trylock(&dentry->d_lock)) in dentry_lru_isolate()
1033 spin_unlock(&dentry->d_lock); in dentry_lru_isolate()
1039 spin_unlock(&dentry->d_lock); in dentry_lru_isolate()
1064 spin_unlock(&dentry->d_lock); in dentry_lru_isolate()
1103 if (!spin_trylock(&dentry->d_lock)) in dentry_lru_isolate_shrink()
1107 spin_unlock(&dentry->d_lock); in dentry_lru_isolate_shrink()
1172 spin_lock(&this_parent->d_lock); in d_walk()
1193 spin_lock_nested(&dentry->d_lock, DENTRY_D_LOCK_NESTED); in d_walk()
1200 spin_unlock(&dentry->d_lock); in d_walk()
1206 spin_unlock(&dentry->d_lock); in d_walk()
1211 spin_unlock(&this_parent->d_lock); in d_walk()
1212 spin_release(&dentry->d_lock.dep_map, 1, _RET_IP_); in d_walk()
1214 spin_acquire(&this_parent->d_lock.dep_map, 0, 1, _RET_IP_); in d_walk()
1217 spin_unlock(&dentry->d_lock); in d_walk()
1228 spin_unlock(&child->d_lock); in d_walk()
1229 spin_lock(&this_parent->d_lock); in d_walk()
1251 spin_unlock(&this_parent->d_lock); in d_walk()
1256 spin_unlock(&this_parent->d_lock); in d_walk()
1313 spin_lock(&p->d_lock); in d_set_mounted()
1315 spin_unlock(&p->d_lock); in d_set_mounted()
1318 spin_unlock(&p->d_lock); in d_set_mounted()
1320 spin_lock(&dentry->d_lock); in d_set_mounted()
1325 spin_unlock(&dentry->d_lock); in d_set_mounted()
1496 spin_lock(&dentry->d_lock); in d_invalidate()
1498 spin_unlock(&dentry->d_lock); in d_invalidate()
1501 spin_unlock(&dentry->d_lock); in d_invalidate()
1588 spin_lock_init(&dentry->d_lock); in __d_alloc()
1622 spin_lock(&parent->d_lock); in d_alloc()
1630 spin_unlock(&parent->d_lock); in d_alloc()
1701 spin_lock(&dentry->d_lock); in d_set_fallthru()
1703 spin_unlock(&dentry->d_lock); in d_set_fallthru()
1746 spin_lock(&dentry->d_lock); in __d_instantiate()
1752 spin_unlock(&dentry->d_lock); in __d_instantiate()
1967 spin_lock(&tmp->d_lock); in __d_obtain_alias()
1973 spin_unlock(&tmp->d_lock); in __d_obtain_alias()
2298 spin_lock(&dentry->d_lock); in __d_lookup()
2322 spin_unlock(&dentry->d_lock); in __d_lookup()
2325 spin_unlock(&dentry->d_lock); in __d_lookup()
2385 spin_lock(&dentry->d_lock); in d_delete()
2390 spin_unlock(&dentry->d_lock); in d_delete()
2403 spin_unlock(&dentry->d_lock); in d_delete()
2431 spin_lock(&entry->d_lock); in d_rehash()
2433 spin_unlock(&entry->d_lock); in d_rehash()
2456 spin_lock(&dentry->d_lock); in dentry_update_name_case()
2460 spin_unlock(&dentry->d_lock); in dentry_update_name_case()
2533 spin_lock(&target->d_parent->d_lock); in dentry_lock_for_move()
2536 spin_lock(&dentry->d_parent->d_lock); in dentry_lock_for_move()
2537 spin_lock_nested(&target->d_parent->d_lock, in dentry_lock_for_move()
2540 spin_lock(&target->d_parent->d_lock); in dentry_lock_for_move()
2541 spin_lock_nested(&dentry->d_parent->d_lock, in dentry_lock_for_move()
2546 spin_lock_nested(&target->d_lock, 2); in dentry_lock_for_move()
2547 spin_lock_nested(&dentry->d_lock, 3); in dentry_lock_for_move()
2549 spin_lock_nested(&dentry->d_lock, 2); in dentry_lock_for_move()
2550 spin_lock_nested(&target->d_lock, 3); in dentry_lock_for_move()
2557 spin_unlock(&dentry->d_parent->d_lock); in dentry_unlock_for_move()
2559 spin_unlock(&target->d_parent->d_lock); in dentry_unlock_for_move()
2560 spin_unlock(&target->d_lock); in dentry_unlock_for_move()
2561 spin_unlock(&dentry->d_lock); in dentry_unlock_for_move()
3354 spin_lock(&dentry->d_parent->d_lock); in d_tmpfile()
3355 spin_lock_nested(&dentry->d_lock, DENTRY_D_LOCK_NESTED); in d_tmpfile()
3358 spin_unlock(&dentry->d_lock); in d_tmpfile()
3359 spin_unlock(&dentry->d_parent->d_lock); in d_tmpfile()