• Home
  • Raw
  • Download

Lines Matching refs:idx

2407 static void __dlm_hb_node_down(struct dlm_ctxt *dlm, int idx)  in __dlm_hb_node_down()  argument
2411 if (dlm->reco.new_master == idx) { in __dlm_hb_node_down()
2413 dlm->name, idx); in __dlm_hb_node_down()
2419 "finalize1 state, clearing\n", dlm->name, idx); in __dlm_hb_node_down()
2426 if (dlm->joining_node == idx) { in __dlm_hb_node_down()
2427 mlog(0, "Clearing join state for node %u\n", idx); in __dlm_hb_node_down()
2432 if (!test_bit(idx, dlm->live_nodes_map)) { in __dlm_hb_node_down()
2435 dlm->name, idx); in __dlm_hb_node_down()
2440 if (!test_bit(idx, dlm->domain_map)) { in __dlm_hb_node_down()
2443 mlog(0, "node %u already removed from domain!\n", idx); in __dlm_hb_node_down()
2447 clear_bit(idx, dlm->live_nodes_map); in __dlm_hb_node_down()
2450 if (!test_bit(idx, dlm->recovery_map)) in __dlm_hb_node_down()
2451 dlm_do_local_recovery_cleanup(dlm, idx); in __dlm_hb_node_down()
2454 dlm_hb_event_notify_attached(dlm, idx, 0); in __dlm_hb_node_down()
2456 mlog(0, "node %u being removed from domain map!\n", idx); in __dlm_hb_node_down()
2457 clear_bit(idx, dlm->domain_map); in __dlm_hb_node_down()
2458 clear_bit(idx, dlm->exit_domain_map); in __dlm_hb_node_down()
2463 if (test_bit(idx, dlm->recovery_map)) in __dlm_hb_node_down()
2465 "to recovery map!\n", dlm->name, idx); in __dlm_hb_node_down()
2467 set_bit(idx, dlm->recovery_map); in __dlm_hb_node_down()
2470 void dlm_hb_node_down_cb(struct o2nm_node *node, int idx, void *data) in dlm_hb_node_down_cb() argument
2481 if (test_bit(idx, dlm->domain_map)) in dlm_hb_node_down_cb()
2482 dlm_fire_domain_eviction_callbacks(dlm, idx); in dlm_hb_node_down_cb()
2485 __dlm_hb_node_down(dlm, idx); in dlm_hb_node_down_cb()
2491 void dlm_hb_node_up_cb(struct o2nm_node *node, int idx, void *data) in dlm_hb_node_up_cb() argument
2499 set_bit(idx, dlm->live_nodes_map); in dlm_hb_node_up_cb()