Lines Matching full:spinlock
105 assert_spin_locked(&dlm->spinlock); in dlm_set_reco_dead_node()
115 assert_spin_locked(&dlm->spinlock); in dlm_set_reco_master()
123 assert_spin_locked(&dlm->spinlock); in __dlm_reset_recovery()
131 spin_lock(&dlm->spinlock); in dlm_reset_recovery()
133 spin_unlock(&dlm->spinlock); in dlm_reset_recovery()
318 spin_lock(&dlm->spinlock); in dlm_reco_master_ready()
320 spin_unlock(&dlm->spinlock); in dlm_reco_master_ready()
329 spin_lock(&dlm->spinlock); in dlm_is_node_dead()
331 spin_unlock(&dlm->spinlock); in dlm_is_node_dead()
340 spin_lock(&dlm->spinlock); in dlm_is_node_recovered()
342 spin_unlock(&dlm->spinlock); in dlm_is_node_recovered()
390 spin_lock(&dlm->spinlock); in dlm_in_recovery()
392 spin_unlock(&dlm->spinlock); in dlm_in_recovery()
411 assert_spin_locked(&dlm->spinlock); in dlm_begin_recovery()
420 spin_lock(&dlm->spinlock); in dlm_end_recovery()
423 spin_unlock(&dlm->spinlock); in dlm_end_recovery()
441 spin_lock(&dlm->spinlock); in dlm_do_recovery()
446 spin_unlock(&dlm->spinlock); in dlm_do_recovery()
477 spin_unlock(&dlm->spinlock); in dlm_do_recovery()
489 spin_unlock(&dlm->spinlock); in dlm_do_recovery()
532 spin_lock(&dlm->spinlock); in dlm_do_recovery()
535 spin_unlock(&dlm->spinlock); in dlm_do_recovery()
697 spin_lock(&dlm->spinlock); in dlm_remaster_locks()
699 spin_unlock(&dlm->spinlock); in dlm_remaster_locks()
709 spin_lock(&dlm->spinlock); in dlm_remaster_locks()
712 spin_unlock(&dlm->spinlock); in dlm_remaster_locks()
744 spin_lock(&dlm->spinlock); in dlm_init_recovery_area()
748 spin_unlock(&dlm->spinlock); in dlm_init_recovery_area()
934 spin_lock(&dlm->spinlock); in dlm_request_all_locks_worker()
936 spin_unlock(&dlm->spinlock); in dlm_request_all_locks_worker()
1050 spin_lock(&dlm->spinlock); in dlm_move_reco_locks_to_list()
1056 spin_lock(&res->spinlock); in dlm_move_reco_locks_to_list()
1071 spin_unlock(&res->spinlock); in dlm_move_reco_locks_to_list()
1086 spin_unlock(&dlm->spinlock); in dlm_move_reco_locks_to_list()
1404 spin_lock(&dlm->spinlock); in dlm_mig_lockres_handler()
1410 spin_lock(&res->spinlock); in dlm_mig_lockres_handler()
1417 spin_unlock(&res->spinlock); in dlm_mig_lockres_handler()
1418 spin_unlock(&dlm->spinlock); in dlm_mig_lockres_handler()
1438 spin_unlock(&res->spinlock); in dlm_mig_lockres_handler()
1439 spin_unlock(&dlm->spinlock); in dlm_mig_lockres_handler()
1445 spin_unlock(&res->spinlock); in dlm_mig_lockres_handler()
1446 spin_unlock(&dlm->spinlock); in dlm_mig_lockres_handler()
1448 spin_unlock(&dlm->spinlock); in dlm_mig_lockres_handler()
1465 spin_lock(&dlm->spinlock); in dlm_mig_lockres_handler()
1467 spin_unlock(&dlm->spinlock); in dlm_mig_lockres_handler()
1487 spin_lock(&res->spinlock); in dlm_mig_lockres_handler()
1489 spin_unlock(&res->spinlock); in dlm_mig_lockres_handler()
1497 spin_lock(&res->spinlock); in dlm_mig_lockres_handler()
1512 spin_unlock(&res->spinlock); in dlm_mig_lockres_handler()
1573 spin_lock(&res->spinlock); in dlm_mig_lockres_worker()
1575 spin_unlock(&res->spinlock); in dlm_mig_lockres_worker()
1643 spin_lock(&dlm->spinlock); in dlm_lockres_master_requery()
1645 spin_unlock(&dlm->spinlock); in dlm_lockres_master_requery()
1725 spin_lock(&dlm->spinlock); in dlm_master_requery_handler()
1728 spin_lock(&res->spinlock); in dlm_master_requery_handler()
1735 spin_unlock(&res->spinlock); in dlm_master_requery_handler()
1737 spin_unlock(&dlm->spinlock); in dlm_master_requery_handler()
1744 spin_unlock(&res->spinlock); in dlm_master_requery_handler()
1748 spin_unlock(&res->spinlock); in dlm_master_requery_handler()
1752 spin_unlock(&dlm->spinlock); in dlm_master_requery_handler()
1821 spin_lock(&res->spinlock); in dlm_process_recovery_data()
1823 spin_unlock(&res->spinlock); in dlm_process_recovery_data()
1841 spin_lock(&res->spinlock); in dlm_process_recovery_data()
1900 spin_unlock(&res->spinlock); in dlm_process_recovery_data()
1910 spin_unlock(&res->spinlock); in dlm_process_recovery_data()
1950 * NOW, before the spinlock is dropped. in dlm_process_recovery_data()
1999 spin_lock(&res->spinlock); in dlm_process_recovery_data()
2037 spin_unlock(&res->spinlock); in dlm_process_recovery_data()
2043 spin_lock(&res->spinlock); in dlm_process_recovery_data()
2045 spin_unlock(&res->spinlock); in dlm_process_recovery_data()
2060 assert_spin_locked(&dlm->spinlock); in dlm_move_lockres_to_recovery_list()
2061 assert_spin_locked(&res->spinlock); in dlm_move_lockres_to_recovery_list()
2144 assert_spin_locked(&dlm->spinlock); in dlm_finish_local_lockres_recovery()
2152 spin_lock(&res->spinlock); in dlm_finish_local_lockres_recovery()
2159 spin_unlock(&res->spinlock); in dlm_finish_local_lockres_recovery()
2173 spin_lock(&res->spinlock); in dlm_finish_local_lockres_recovery()
2175 spin_unlock(&res->spinlock); in dlm_finish_local_lockres_recovery()
2196 spin_lock(&res->spinlock); in dlm_finish_local_lockres_recovery()
2201 spin_unlock(&res->spinlock); in dlm_finish_local_lockres_recovery()
2227 assert_spin_locked(&dlm->spinlock); in dlm_revalidate_lvb()
2228 assert_spin_locked(&res->spinlock); in dlm_revalidate_lvb()
2271 assert_spin_locked(&dlm->spinlock); in dlm_free_dead_locks()
2272 assert_spin_locked(&res->spinlock); in dlm_free_dead_locks()
2362 spin_lock(&res->spinlock); in dlm_do_local_recovery_cleanup()
2383 spin_unlock(&res->spinlock); in dlm_do_local_recovery_cleanup()
2389 spin_unlock(&res->spinlock); in dlm_do_local_recovery_cleanup()
2392 spin_lock(&res->spinlock); in dlm_do_local_recovery_cleanup()
2405 spin_unlock(&res->spinlock); in dlm_do_local_recovery_cleanup()
2423 spin_unlock(&res->spinlock); in dlm_do_local_recovery_cleanup()
2431 assert_spin_locked(&dlm->spinlock); in __dlm_hb_node_down()
2502 spin_lock(&dlm->spinlock); in dlm_hb_node_down_cb()
2504 spin_unlock(&dlm->spinlock); in dlm_hb_node_down_cb()
2516 spin_lock(&dlm->spinlock); in dlm_hb_node_up_cb()
2520 spin_unlock(&dlm->spinlock); in dlm_hb_node_up_cb()
2587 spin_lock(&dlm->spinlock); in dlm_pick_recovery_master()
2599 spin_unlock(&dlm->spinlock); in dlm_pick_recovery_master()
2614 spin_lock(&dlm->spinlock); in dlm_pick_recovery_master()
2616 spin_unlock(&dlm->spinlock); in dlm_pick_recovery_master()
2688 spin_lock(&dlm->spinlock); in dlm_send_begin_reco_message()
2690 spin_unlock(&dlm->spinlock); in dlm_send_begin_reco_message()
2775 spin_lock(&dlm->spinlock); in dlm_begin_reco_handler()
2781 spin_unlock(&dlm->spinlock); in dlm_begin_reco_handler()
2785 spin_unlock(&dlm->spinlock); in dlm_begin_reco_handler()
2793 spin_lock(&dlm->spinlock); in dlm_begin_reco_handler()
2828 spin_unlock(&dlm->spinlock); in dlm_begin_reco_handler()
2853 spin_lock(&dlm->spinlock); in dlm_send_finalize_reco_message()
2855 spin_unlock(&dlm->spinlock); in dlm_send_finalize_reco_message()
2915 spin_lock(&dlm->spinlock); in dlm_finalize_reco_handler()
2942 spin_unlock(&dlm->spinlock); in dlm_finalize_reco_handler()
2955 spin_unlock(&dlm->spinlock); in dlm_finalize_reco_handler()