Lines Matching defs:dlm
117 static inline void dlm_set_reco_dead_node(struct dlm_ctxt *dlm, in dlm_set_reco_dead_node()
127 static inline void dlm_set_reco_master(struct dlm_ctxt *dlm, in dlm_set_reco_master()
136 static inline void __dlm_reset_recovery(struct dlm_ctxt *dlm) in __dlm_reset_recovery()
144 static inline void dlm_reset_recovery(struct dlm_ctxt *dlm) in dlm_reset_recovery()
154 struct dlm_ctxt *dlm = in dlm_dispatch_work() local
191 void dlm_kick_recovery_thread(struct dlm_ctxt *dlm) in dlm_kick_recovery_thread()
203 int dlm_launch_recovery_thread(struct dlm_ctxt *dlm) in dlm_launch_recovery_thread()
218 void dlm_complete_recovery_thread(struct dlm_ctxt *dlm) in dlm_complete_recovery_thread()
252 static void dlm_print_reco_node_status(struct dlm_ctxt *dlm) in dlm_print_reco_node_status()
304 struct dlm_ctxt *dlm = data; in dlm_recovery_thread() local
330 static int dlm_reco_master_ready(struct dlm_ctxt *dlm) in dlm_reco_master_ready()
341 int dlm_is_node_dead(struct dlm_ctxt *dlm, u8 node) in dlm_is_node_dead()
352 static int dlm_is_node_recovered(struct dlm_ctxt *dlm, u8 node) in dlm_is_node_recovered()
362 void dlm_wait_for_node_death(struct dlm_ctxt *dlm, u8 node, int timeout) in dlm_wait_for_node_death()
379 void dlm_wait_for_node_recovery(struct dlm_ctxt *dlm, u8 node, int timeout) in dlm_wait_for_node_recovery()
402 static int dlm_in_recovery(struct dlm_ctxt *dlm) in dlm_in_recovery()
412 void dlm_wait_for_recovery(struct dlm_ctxt *dlm) in dlm_wait_for_recovery()
424 static void dlm_begin_recovery(struct dlm_ctxt *dlm) in dlm_begin_recovery()
433 static void dlm_end_recovery(struct dlm_ctxt *dlm) in dlm_end_recovery()
443 static void dlm_print_recovery_master(struct dlm_ctxt *dlm) in dlm_print_recovery_master()
451 static int dlm_do_recovery(struct dlm_ctxt *dlm) in dlm_do_recovery()
558 static int dlm_remaster_locks(struct dlm_ctxt *dlm, u8 dead_node) in dlm_remaster_locks()
754 static int dlm_init_recovery_area(struct dlm_ctxt *dlm, u8 dead_node) in dlm_init_recovery_area()
788 static void dlm_destroy_recovery_area(struct dlm_ctxt *dlm) in dlm_destroy_recovery_area()
803 static int dlm_request_all_locks(struct dlm_ctxt *dlm, u8 request_from, in dlm_request_all_locks()
840 struct dlm_ctxt *dlm = data; in dlm_request_all_locks_handler() local
891 struct dlm_ctxt *dlm; in dlm_request_all_locks_worker() local
966 static int dlm_send_all_done_msg(struct dlm_ctxt *dlm, u8 dead_node, u8 send_to) in dlm_send_all_done_msg()
996 struct dlm_ctxt *dlm = data; in dlm_reco_data_done_handler() local
1058 static void dlm_move_reco_locks_to_list(struct dlm_ctxt *dlm, in dlm_move_reco_locks_to_list()
1119 static int dlm_send_mig_lockres_msg(struct dlm_ctxt *dlm, in dlm_send_mig_lockres_msg()
1257 static void dlm_add_dummy_lock(struct dlm_ctxt *dlm, in dlm_add_dummy_lock()
1271 static inline int dlm_is_dummy_lock(struct dlm_ctxt *dlm, in dlm_is_dummy_lock()
1286 int dlm_send_one_lockres(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, in dlm_send_one_lockres()
1374 struct dlm_ctxt *dlm = data; in dlm_mig_lockres_handler() local
1561 struct dlm_ctxt *dlm; in dlm_mig_lockres_worker() local
1627 static int dlm_lockres_master_requery(struct dlm_ctxt *dlm, in dlm_lockres_master_requery()
1685 int dlm_do_master_requery(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, in dlm_do_master_requery()
1726 struct dlm_ctxt *dlm = data; in dlm_master_requery_handler() local
1813 static int dlm_process_recovery_data(struct dlm_ctxt *dlm, in dlm_process_recovery_data()
2070 void dlm_move_lockres_to_recovery_list(struct dlm_ctxt *dlm, in dlm_move_lockres_to_recovery_list()
2154 static void dlm_finish_local_lockres_recovery(struct dlm_ctxt *dlm, in dlm_finish_local_lockres_recovery()
2235 static void dlm_revalidate_lvb(struct dlm_ctxt *dlm, in dlm_revalidate_lvb()
2278 static void dlm_free_dead_locks(struct dlm_ctxt *dlm, in dlm_free_dead_locks()
2346 static void dlm_do_local_recovery_cleanup(struct dlm_ctxt *dlm, u8 dead_node) in dlm_do_local_recovery_cleanup()
2446 static void __dlm_hb_node_down(struct dlm_ctxt *dlm, int idx) in __dlm_hb_node_down()
2507 struct dlm_ctxt *dlm = data; in dlm_hb_node_down_cb() local
2528 struct dlm_ctxt *dlm = data; in dlm_hb_node_up_cb() local
2544 struct dlm_ctxt *dlm = astdata; in dlm_reco_ast() local
2550 struct dlm_ctxt *dlm = astdata; in dlm_reco_bast() local
2571 static int dlm_pick_recovery_master(struct dlm_ctxt *dlm) in dlm_pick_recovery_master()
2695 static int dlm_send_begin_reco_message(struct dlm_ctxt *dlm, u8 dead_node) in dlm_send_begin_reco_message()
2785 struct dlm_ctxt *dlm = data; in dlm_begin_reco_handler() local
2858 static int dlm_send_finalize_reco_message(struct dlm_ctxt *dlm) in dlm_send_finalize_reco_message()
2917 struct dlm_ctxt *dlm = data; in dlm_finalize_reco_handler() local