Home
last modified time | relevance | path

Searched refs:O2NM_MAX_NODES (Results 1 – 14 of 14) sorted by relevance

/openbmc/linux/fs/ocfs2/cluster/
H A Dquorum.c45 unsigned long qs_hb_bm[BITS_TO_LONGS(O2NM_MAX_NODES)];
47 unsigned long qs_conn_bm[BITS_TO_LONGS(O2NM_MAX_NODES)];
49 unsigned long qs_hold_bm[BITS_TO_LONGS(O2NM_MAX_NODES)];
98 lowest_hb = find_first_bit(qs->qs_hb_bm, O2NM_MAX_NODES); in o2quo_make_decision()
99 if (lowest_hb != O2NM_MAX_NODES) in o2quo_make_decision()
168 mlog_bug_on_msg(qs->qs_holds == O2NM_MAX_NODES, in o2quo_set_hold()
202 mlog_bug_on_msg(qs->qs_heartbeating == O2NM_MAX_NODES, in o2quo_hb_up()
270 mlog_bug_on_msg(qs->qs_connected == O2NM_MAX_NODES, in o2quo_conn_up()
H A Dheartbeat.c45 static struct list_head o2hb_live_slots[O2NM_MAX_NODES];
390 O2NM_MAX_NODES)) { in o2hb_nego_timeout()
407 O2NM_MAX_NODES, i + 1)) < O2NM_MAX_NODES) { in o2hb_nego_timeout()
440 if (nego_msg->node_num < O2NM_MAX_NODES) in o2hb_nego_timeout_handler()
860 O2NM_MAX_NODES)) in o2hb_set_quorum_device()
1093 O2NM_MAX_NODES, i + 1)) < O2NM_MAX_NODES) { in o2hb_do_disk_heartbeat()
1099 if (highest_node >= O2NM_MAX_NODES || lowest_node >= O2NM_MAX_NODES) { in o2hb_do_disk_heartbeat()
1131 O2NM_MAX_NODES, i + 1)) < O2NM_MAX_NODES) { in o2hb_do_disk_heartbeat()
1407 O2NM_MAX_NODES, o2hb_live_node_bitmap); in o2hb_debug_init()
1626 if (tmp > O2NM_MAX_NODES || tmp == 0) in o2hb_region_blocks_store()
[all …]
H A Dnodemanager.h45 struct o2nm_node *cl_nodes[O2NM_MAX_NODES];
53 unsigned long cl_nodes_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)];
H A Docfs2_nodemanager.h16 #define O2NM_MAX_NODES 255 macro
H A Dnetdebug.c438 unsigned long map[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2net_fill_bitmap()
441 o2net_fill_node_map(map, O2NM_MAX_NODES); in o2net_fill_bitmap()
443 while ((i = find_next_bit(map, O2NM_MAX_NODES, i + 1)) < O2NM_MAX_NODES) in o2net_fill_bitmap()
H A Dnodemanager.c34 if (node_num >= O2NM_MAX_NODES || o2nm_single_cluster == NULL) in o2nm_get_node_by_num()
57 bitmap_copy(map, cluster->cl_nodes_bitmap, O2NM_MAX_NODES); in o2nm_configured_node_map()
132 u8 node_num = O2NM_MAX_NODES; in o2nm_this_node()
196 if (tmp >= O2NM_MAX_NODES) in o2nm_node_num_store()
H A Dtcp.c94 static struct o2net_node o2net_nodes[O2NM_MAX_NODES];
1005 for (node = 0; node < O2NM_MAX_NODES; ++node) { in o2net_fill_node_map()
/openbmc/linux/fs/ocfs2/
H A Dstack_o2cb.c257 unsigned long hbmap[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2cb_cluster_check()
258 unsigned long netmap[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2cb_cluster_check()
261 if (node_num == O2NM_MAX_NODES) { in o2cb_cluster_check()
276 o2hb_fill_node_map(hbmap, O2NM_MAX_NODES); in o2cb_cluster_check()
283 o2net_fill_node_map(netmap, O2NM_MAX_NODES); in o2cb_cluster_check()
286 if (bitmap_equal(hbmap, netmap, O2NM_MAX_NODES)) in o2cb_cluster_check()
294 while ((i = find_next_bit(hbmap, O2NM_MAX_NODES, in o2cb_cluster_check()
295 i + 1)) < O2NM_MAX_NODES) { in o2cb_cluster_check()
400 if (node_num >= O2NM_MAX_NODES) in o2cb_cluster_this_node()
/openbmc/linux/fs/ocfs2/dlm/
H A Ddlmcommon.h18 #define DLM_LOCK_RES_OWNER_UNKNOWN O2NM_MAX_NODES
48 unsigned long maybe_map[BITS_TO_LONGS(O2NM_MAX_NODES)];
49 unsigned long vote_map[BITS_TO_LONGS(O2NM_MAX_NODES)];
51 unsigned long node_map[BITS_TO_LONGS(O2NM_MAX_NODES)];
95 unsigned long node_map[BITS_TO_LONGS(O2NM_MAX_NODES)];
316 unsigned long refmap[BITS_TO_LONGS(O2NM_MAX_NODES)];
694 u8 node_map[BITS_TO_BYTES(O2NM_MAX_NODES)];
735 struct dlm_node_info qn_nodes[O2NM_MAX_NODES];
1097 bitmap_copy(iter->node_map, map, O2NM_MAX_NODES); in dlm_node_iter_init()
1105 if (bit >= O2NM_MAX_NODES) { in dlm_node_iter_next()
[all …]
H A Ddlmmaster.c267 mle->master = O2NM_MAX_NODES; in dlm_init_mle()
865 if (bit < O2NM_MAX_NODES) { in dlm_get_lock_resource()
916 if (bit < O2NM_MAX_NODES) { in dlm_get_lock_resource()
1040 O2NM_MAX_NODES); in dlm_wait_for_lock_mastery()
1042 O2NM_MAX_NODES); in dlm_wait_for_lock_mastery()
1074 if (m != O2NM_MAX_NODES) { in dlm_wait_for_lock_mastery()
1190 if (bit >= O2NM_MAX_NODES) { in dlm_bitmap_diff_iter_next()
1238 O2NM_MAX_NODES); in dlm_restart_lock_mastery()
1284 O2NM_MAX_NODES); in dlm_restart_lock_mastery()
2765 u8 target = O2NM_MAX_NODES; in dlm_empty_lockres()
[all …]
H A Ddlmdomain.c537 node + 1)) < O2NM_MAX_NODES) { in __dlm_print_nodes()
613 if (node >= O2NM_MAX_NODES) in dlm_begin_exit_domain()
638 0)) < O2NM_MAX_NODES) { in dlm_leave_domain()
831 while (nodenum < O2NM_MAX_NODES) { in dlm_query_join_handler()
1048 if (find_first_bit(node_map, O2NM_MAX_NODES) >= O2NM_MAX_NODES) in dlm_send_regions()
1072 i + 1)) < O2NM_MAX_NODES) { in dlm_send_regions()
1220 if (find_first_bit(node_map, O2NM_MAX_NODES) >= O2NM_MAX_NODES) in dlm_send_nodeinfo()
1250 i + 1)) < O2NM_MAX_NODES) { in dlm_send_nodeinfo()
1394 node + 1)) < O2NM_MAX_NODES) { in dlm_send_join_cancels()
1534 node + 1)) < O2NM_MAX_NODES) { in dlm_send_join_asserts()
[all …]
H A Ddlmdebug.c48 bit = find_next_bit(res->refmap, O2NM_MAX_NODES, bit); in dlm_print_lockres_refmap()
49 if (bit >= O2NM_MAX_NODES) in dlm_print_lockres_refmap()
287 out += stringify_nodemap(mle->maybe_map, O2NM_MAX_NODES, in dump_mle()
292 out += stringify_nodemap(mle->vote_map, O2NM_MAX_NODES, in dump_mle()
297 out += stringify_nodemap(mle->response_map, O2NM_MAX_NODES, in dump_mle()
302 out += stringify_nodemap(mle->node_map, O2NM_MAX_NODES, in dump_mle()
511 out += stringify_nodemap(res->refmap, O2NM_MAX_NODES, in dump_lockres()
701 out += stringify_nodemap(dlm->domain_map, O2NM_MAX_NODES, in debug_state_print()
707 out += stringify_nodemap(dlm->exit_domain_map, O2NM_MAX_NODES, in debug_state_print()
713 out += stringify_nodemap(dlm->live_nodes_map, O2NM_MAX_NODES, in debug_state_print()
[all …]
H A Ddlmthread.c95 bit = find_first_bit(res->refmap, O2NM_MAX_NODES); in __dlm_lockres_unused()
96 if (bit < O2NM_MAX_NODES) in __dlm_lockres_unused()
H A Ddlmrecovery.c454 bit = find_first_bit(dlm->recovery_map, O2NM_MAX_NODES); in dlm_do_recovery()
455 if (bit >= O2NM_MAX_NODES || bit < 0) in dlm_do_recovery()
736 bitmap_copy(dlm->reco.node_map, dlm->domain_map, O2NM_MAX_NODES); in dlm_init_recovery_area()
742 num = find_next_bit (dlm->reco.node_map, O2NM_MAX_NODES, num); in dlm_init_recovery_area()
743 if (num >= O2NM_MAX_NODES) { in dlm_init_recovery_area()
1799 u8 from = O2NM_MAX_NODES; in dlm_process_recovery_data()