Searched refs:domain_map (Results 1 - 6 of 6) sorted by relevance

/linux-4.4.14/fs/ocfs2/dlm/
H A Ddlmdomain.c540 while ((node = find_next_bit(dlm->domain_map, O2NM_MAX_NODES, __dlm_print_nodes()
563 clear_bit(node, dlm->domain_map); dlm_exit_domain_handler()
616 node = find_next_bit(dlm->domain_map, O2NM_MAX_NODES, node + 1); dlm_begin_exit_domain()
640 clear_bit(dlm->node_num, dlm->domain_map); dlm_leave_domain()
641 while ((node = find_next_bit(dlm->domain_map, O2NM_MAX_NODES, dlm_leave_domain()
643 /* Drop the dlm spinlock. This is safe wrt the domain_map. dlm_leave_domain()
672 clear_bit(node, dlm->domain_map); dlm_leave_domain()
850 if (test_bit(nodenum, dlm->domain_map)) { dlm_query_join_handler()
887 } else if (test_bit(bit, dlm->domain_map)) { dlm_query_join_handler()
956 set_bit(assert->node_idx, dlm->domain_map); dlm_assert_joined_handler()
1664 memcpy(dlm->domain_map, ctxt->yes_resp_map, dlm_try_to_join_domain()
1666 set_bit(dlm->node_num, dlm->domain_map); dlm_try_to_join_domain()
2033 memset(dlm->domain_map, 0, sizeof(dlm->domain_map)); dlm_alloc_ctxt()
H A Ddlmrecovery.c345 dead = !test_bit(node, dlm->domain_map); dlm_is_node_dead()
753 memcpy(dlm->reco.node_map, dlm->domain_map, sizeof(dlm->domain_map)); dlm_init_recovery_area()
1626 dlm_node_iter_init(dlm->domain_map, &iter); dlm_lockres_master_requery()
2431 if (!test_bit(idx, dlm->domain_map)) { __dlm_hb_node_down()
2448 clear_bit(idx, dlm->domain_map); __dlm_hb_node_down()
2472 if (test_bit(idx, dlm->domain_map)) dlm_hb_node_down_cb()
2662 dlm_node_iter_init(dlm->domain_map, &iter); dlm_send_begin_reco_message()
2790 if (!test_bit(br->dead_node, dlm->domain_map) || dlm_begin_reco_handler()
2797 set_bit(br->dead_node, dlm->domain_map); dlm_begin_reco_handler()
2827 dlm_node_iter_init(dlm->domain_map, &iter); dlm_send_finalize_reco_message()
H A Ddlmmaster.c310 memcpy(mle->node_map, dlm->domain_map, sizeof(mle->node_map)); dlm_init_mle()
311 memcpy(mle->vote_map, dlm->domain_map, sizeof(mle->vote_map)); dlm_init_mle()
2135 memcpy(nodemap, dlm->domain_map, sizeof(nodemap)); dlm_assert_master_worker()
2212 dlm_node_iter_init(dlm->domain_map, &iter); dlm_pre_master_reco_lockres()
2748 * wait_event, but caller must recheck the domain_map */ dlm_migration_can_proceed()
2750 if (!test_bit(mig_target, dlm->domain_map)) dlm_migration_can_proceed()
2810 test_bit(target, dlm->domain_map) ? "no":"yes"); dlm_mark_lockres_migrating()
2814 test_bit(target, dlm->domain_map) ? "no":"yes"); dlm_mark_lockres_migrating()
2824 if (!test_bit(target, dlm->domain_map)) { dlm_mark_lockres_migrating()
2984 skip = (!test_bit(nodenum, dlm->domain_map)); dlm_do_migrate_request()
3351 dlm_node_iter_init(dlm->domain_map, &iter); dlm_finish_migration()
3478 BUG_ON((find_next_bit(dlm->domain_map, O2NM_MAX_NODES, 0) < O2NM_MAX_NODES)); dlm_force_free_mles()
H A Ddlmcommon.h145 unsigned long domain_map[BITS_TO_LONGS(O2NM_MAX_NODES)]; member in struct:dlm_ctxt
H A Ddlmdebug.c738 out += stringify_nodemap(dlm->domain_map, O2NM_MAX_NODES, debug_state_print()
/linux-4.4.14/drivers/powercap/
H A Dintel_rapl.c174 unsigned long domain_map; /* bit map of active domains */ member in struct:rapl_package
603 unsigned int mask = rp->domain_map & (1 << i); rapl_init_domains()
1322 rp->domain_map |= 1 << i; rapl_detect_domains()
1326 rp->nr_domains = bitmap_weight(&rp->domain_map, RAPL_DOMAIN_MAX); rapl_detect_domains()

Completed in 135 milliseconds