Lines Matching refs:spinlock
103 assert_spin_locked(&dlm->spinlock); in dlm_set_reco_dead_node()
113 assert_spin_locked(&dlm->spinlock); in dlm_set_reco_master()
121 assert_spin_locked(&dlm->spinlock); in __dlm_reset_recovery()
309 spin_lock(&dlm->spinlock); in dlm_reco_master_ready()
311 spin_unlock(&dlm->spinlock); in dlm_reco_master_ready()
320 spin_lock(&dlm->spinlock); in dlm_is_node_dead()
322 spin_unlock(&dlm->spinlock); in dlm_is_node_dead()
331 spin_lock(&dlm->spinlock); in dlm_is_node_recovered()
333 spin_unlock(&dlm->spinlock); in dlm_is_node_recovered()
381 spin_lock(&dlm->spinlock); in dlm_in_recovery()
383 spin_unlock(&dlm->spinlock); in dlm_in_recovery()
402 assert_spin_locked(&dlm->spinlock); in dlm_begin_recovery()
411 spin_lock(&dlm->spinlock); in dlm_end_recovery()
414 spin_unlock(&dlm->spinlock); in dlm_end_recovery()
432 spin_lock(&dlm->spinlock); in dlm_do_recovery()
437 spin_unlock(&dlm->spinlock); in dlm_do_recovery()
468 spin_unlock(&dlm->spinlock); in dlm_do_recovery()
480 spin_unlock(&dlm->spinlock); in dlm_do_recovery()
523 spin_lock(&dlm->spinlock); in dlm_do_recovery()
526 spin_unlock(&dlm->spinlock); in dlm_do_recovery()
688 spin_lock(&dlm->spinlock); in dlm_remaster_locks()
690 spin_unlock(&dlm->spinlock); in dlm_remaster_locks()
700 spin_lock(&dlm->spinlock); in dlm_remaster_locks()
703 spin_unlock(&dlm->spinlock); in dlm_remaster_locks()
735 spin_lock(&dlm->spinlock); in dlm_init_recovery_area()
739 spin_unlock(&dlm->spinlock); in dlm_init_recovery_area()
925 spin_lock(&dlm->spinlock); in dlm_request_all_locks_worker()
927 spin_unlock(&dlm->spinlock); in dlm_request_all_locks_worker()
1041 spin_lock(&dlm->spinlock); in dlm_move_reco_locks_to_list()
1047 spin_lock(&res->spinlock); in dlm_move_reco_locks_to_list()
1062 spin_unlock(&res->spinlock); in dlm_move_reco_locks_to_list()
1077 spin_unlock(&dlm->spinlock); in dlm_move_reco_locks_to_list()
1395 spin_lock(&dlm->spinlock); in dlm_mig_lockres_handler()
1401 spin_lock(&res->spinlock); in dlm_mig_lockres_handler()
1408 spin_unlock(&res->spinlock); in dlm_mig_lockres_handler()
1409 spin_unlock(&dlm->spinlock); in dlm_mig_lockres_handler()
1429 spin_unlock(&res->spinlock); in dlm_mig_lockres_handler()
1430 spin_unlock(&dlm->spinlock); in dlm_mig_lockres_handler()
1436 spin_unlock(&res->spinlock); in dlm_mig_lockres_handler()
1437 spin_unlock(&dlm->spinlock); in dlm_mig_lockres_handler()
1439 spin_unlock(&dlm->spinlock); in dlm_mig_lockres_handler()
1456 spin_lock(&dlm->spinlock); in dlm_mig_lockres_handler()
1458 spin_unlock(&dlm->spinlock); in dlm_mig_lockres_handler()
1478 spin_lock(&res->spinlock); in dlm_mig_lockres_handler()
1480 spin_unlock(&res->spinlock); in dlm_mig_lockres_handler()
1488 spin_lock(&res->spinlock); in dlm_mig_lockres_handler()
1503 spin_unlock(&res->spinlock); in dlm_mig_lockres_handler()
1564 spin_lock(&res->spinlock); in dlm_mig_lockres_worker()
1566 spin_unlock(&res->spinlock); in dlm_mig_lockres_worker()
1634 spin_lock(&dlm->spinlock); in dlm_lockres_master_requery()
1636 spin_unlock(&dlm->spinlock); in dlm_lockres_master_requery()
1716 spin_lock(&dlm->spinlock); in dlm_master_requery_handler()
1719 spin_lock(&res->spinlock); in dlm_master_requery_handler()
1726 spin_unlock(&res->spinlock); in dlm_master_requery_handler()
1728 spin_unlock(&dlm->spinlock); in dlm_master_requery_handler()
1735 spin_unlock(&res->spinlock); in dlm_master_requery_handler()
1739 spin_unlock(&res->spinlock); in dlm_master_requery_handler()
1743 spin_unlock(&dlm->spinlock); in dlm_master_requery_handler()
1812 spin_lock(&res->spinlock); in dlm_process_recovery_data()
1814 spin_unlock(&res->spinlock); in dlm_process_recovery_data()
1832 spin_lock(&res->spinlock); in dlm_process_recovery_data()
1891 spin_unlock(&res->spinlock); in dlm_process_recovery_data()
1901 spin_unlock(&res->spinlock); in dlm_process_recovery_data()
1990 spin_lock(&res->spinlock); in dlm_process_recovery_data()
2028 spin_unlock(&res->spinlock); in dlm_process_recovery_data()
2034 spin_lock(&res->spinlock); in dlm_process_recovery_data()
2036 spin_unlock(&res->spinlock); in dlm_process_recovery_data()
2051 assert_spin_locked(&dlm->spinlock); in dlm_move_lockres_to_recovery_list()
2052 assert_spin_locked(&res->spinlock); in dlm_move_lockres_to_recovery_list()
2135 assert_spin_locked(&dlm->spinlock); in dlm_finish_local_lockres_recovery()
2143 spin_lock(&res->spinlock); in dlm_finish_local_lockres_recovery()
2150 spin_unlock(&res->spinlock); in dlm_finish_local_lockres_recovery()
2164 spin_lock(&res->spinlock); in dlm_finish_local_lockres_recovery()
2166 spin_unlock(&res->spinlock); in dlm_finish_local_lockres_recovery()
2187 spin_lock(&res->spinlock); in dlm_finish_local_lockres_recovery()
2192 spin_unlock(&res->spinlock); in dlm_finish_local_lockres_recovery()
2218 assert_spin_locked(&dlm->spinlock); in dlm_revalidate_lvb()
2219 assert_spin_locked(&res->spinlock); in dlm_revalidate_lvb()
2262 assert_spin_locked(&dlm->spinlock); in dlm_free_dead_locks()
2263 assert_spin_locked(&res->spinlock); in dlm_free_dead_locks()
2353 spin_lock(&res->spinlock); in dlm_do_local_recovery_cleanup()
2374 spin_unlock(&res->spinlock); in dlm_do_local_recovery_cleanup()
2380 spin_unlock(&res->spinlock); in dlm_do_local_recovery_cleanup()
2383 spin_lock(&res->spinlock); in dlm_do_local_recovery_cleanup()
2396 spin_unlock(&res->spinlock); in dlm_do_local_recovery_cleanup()
2414 spin_unlock(&res->spinlock); in dlm_do_local_recovery_cleanup()
2422 assert_spin_locked(&dlm->spinlock); in __dlm_hb_node_down()
2493 spin_lock(&dlm->spinlock); in dlm_hb_node_down_cb()
2495 spin_unlock(&dlm->spinlock); in dlm_hb_node_down_cb()
2507 spin_lock(&dlm->spinlock); in dlm_hb_node_up_cb()
2511 spin_unlock(&dlm->spinlock); in dlm_hb_node_up_cb()
2578 spin_lock(&dlm->spinlock); in dlm_pick_recovery_master()
2590 spin_unlock(&dlm->spinlock); in dlm_pick_recovery_master()
2605 spin_lock(&dlm->spinlock); in dlm_pick_recovery_master()
2607 spin_unlock(&dlm->spinlock); in dlm_pick_recovery_master()
2679 spin_lock(&dlm->spinlock); in dlm_send_begin_reco_message()
2681 spin_unlock(&dlm->spinlock); in dlm_send_begin_reco_message()
2765 spin_lock(&dlm->spinlock); in dlm_begin_reco_handler()
2771 spin_unlock(&dlm->spinlock); in dlm_begin_reco_handler()
2775 spin_unlock(&dlm->spinlock); in dlm_begin_reco_handler()
2783 spin_lock(&dlm->spinlock); in dlm_begin_reco_handler()
2818 spin_unlock(&dlm->spinlock); in dlm_begin_reco_handler()
2843 spin_lock(&dlm->spinlock); in dlm_send_finalize_reco_message()
2845 spin_unlock(&dlm->spinlock); in dlm_send_finalize_reco_message()
2905 spin_lock(&dlm->spinlock); in dlm_finalize_reco_handler()
2932 spin_unlock(&dlm->spinlock); in dlm_finalize_reco_handler()
2945 spin_unlock(&dlm->spinlock); in dlm_finalize_reco_handler()