Home
last modified time | relevance | path

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

/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)];
251 unsigned long hr_nego_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)];
369 unsigned long live_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_nego_timeout()
382 master_node = find_next_bit(live_node_bitmap, O2NM_MAX_NODES, 0); in o2hb_nego_timeout()
409 O2NM_MAX_NODES, i + 1)) < O2NM_MAX_NODES) { in o2hb_nego_timeout()
442 if (nego_msg->node_num < O2NM_MAX_NODES) in o2hb_nego_timeout_handler()
1080 unsigned long configured_nodes[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_do_disk_heartbeat()
1081 unsigned long live_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_do_disk_heartbeat()
[all …]
Dnodemanager.h45 struct o2nm_node *cl_nodes[O2NM_MAX_NODES];
53 unsigned long cl_nodes_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)];
Docfs2_nodemanager.h16 #define O2NM_MAX_NODES 255 macro
Dnetdebug.c438 unsigned long map[BITS_TO_LONGS(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()
Dnodemanager.c34 if (node_num >= O2NM_MAX_NODES || o2nm_single_cluster == NULL) in o2nm_get_node_by_num()
132 u8 node_num = O2NM_MAX_NODES; in o2nm_this_node()
196 if (tmp >= O2NM_MAX_NODES) in o2nm_node_num_store()
Dtcp.c93 static struct o2net_node o2net_nodes[O2NM_MAX_NODES];
998 BUG_ON(bytes < (BITS_TO_LONGS(O2NM_MAX_NODES) * sizeof(unsigned long))); in o2net_fill_node_map()
1001 for (node = 0; node < O2NM_MAX_NODES; ++node) { in o2net_fill_node_map()
/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.c267 mle->master = O2NM_MAX_NODES; in dlm_init_mle()
268 mle->new_master = O2NM_MAX_NODES; in dlm_init_mle()
830 if (mig || mle->master != O2NM_MAX_NODES) { in dlm_get_lock_resource()
864 bit = find_next_bit(dlm->recovery_map, O2NM_MAX_NODES, 0); in dlm_get_lock_resource()
865 if (bit < O2NM_MAX_NODES) { in dlm_get_lock_resource()
915 bit = find_next_bit(dlm->recovery_map, O2NM_MAX_NODES, 0); in dlm_get_lock_resource()
916 if (bit < O2NM_MAX_NODES) { in dlm_get_lock_resource()
939 if (mle->master != O2NM_MAX_NODES) { in dlm_get_lock_resource()
976 BUG_ON(res->owner == O2NM_MAX_NODES); in dlm_get_lock_resource()
1074 if (m != O2NM_MAX_NODES) { in dlm_wait_for_lock_mastery()
[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_next_bit(node_map, O2NM_MAX_NODES, 0) >= 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_next_bit(res->refmap, O2NM_MAX_NODES, 0); in __dlm_lockres_unused()
96 if (bit < O2NM_MAX_NODES) in __dlm_lockres_unused()
Ddlmrecovery.c454 bit = find_next_bit (dlm->recovery_map, O2NM_MAX_NODES, 0); in dlm_do_recovery()
455 if (bit >= O2NM_MAX_NODES || bit < 0) in dlm_do_recovery()
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()
/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()
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()