Lines Matching refs:d_lockref

627 	lockref_mark_dead(&dentry->d_lockref);  in __dentry_kill()
663 if (parent && --parent->d_lockref.count) { in __dentry_kill()
685 if (unlikely(dentry->d_lockref.count)) in lock_for_kill()
700 if (likely(!dentry->d_lockref.count)) in lock_for_kill()
793 ret = lockref_put_return(&dentry->d_lockref); in fast_dput()
802 if (WARN_ON_ONCE(dentry->d_lockref.count <= 0)) { in fast_dput()
806 dentry->d_lockref.count--; in fast_dput()
839 if (dentry->d_lockref.count || retain_dentry(dentry, true)) { in fast_dput()
934 gotref = lockref_get_not_zero(&ret->d_lockref); in dget_parent()
956 BUG_ON(!ret->d_lockref.count); in dget_parent()
957 ret->d_lockref.count++; in dget_parent()
970 lockref_get(&alias->d_lockref); in __d_find_any_alias()
1075 if (!dentry->d_lockref.count) in d_prune_aliases()
1139 if (dentry->d_lockref.count) { in dentry_lru_isolate()
1471 } else if (!dentry->d_lockref.count) { in select_collect()
1474 } else if (dentry->d_lockref.count < 0) { in select_collect()
1496 if (!dentry->d_lockref.count) { in select_collect2()
1561 if (dentry == _data && dentry->d_lockref.count == 1) in umount_check()
1570 dentry->d_lockref.count, in umount_check()
1703 lockref_init(&dentry->d_lockref); in __d_alloc()
2364 dentry->d_lockref.count++; in __d_lookup()
2430 if (dentry->d_lockref.count == 1) { in d_delete()
2520 if (!lockref_get_not_dead(&dentry->d_lockref)) { in d_alloc_parallel()
2565 if (!lockref_get_not_dead(&dentry->d_lockref)) { in d_alloc_parallel()
2854 dentry->d_parent->d_lockref.count++; in __d_move()
2856 WARN_ON(!--old_parent->d_lockref.count); in __d_move()
3107 dentry->d_lockref.count--; in d_genocide_kill()