Lines Matching refs:spinlock

46 	assert_spin_locked(&res->spinlock);  in __dlm_wait_on_lockres_flags()
52 spin_unlock(&res->spinlock); in __dlm_wait_on_lockres_flags()
54 spin_lock(&res->spinlock); in __dlm_wait_on_lockres_flags()
78 assert_spin_locked(&res->spinlock); in __dlm_lockres_unused()
109 assert_spin_locked(&dlm->spinlock); in __dlm_lockres_calc_usage()
110 assert_spin_locked(&res->spinlock); in __dlm_lockres_calc_usage()
135 spin_lock(&dlm->spinlock); in dlm_lockres_calc_usage()
136 spin_lock(&res->spinlock); in dlm_lockres_calc_usage()
140 spin_unlock(&res->spinlock); in dlm_lockres_calc_usage()
141 spin_unlock(&dlm->spinlock); in dlm_lockres_calc_usage()
153 assert_spin_locked(&dlm->spinlock); in __dlm_do_purge_lockres()
154 assert_spin_locked(&res->spinlock); in __dlm_do_purge_lockres()
196 assert_spin_locked(&dlm->spinlock); in dlm_purge_lockres()
197 assert_spin_locked(&res->spinlock); in dlm_purge_lockres()
208 spin_unlock(&res->spinlock); in dlm_purge_lockres()
214 spin_unlock(&res->spinlock); in dlm_purge_lockres()
215 spin_unlock(&dlm->spinlock); in dlm_purge_lockres()
217 spin_lock(&res->spinlock); in dlm_purge_lockres()
220 spin_unlock(&res->spinlock); in dlm_purge_lockres()
228 spin_lock(&dlm->spinlock); in dlm_purge_lockres()
229 spin_lock(&res->spinlock); in dlm_purge_lockres()
243 spin_unlock(&res->spinlock); in dlm_purge_lockres()
270 spin_unlock(&res->spinlock); in dlm_purge_lockres()
273 spin_unlock(&res->spinlock); in dlm_purge_lockres()
283 spin_lock(&dlm->spinlock); in dlm_run_purge_list()
292 spin_lock(&lockres->spinlock); in dlm_run_purge_list()
304 spin_unlock(&lockres->spinlock); in dlm_run_purge_list()
323 spin_unlock(&lockres->spinlock); in dlm_run_purge_list()
334 cond_resched_lock(&dlm->spinlock); in dlm_run_purge_list()
337 spin_unlock(&dlm->spinlock); in dlm_run_purge_list()
353 assert_spin_locked(&res->spinlock); in dlm_shuffle_lists()
406 spin_lock(&target->spinlock); in dlm_shuffle_lists()
424 spin_unlock(&target->spinlock); in dlm_shuffle_lists()
468 spin_lock(&target->spinlock); in dlm_shuffle_lists()
484 spin_unlock(&target->spinlock); in dlm_shuffle_lists()
500 spin_lock(&dlm->spinlock); in dlm_kick_thread()
501 spin_lock(&res->spinlock); in dlm_kick_thread()
503 spin_unlock(&res->spinlock); in dlm_kick_thread()
504 spin_unlock(&dlm->spinlock); in dlm_kick_thread()
511 assert_spin_locked(&dlm->spinlock); in __dlm_dirty_lockres()
512 assert_spin_locked(&res->spinlock); in __dlm_dirty_lockres()
562 spin_lock(&dlm->spinlock); in dlm_dirty_list_empty()
564 spin_unlock(&dlm->spinlock); in dlm_dirty_list_empty()
631 spin_lock(&lock->spinlock); in dlm_flush_asts()
635 spin_unlock(&lock->spinlock); in dlm_flush_asts()
704 spin_lock(&dlm->spinlock); in dlm_thread()
715 spin_lock(&res->spinlock); in dlm_thread()
718 spin_unlock(&res->spinlock); in dlm_thread()
719 spin_unlock(&dlm->spinlock); in dlm_thread()
727 spin_lock(&res->spinlock); in dlm_thread()
748 spin_unlock(&res->spinlock); in dlm_thread()
766 spin_unlock(&res->spinlock); in dlm_thread()
773 spin_lock(&dlm->spinlock); in dlm_thread()
777 spin_lock(&res->spinlock); in dlm_thread()
779 spin_unlock(&res->spinlock); in dlm_thread()
792 spin_unlock(&dlm->spinlock); in dlm_thread()