Searched refs:O2NM_MAX_NODES (Results 1 – 14 of 14) sorted by relevance
/linux/fs/ocfs2/cluster/ |
A D | quorum.c | 45 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()
|
A D | heartbeat.c | 45 static struct list_head o2hb_live_slots[O2NM_MAX_NODES]; 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() 1098 O2NM_MAX_NODES, i + 1)) < O2NM_MAX_NODES) { in o2hb_do_disk_heartbeat() 1104 if (highest_node >= O2NM_MAX_NODES || lowest_node >= O2NM_MAX_NODES) { in o2hb_do_disk_heartbeat() 1136 O2NM_MAX_NODES, i + 1)) < O2NM_MAX_NODES) { in o2hb_do_disk_heartbeat() 1276 unsigned long map[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_debug_open() 1412 O2NM_MAX_NODES, o2hb_live_node_bitmap); in o2hb_debug_init() 1633 if (tmp > O2NM_MAX_NODES || tmp == 0) in o2hb_region_blocks_store() 1774 if (o2nm_this_node() == O2NM_MAX_NODES) in o2hb_region_dev_store() [all …]
|
A D | nodemanager.h | 45 struct o2nm_node *cl_nodes[O2NM_MAX_NODES]; 53 unsigned long cl_nodes_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)];
|
A D | ocfs2_nodemanager.h | 16 #define O2NM_MAX_NODES 255 macro
|
A D | netdebug.c | 438 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()
|
A D | nodemanager.c | 34 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()
|
A D | tcp.c | 93 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()
|
/linux/fs/ocfs2/dlm/ |
A D | dlmcommon.h | 18 #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)]; 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]; 1105 if (bit >= O2NM_MAX_NODES) { in dlm_node_iter_next() [all …]
|
A D | dlmmaster.c | 267 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() 1074 if (m != O2NM_MAX_NODES) { in dlm_wait_for_lock_mastery() 1190 if (bit >= O2NM_MAX_NODES) { in dlm_bitmap_diff_iter_next() 1248 O2NM_MAX_NODES, in dlm_restart_lock_mastery() 1799 if (bit >= O2NM_MAX_NODES) { in dlm_assert_master_handler() 2765 u8 target = O2NM_MAX_NODES; in dlm_empty_lockres() 2957 if (bit >= O2NM_MAX_NODES) in dlm_remove_nonlocal_locks() 2983 u8 nodenum = O2NM_MAX_NODES; in dlm_pick_migration_target() [all …]
|
A D | dlmdomain.c | 537 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_next_bit(node_map, O2NM_MAX_NODES, 0) >= O2NM_MAX_NODES) in dlm_send_regions() 1072 i + 1)) < O2NM_MAX_NODES) { in dlm_send_regions() 1220 if (find_next_bit(node_map, O2NM_MAX_NODES, 0) >= 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 …]
|
A D | dlmdebug.c | 48 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 …]
|
A D | dlmthread.c | 95 bit = find_next_bit(res->refmap, O2NM_MAX_NODES, 0); in __dlm_lockres_unused() 96 if (bit < O2NM_MAX_NODES) in __dlm_lockres_unused()
|
A D | dlmrecovery.c | 454 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()
|
/linux/fs/ocfs2/ |
A D | stack_o2cb.c | 257 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()
|
Completed in 41 milliseconds