Home
last modified time | relevance | path

Searched refs:domain_map (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/fs/ocfs2/dlm/
H A Ddlmdomain.c536 while ((node = find_next_bit(dlm->domain_map, O2NM_MAX_NODES, in __dlm_print_nodes()
559 clear_bit(node, dlm->domain_map); in dlm_exit_domain_handler()
612 node = find_next_bit(dlm->domain_map, O2NM_MAX_NODES, node + 1); in dlm_begin_exit_domain()
636 clear_bit(dlm->node_num, dlm->domain_map); in dlm_leave_domain()
637 while ((node = find_next_bit(dlm->domain_map, O2NM_MAX_NODES, in dlm_leave_domain()
668 clear_bit(node, dlm->domain_map); in dlm_leave_domain()
832 if (test_bit(nodenum, dlm->domain_map)) { in dlm_query_join_handler()
869 } else if (test_bit(bit, dlm->domain_map)) { in dlm_query_join_handler()
938 set_bit(assert->node_idx, dlm->domain_map); in dlm_assert_joined_handler()
1645 set_bit(dlm->node_num, dlm->domain_map); in dlm_try_to_join_domain()
[all …]
H A Ddlmrecovery.c321 dead = !test_bit(node, dlm->domain_map); in dlm_is_node_dead()
736 bitmap_copy(dlm->reco.node_map, dlm->domain_map, O2NM_MAX_NODES); in dlm_init_recovery_area()
1635 dlm_node_iter_init(dlm->domain_map, &iter); in dlm_lockres_master_requery()
2453 if (!test_bit(idx, dlm->domain_map)) { in __dlm_hb_node_down()
2470 clear_bit(idx, dlm->domain_map); in __dlm_hb_node_down()
2490 if (test_bit(idx, dlm->domain_map)) in dlm_hb_node_down_cb()
2680 dlm_node_iter_init(dlm->domain_map, &iter); in dlm_send_begin_reco_message()
2807 if (!test_bit(br->dead_node, dlm->domain_map) || in dlm_begin_reco_handler()
2814 set_bit(br->dead_node, dlm->domain_map); in dlm_begin_reco_handler()
2844 dlm_node_iter_init(dlm->domain_map, &iter); in dlm_send_finalize_reco_message()
H A Ddlmmaster.c293 bitmap_copy(mle->node_map, dlm->domain_map, O2NM_MAX_NODES); in dlm_init_mle()
294 bitmap_copy(mle->vote_map, dlm->domain_map, O2NM_MAX_NODES); in dlm_init_mle()
2097 bitmap_copy(nodemap, dlm->domain_map, O2NM_MAX_NODES); in dlm_assert_master_worker()
2174 dlm_node_iter_init(dlm->domain_map, &iter); in dlm_pre_master_reco_lockres()
2813 if (!test_bit(mig_target, dlm->domain_map)) in dlm_migration_can_proceed()
2873 test_bit(target, dlm->domain_map) ? "no":"yes"); in dlm_mark_lockres_migrating()
2877 test_bit(target, dlm->domain_map) ? "no":"yes"); in dlm_mark_lockres_migrating()
2887 if (!test_bit(target, dlm->domain_map)) { in dlm_mark_lockres_migrating()
3047 skip = (!test_bit(nodenum, dlm->domain_map)); in dlm_do_migrate_request()
3418 dlm_node_iter_init(dlm->domain_map, &iter); in dlm_finish_migration()
[all …]
H A Ddlmcommon.h126 unsigned long domain_map[BITS_TO_LONGS(O2NM_MAX_NODES)]; member
H A Ddlmdebug.c701 out += stringify_nodemap(dlm->domain_map, O2NM_MAX_NODES, in debug_state_print()
/openbmc/linux/include/linux/
H A Dintel_rapl.h167 unsigned long domain_map; /* bit map of active domains */ member
/openbmc/linux/drivers/powercap/
H A Dintel_rapl_common.c575 unsigned int mask = rp->domain_map & (1 << i); in rapl_init_domains()
1482 rp->domain_map |= 1 << i; in rapl_detect_domains()
1486 rp->nr_domains = bitmap_weight(&rp->domain_map, RAPL_DOMAIN_MAX); in rapl_detect_domains()