Home
last modified time | relevance | path

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

/linux-6.12.1/fs/ocfs2/cluster/
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()
Dheartbeat.c45 static struct list_head o2hb_live_slots[O2NM_MAX_NODES];
46 static unsigned long o2hb_live_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)];
220 unsigned long hr_live_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)];
249 unsigned long hr_nego_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)];
343 bitmap_zero(reg->hr_nego_node_bitmap, O2NM_MAX_NODES); in o2hb_arm_timeout()
372 unsigned long live_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_nego_timeout()
383 o2hb_fill_node_map(live_node_bitmap, O2NM_MAX_NODES); in o2hb_nego_timeout()
385 master_node = find_first_bit(live_node_bitmap, O2NM_MAX_NODES); in o2hb_nego_timeout()
395 O2NM_MAX_NODES)) { in o2hb_nego_timeout()
413 O2NM_MAX_NODES, i + 1)) < O2NM_MAX_NODES) { in o2hb_nego_timeout()
[all …]
Dnodemanager.h45 struct o2nm_node *cl_nodes[O2NM_MAX_NODES];
53 unsigned long cl_nodes_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)];
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()
Docfs2_nodemanager.h16 #define O2NM_MAX_NODES 255 macro
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()
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()
/linux-6.12.1/fs/ocfs2/
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()
/linux-6.12.1/fs/ocfs2/dlm/
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)];
50 unsigned long response_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)];
125 unsigned long live_nodes_map[BITS_TO_LONGS(O2NM_MAX_NODES)];
126 unsigned long domain_map[BITS_TO_LONGS(O2NM_MAX_NODES)];
127 unsigned long exit_domain_map[BITS_TO_LONGS(O2NM_MAX_NODES)];
128 unsigned long recovery_map[BITS_TO_LONGS(O2NM_MAX_NODES)];
[all …]
Ddlmmaster.c261 bitmap_zero(mle->maybe_map, O2NM_MAX_NODES); in dlm_init_mle()
266 bitmap_zero(mle->response_map, O2NM_MAX_NODES); in dlm_init_mle()
267 mle->master = O2NM_MAX_NODES; in dlm_init_mle()
268 mle->new_master = O2NM_MAX_NODES; in dlm_init_mle()
293 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()
575 bitmap_zero(res->refmap, O2NM_MAX_NODES); in dlm_init_lockres()
830 if (mig || mle->master != O2NM_MAX_NODES) { in dlm_get_lock_resource()
864 bit = find_first_bit(dlm->recovery_map, O2NM_MAX_NODES); in dlm_get_lock_resource()
865 if (bit < O2NM_MAX_NODES) { in dlm_get_lock_resource()
[all …]
Ddlmdomain.c536 while ((node = find_next_bit(dlm->domain_map, O2NM_MAX_NODES, in __dlm_print_nodes()
537 node + 1)) < O2NM_MAX_NODES) { in __dlm_print_nodes()
612 node = find_next_bit(dlm->domain_map, O2NM_MAX_NODES, node + 1); in dlm_begin_exit_domain()
613 if (node >= O2NM_MAX_NODES) in dlm_begin_exit_domain()
637 while ((node = find_next_bit(dlm->domain_map, O2NM_MAX_NODES, in dlm_leave_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()
1071 while ((i = find_next_bit(node_map, O2NM_MAX_NODES, in dlm_send_regions()
1072 i + 1)) < O2NM_MAX_NODES) { in dlm_send_regions()
[all …]
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 …]
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()
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()