Lines Matching refs:d_lockref
547 lockref_mark_dead(&dentry->d_lockref); in __dentry_kill()
638 dentry->d_lockref.count--; in retain_dentry()
682 if (unlikely(dentry->d_lockref.count != 1)) { in dentry_kill()
683 dentry->d_lockref.count--; in dentry_kill()
715 return lockref_put_or_lock(&dentry->d_lockref); in fast_dput()
721 ret = lockref_put_return(&dentry->d_lockref); in fast_dput()
730 if (dentry->d_lockref.count > 1) { in fast_dput()
731 dentry->d_lockref.count--; in fast_dput()
786 if (dentry->d_lockref.count) { in fast_dput()
796 dentry->d_lockref.count = 1; in fast_dput()
855 dentry->d_lockref.count++; in __dget_dlock()
860 lockref_get(&dentry->d_lockref); in __dget()
874 gotref = lockref_get_not_zero(&ret->d_lockref); in dget_parent()
896 BUG_ON(!ret->d_lockref.count); in dget_parent()
897 ret->d_lockref.count++; in dget_parent()
989 if (!dentry->d_lockref.count) { in d_prune_aliases()
991 if (likely(!dentry->d_lockref.count)) { in d_prune_aliases()
1021 if (dentry->d_lockref.count) in shrink_lock_dentry()
1029 if (unlikely(dentry->d_lockref.count)) in shrink_lock_dentry()
1048 if (likely(!dentry->d_lockref.count)) in shrink_lock_dentry()
1069 if (dentry->d_lockref.count < 0) in shrink_dentry_list()
1089 while (dentry && !lockref_put_or_lock(&dentry->d_lockref)) in shrink_dentry_list()
1114 if (dentry->d_lockref.count) { in dentry_lru_isolate()
1456 if (!dentry->d_lockref.count) { in select_collect()
1508 if (dentry == _data && dentry->d_lockref.count == 1) in umount_check()
1517 dentry->d_lockref.count, in umount_check()
1650 dentry->d_lockref.count = 1; in __d_alloc()
2301 dentry->d_lockref.count++; in __d_lookup()
2368 if (dentry->d_lockref.count == 1) { in d_delete()
2454 if (!lockref_get_not_dead(&dentry->d_lockref)) { in d_alloc_parallel()
2499 if (!lockref_get_not_dead(&dentry->d_lockref)) { in d_alloc_parallel()
2775 dentry->d_parent->d_lockref.count++; in __d_move()
2779 WARN_ON(!--old_parent->d_lockref.count); in __d_move()
3024 dentry->d_lockref.count--; in d_genocide_kill()