Lines Matching refs:spinlock
65 assert_spin_locked(&res->spinlock); in __dlm_wait_on_lockres_flags()
71 spin_unlock(&res->spinlock); in __dlm_wait_on_lockres_flags()
73 spin_lock(&res->spinlock); in __dlm_wait_on_lockres_flags()
97 assert_spin_locked(&res->spinlock); in __dlm_lockres_unused()
127 assert_spin_locked(&dlm->spinlock); in __dlm_lockres_calc_usage()
128 assert_spin_locked(&res->spinlock); in __dlm_lockres_calc_usage()
153 spin_lock(&dlm->spinlock); in dlm_lockres_calc_usage()
154 spin_lock(&res->spinlock); in dlm_lockres_calc_usage()
158 spin_unlock(&res->spinlock); in dlm_lockres_calc_usage()
159 spin_unlock(&dlm->spinlock); in dlm_lockres_calc_usage()
168 assert_spin_locked(&dlm->spinlock); in dlm_purge_lockres()
169 assert_spin_locked(&res->spinlock); in dlm_purge_lockres()
179 spin_unlock(&res->spinlock); in dlm_purge_lockres()
180 spin_unlock(&dlm->spinlock); in dlm_purge_lockres()
182 spin_lock(&res->spinlock); in dlm_purge_lockres()
185 spin_unlock(&res->spinlock); in dlm_purge_lockres()
193 spin_lock(&dlm->spinlock); in dlm_purge_lockres()
194 spin_lock(&res->spinlock); in dlm_purge_lockres()
218 spin_unlock(&res->spinlock); in dlm_purge_lockres()
221 spin_unlock(&res->spinlock); in dlm_purge_lockres()
231 spin_lock(&dlm->spinlock); in dlm_run_purge_list()
240 spin_lock(&lockres->spinlock); in dlm_run_purge_list()
252 spin_unlock(&lockres->spinlock); in dlm_run_purge_list()
268 spin_unlock(&lockres->spinlock); in dlm_run_purge_list()
279 cond_resched_lock(&dlm->spinlock); in dlm_run_purge_list()
282 spin_unlock(&dlm->spinlock); in dlm_run_purge_list()
300 assert_spin_locked(&res->spinlock); in dlm_shuffle_lists()
356 spin_lock(&target->spinlock); in dlm_shuffle_lists()
374 spin_unlock(&target->spinlock); in dlm_shuffle_lists()
422 spin_lock(&target->spinlock); in dlm_shuffle_lists()
438 spin_unlock(&target->spinlock); in dlm_shuffle_lists()
454 spin_lock(&dlm->spinlock); in dlm_kick_thread()
455 spin_lock(&res->spinlock); in dlm_kick_thread()
457 spin_unlock(&res->spinlock); in dlm_kick_thread()
458 spin_unlock(&dlm->spinlock); in dlm_kick_thread()
465 assert_spin_locked(&dlm->spinlock); in __dlm_dirty_lockres()
466 assert_spin_locked(&res->spinlock); in __dlm_dirty_lockres()
515 spin_lock(&dlm->spinlock); in dlm_dirty_list_empty()
517 spin_unlock(&dlm->spinlock); in dlm_dirty_list_empty()
584 spin_lock(&lock->spinlock); in dlm_flush_asts()
588 spin_unlock(&lock->spinlock); in dlm_flush_asts()
658 spin_lock(&dlm->spinlock); in dlm_thread()
669 spin_lock(&res->spinlock); in dlm_thread()
672 spin_unlock(&res->spinlock); in dlm_thread()
673 spin_unlock(&dlm->spinlock); in dlm_thread()
681 spin_lock(&res->spinlock); in dlm_thread()
701 spin_unlock(&res->spinlock); in dlm_thread()
719 spin_unlock(&res->spinlock); in dlm_thread()
726 spin_lock(&dlm->spinlock); in dlm_thread()
730 spin_lock(&res->spinlock); in dlm_thread()
732 spin_unlock(&res->spinlock); in dlm_thread()
745 spin_unlock(&dlm->spinlock); in dlm_thread()