/kernel/linux/linux-5.10/fs/ocfs2/cluster/ |
D | quorum.c | 47 unsigned long qs_hb_bm[BITS_TO_LONGS(O2NM_MAX_NODES)]; 49 unsigned long qs_conn_bm[BITS_TO_LONGS(O2NM_MAX_NODES)]; 51 unsigned long qs_hold_bm[BITS_TO_LONGS(O2NM_MAX_NODES)]; 100 lowest_hb = find_first_bit(qs->qs_hb_bm, O2NM_MAX_NODES); in o2quo_make_decision() 101 if (lowest_hb != O2NM_MAX_NODES) in o2quo_make_decision() 170 mlog_bug_on_msg(qs->qs_holds == O2NM_MAX_NODES, in o2quo_set_hold() 204 mlog_bug_on_msg(qs->qs_heartbeating == O2NM_MAX_NODES, in o2quo_hb_up() 272 mlog_bug_on_msg(qs->qs_connected == O2NM_MAX_NODES, in o2quo_conn_up()
|
D | heartbeat.c | 47 static struct list_head o2hb_live_slots[O2NM_MAX_NODES]; 48 static unsigned long o2hb_live_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)]; 222 unsigned long hr_live_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)]; 253 unsigned long hr_nego_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)]; 371 unsigned long live_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_nego_timeout() 384 master_node = find_next_bit(live_node_bitmap, O2NM_MAX_NODES, 0); in o2hb_nego_timeout() 411 O2NM_MAX_NODES, i + 1)) < O2NM_MAX_NODES) { in o2hb_nego_timeout() 444 if (nego_msg->node_num < O2NM_MAX_NODES) in o2hb_nego_timeout_handler() 1082 unsigned long configured_nodes[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_do_disk_heartbeat() 1083 unsigned long live_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_do_disk_heartbeat() [all …]
|
D | nodemanager.h | 47 struct o2nm_node *cl_nodes[O2NM_MAX_NODES]; 55 unsigned long cl_nodes_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)];
|
D | ocfs2_nodemanager.h | 18 #define O2NM_MAX_NODES 255 macro
|
D | netdebug.c | 440 unsigned long map[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2net_fill_bitmap() 445 while ((i = find_next_bit(map, O2NM_MAX_NODES, i + 1)) < O2NM_MAX_NODES) in o2net_fill_bitmap()
|
D | nodemanager.c | 36 if (node_num >= O2NM_MAX_NODES || o2nm_single_cluster == NULL) in o2nm_get_node_by_num() 134 u8 node_num = O2NM_MAX_NODES; in o2nm_this_node() 198 if (tmp >= O2NM_MAX_NODES) in o2nm_node_num_store()
|
D | tcp.c | 95 static struct o2net_node o2net_nodes[O2NM_MAX_NODES]; 1000 BUG_ON(bytes < (BITS_TO_LONGS(O2NM_MAX_NODES) * sizeof(unsigned long))); in o2net_fill_node_map() 1003 for (node = 0; node < O2NM_MAX_NODES; ++node) { in o2net_fill_node_map()
|
/kernel/linux/linux-5.10/fs/ocfs2/dlm/ |
D | dlmcommon.h | 21 #define DLM_LOCK_RES_OWNER_UNKNOWN O2NM_MAX_NODES 53 unsigned long maybe_map[BITS_TO_LONGS(O2NM_MAX_NODES)]; 54 unsigned long vote_map[BITS_TO_LONGS(O2NM_MAX_NODES)]; 55 unsigned long response_map[BITS_TO_LONGS(O2NM_MAX_NODES)]; 56 unsigned long node_map[BITS_TO_LONGS(O2NM_MAX_NODES)]; 100 unsigned long node_map[BITS_TO_LONGS(O2NM_MAX_NODES)]; 130 unsigned long live_nodes_map[BITS_TO_LONGS(O2NM_MAX_NODES)]; 131 unsigned long domain_map[BITS_TO_LONGS(O2NM_MAX_NODES)]; 132 unsigned long exit_domain_map[BITS_TO_LONGS(O2NM_MAX_NODES)]; 133 unsigned long recovery_map[BITS_TO_LONGS(O2NM_MAX_NODES)]; [all …]
|
D | dlmdomain.c | 538 while ((node = find_next_bit(dlm->domain_map, O2NM_MAX_NODES, in __dlm_print_nodes() 539 node + 1)) < O2NM_MAX_NODES) { in __dlm_print_nodes() 614 node = find_next_bit(dlm->domain_map, O2NM_MAX_NODES, node + 1); in dlm_begin_exit_domain() 615 if (node >= O2NM_MAX_NODES) in dlm_begin_exit_domain() 639 while ((node = find_next_bit(dlm->domain_map, O2NM_MAX_NODES, in dlm_leave_domain() 640 0)) < O2NM_MAX_NODES) { in dlm_leave_domain() 833 while (nodenum < O2NM_MAX_NODES) { in dlm_query_join_handler() 1050 if (find_next_bit(node_map, O2NM_MAX_NODES, 0) >= O2NM_MAX_NODES) in dlm_send_regions() 1073 while ((i = find_next_bit(node_map, O2NM_MAX_NODES, in dlm_send_regions() 1074 i + 1)) < O2NM_MAX_NODES) { in dlm_send_regions() [all …]
|
D | dlmmaster.c | 269 mle->master = O2NM_MAX_NODES; in dlm_init_mle() 270 mle->new_master = O2NM_MAX_NODES; in dlm_init_mle() 832 if (mig || mle->master != O2NM_MAX_NODES) { in dlm_get_lock_resource() 866 bit = find_next_bit(dlm->recovery_map, O2NM_MAX_NODES, 0); in dlm_get_lock_resource() 867 if (bit < O2NM_MAX_NODES) { in dlm_get_lock_resource() 917 bit = find_next_bit(dlm->recovery_map, O2NM_MAX_NODES, 0); in dlm_get_lock_resource() 918 if (bit < O2NM_MAX_NODES) { in dlm_get_lock_resource() 941 if (mle->master != O2NM_MAX_NODES) { in dlm_get_lock_resource() 978 BUG_ON(res->owner == O2NM_MAX_NODES); in dlm_get_lock_resource() 1076 if (m != O2NM_MAX_NODES) { in dlm_wait_for_lock_mastery() [all …]
|
D | dlmdebug.c | 50 bit = find_next_bit(res->refmap, O2NM_MAX_NODES, bit); in dlm_print_lockres_refmap() 51 if (bit >= O2NM_MAX_NODES) in dlm_print_lockres_refmap() 289 out += stringify_nodemap(mle->maybe_map, O2NM_MAX_NODES, in dump_mle() 294 out += stringify_nodemap(mle->vote_map, O2NM_MAX_NODES, in dump_mle() 299 out += stringify_nodemap(mle->response_map, O2NM_MAX_NODES, in dump_mle() 304 out += stringify_nodemap(mle->node_map, O2NM_MAX_NODES, in dump_mle() 513 out += stringify_nodemap(res->refmap, O2NM_MAX_NODES, in dump_lockres() 703 out += stringify_nodemap(dlm->domain_map, O2NM_MAX_NODES, in debug_state_print() 709 out += stringify_nodemap(dlm->exit_domain_map, O2NM_MAX_NODES, in debug_state_print() 715 out += stringify_nodemap(dlm->live_nodes_map, O2NM_MAX_NODES, in debug_state_print() [all …]
|
D | dlmthread.c | 97 bit = find_next_bit(res->refmap, O2NM_MAX_NODES, 0); in __dlm_lockres_unused() 98 if (bit < O2NM_MAX_NODES) in __dlm_lockres_unused()
|
D | dlmrecovery.c | 463 bit = find_next_bit (dlm->recovery_map, O2NM_MAX_NODES, 0); in dlm_do_recovery() 464 if (bit >= O2NM_MAX_NODES || bit < 0) in dlm_do_recovery() 751 num = find_next_bit (dlm->reco.node_map, O2NM_MAX_NODES, num); in dlm_init_recovery_area() 752 if (num >= O2NM_MAX_NODES) { in dlm_init_recovery_area() 1808 u8 from = O2NM_MAX_NODES; in dlm_process_recovery_data()
|
/kernel/linux/linux-5.10/fs/ocfs2/ |
D | stack_o2cb.c | 259 unsigned long hbmap[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2cb_cluster_check() 260 unsigned long netmap[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2cb_cluster_check() 263 if (node_num == O2NM_MAX_NODES) { in o2cb_cluster_check() 296 while ((i = find_next_bit(hbmap, O2NM_MAX_NODES, in o2cb_cluster_check() 297 i + 1)) < O2NM_MAX_NODES) { in o2cb_cluster_check() 402 if (node_num >= O2NM_MAX_NODES) in o2cb_cluster_this_node()
|