Home
last modified time | relevance | path

Searched refs:node_map (Results 1 – 5 of 5) sorted by relevance

/linux-4.19.296/fs/ocfs2/dlm/
Ddlmcommon.h71 unsigned long node_map[BITS_TO_LONGS(O2NM_MAX_NODES)]; member
115 unsigned long node_map[BITS_TO_LONGS(O2NM_MAX_NODES)]; member
428 unsigned long node_map[BITS_TO_LONGS(O2NM_MAX_NODES)]; member
715 u8 node_map[BITS_TO_BYTES(O2NM_MAX_NODES)]; member
1119 memcpy(iter->node_map, map, sizeof(iter->node_map)); in dlm_node_iter_init()
1126 bit = find_next_bit(iter->node_map, O2NM_MAX_NODES, iter->curnode+1); in dlm_node_iter_next()
Ddlmmaster.c310 memcpy(mle->node_map, dlm->domain_map, sizeof(mle->node_map)); in dlm_init_mle()
313 clear_bit(dlm->node_num, mle->node_map); in dlm_init_mle()
381 if (!test_bit(idx, mle->node_map)) in dlm_mle_node_down()
384 clear_bit(idx, mle->node_map); in dlm_mle_node_down()
395 if (test_bit(idx, mle->node_map)) in dlm_mle_node_up()
398 set_bit(idx, mle->node_map); in dlm_mle_node_up()
1056 map_changed = (memcmp(mle->vote_map, mle->node_map, in dlm_wait_for_lock_mastery()
1238 dlm_bitmap_diff_iter_init(&bdi, mle->vote_map, mle->node_map); in dlm_restart_lock_mastery()
1300 memcpy(mle->vote_map, mle->node_map, in dlm_restart_lock_mastery()
1301 sizeof(mle->node_map)); in dlm_restart_lock_mastery()
[all …]
Ddlmdomain.c851 if (!byte_test_bit(nodenum, query->node_map)) { in dlm_query_join_handler()
1060 static int dlm_send_regions(struct dlm_ctxt *dlm, unsigned long *node_map) in dlm_send_regions() argument
1066 if (find_next_bit(node_map, O2NM_MAX_NODES, 0) >= O2NM_MAX_NODES) in dlm_send_regions()
1089 while ((i = find_next_bit(node_map, O2NM_MAX_NODES, in dlm_send_regions()
1232 static int dlm_send_nodeinfo(struct dlm_ctxt *dlm, unsigned long *node_map) in dlm_send_nodeinfo() argument
1238 if (find_next_bit(node_map, O2NM_MAX_NODES, 0) >= O2NM_MAX_NODES) in dlm_send_nodeinfo()
1267 while ((i = find_next_bit(node_map, O2NM_MAX_NODES, in dlm_send_nodeinfo()
1395 unsigned long *node_map, in dlm_send_join_cancels() argument
1411 while ((node = find_next_bit(node_map, O2NM_MAX_NODES, in dlm_send_join_cancels()
1449 byte_copymap(join_msg.node_map, dlm->live_nodes_map, O2NM_MAX_NODES); in dlm_request_join()
[all …]
Ddlmrecovery.c760 memcpy(dlm->reco.node_map, dlm->domain_map, sizeof(dlm->domain_map)); in dlm_init_recovery_area()
766 num = find_next_bit (dlm->reco.node_map, O2NM_MAX_NODES, num); in dlm_init_recovery_area()
2709 clear_bit(dead_node, iter.node_map); in dlm_send_begin_reco_message()
Ddlmdebug.c319 out += stringify_nodemap(mle->node_map, O2NM_MAX_NODES, in dump_mle()