O2NM_MAX_NODES 58 fs/ocfs2/cluster/heartbeat.c static struct list_head o2hb_live_slots[O2NM_MAX_NODES]; O2NM_MAX_NODES 59 fs/ocfs2/cluster/heartbeat.c static unsigned long o2hb_live_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)]; O2NM_MAX_NODES 731 fs/ocfs2/cluster/heartbeat.c unsigned long configured_nodes[BITS_TO_LONGS(O2NM_MAX_NODES)]; O2NM_MAX_NODES 741 fs/ocfs2/cluster/heartbeat.c highest_node = o2hb_highest_node(configured_nodes, O2NM_MAX_NODES); O2NM_MAX_NODES 742 fs/ocfs2/cluster/heartbeat.c if (highest_node >= O2NM_MAX_NODES) { O2NM_MAX_NODES 776 fs/ocfs2/cluster/heartbeat.c while((i = find_next_bit(configured_nodes, O2NM_MAX_NODES, i + 1)) < O2NM_MAX_NODES) { O2NM_MAX_NODES 927 fs/ocfs2/cluster/heartbeat.c BUG_ON(bytes < (BITS_TO_LONGS(O2NM_MAX_NODES) * sizeof(unsigned long))); O2NM_MAX_NODES 1091 fs/ocfs2/cluster/heartbeat.c if (tmp > O2NM_MAX_NODES || tmp == 0) O2NM_MAX_NODES 1245 fs/ocfs2/cluster/heartbeat.c if (o2nm_this_node() == O2NM_MAX_NODES) O2NM_MAX_NODES 1804 fs/ocfs2/cluster/heartbeat.c unsigned long testing_map[BITS_TO_LONGS(O2NM_MAX_NODES)]; O2NM_MAX_NODES 1820 fs/ocfs2/cluster/heartbeat.c unsigned long testing_map[BITS_TO_LONGS(O2NM_MAX_NODES)]; O2NM_MAX_NODES 1842 fs/ocfs2/cluster/heartbeat.c if (node_num == O2NM_MAX_NODES) { O2NM_MAX_NODES 43 fs/ocfs2/cluster/nodemanager.c if (node_num >= O2NM_MAX_NODES || o2nm_single_cluster == NULL) O2NM_MAX_NODES 141 fs/ocfs2/cluster/nodemanager.c u8 node_num = O2NM_MAX_NODES; O2NM_MAX_NODES 201 fs/ocfs2/cluster/nodemanager.c if (tmp >= O2NM_MAX_NODES) O2NM_MAX_NODES 56 fs/ocfs2/cluster/nodemanager.h struct o2nm_node *cl_nodes[O2NM_MAX_NODES]; O2NM_MAX_NODES 63 fs/ocfs2/cluster/nodemanager.h unsigned long cl_nodes_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)]; O2NM_MAX_NODES 62 fs/ocfs2/cluster/quorum.c unsigned long qs_hb_bm[BITS_TO_LONGS(O2NM_MAX_NODES)]; O2NM_MAX_NODES 64 fs/ocfs2/cluster/quorum.c unsigned long qs_conn_bm[BITS_TO_LONGS(O2NM_MAX_NODES)]; O2NM_MAX_NODES 66 fs/ocfs2/cluster/quorum.c unsigned long qs_hold_bm[BITS_TO_LONGS(O2NM_MAX_NODES)]; O2NM_MAX_NODES 102 fs/ocfs2/cluster/quorum.c lowest_hb = find_first_bit(qs->qs_hb_bm, O2NM_MAX_NODES); O2NM_MAX_NODES 103 fs/ocfs2/cluster/quorum.c if (lowest_hb != O2NM_MAX_NODES) O2NM_MAX_NODES 163 fs/ocfs2/cluster/quorum.c mlog_bug_on_msg(qs->qs_holds == O2NM_MAX_NODES, O2NM_MAX_NODES 197 fs/ocfs2/cluster/quorum.c mlog_bug_on_msg(qs->qs_heartbeating == O2NM_MAX_NODES, O2NM_MAX_NODES 265 fs/ocfs2/cluster/quorum.c mlog_bug_on_msg(qs->qs_connected == O2NM_MAX_NODES, O2NM_MAX_NODES 107 fs/ocfs2/cluster/tcp.c static struct o2net_node o2net_nodes[O2NM_MAX_NODES]; O2NM_MAX_NODES 36 fs/ocfs2/dlm/dlmcommon.h #define DLM_LOCK_RES_OWNER_UNKNOWN O2NM_MAX_NODES O2NM_MAX_NODES 72 fs/ocfs2/dlm/dlmcommon.h unsigned long maybe_map[BITS_TO_LONGS(O2NM_MAX_NODES)]; O2NM_MAX_NODES 73 fs/ocfs2/dlm/dlmcommon.h unsigned long vote_map[BITS_TO_LONGS(O2NM_MAX_NODES)]; O2NM_MAX_NODES 74 fs/ocfs2/dlm/dlmcommon.h unsigned long response_map[BITS_TO_LONGS(O2NM_MAX_NODES)]; O2NM_MAX_NODES 75 fs/ocfs2/dlm/dlmcommon.h unsigned long node_map[BITS_TO_LONGS(O2NM_MAX_NODES)]; O2NM_MAX_NODES 120 fs/ocfs2/dlm/dlmcommon.h unsigned long node_map[BITS_TO_LONGS(O2NM_MAX_NODES)]; O2NM_MAX_NODES 148 fs/ocfs2/dlm/dlmcommon.h unsigned long live_nodes_map[BITS_TO_LONGS(O2NM_MAX_NODES)]; O2NM_MAX_NODES 149 fs/ocfs2/dlm/dlmcommon.h unsigned long domain_map[BITS_TO_LONGS(O2NM_MAX_NODES)]; O2NM_MAX_NODES 150 fs/ocfs2/dlm/dlmcommon.h unsigned long recovery_map[BITS_TO_LONGS(O2NM_MAX_NODES)]; O2NM_MAX_NODES 327 fs/ocfs2/dlm/dlmcommon.h unsigned long refmap[BITS_TO_LONGS(O2NM_MAX_NODES)]; O2NM_MAX_NODES 417 fs/ocfs2/dlm/dlmcommon.h unsigned long node_map[BITS_TO_LONGS(O2NM_MAX_NODES)]; O2NM_MAX_NODES 704 fs/ocfs2/dlm/dlmcommon.h u8 node_map[BITS_TO_BYTES(O2NM_MAX_NODES)]; O2NM_MAX_NODES 1101 fs/ocfs2/dlm/dlmcommon.h bit = find_next_bit(iter->node_map, O2NM_MAX_NODES, iter->curnode+1); O2NM_MAX_NODES 1102 fs/ocfs2/dlm/dlmcommon.h if (bit >= O2NM_MAX_NODES) { O2NM_MAX_NODES 1103 fs/ocfs2/dlm/dlmcommon.h iter->curnode = O2NM_MAX_NODES; O2NM_MAX_NODES 65 fs/ocfs2/dlm/dlmdebug.c bit = find_next_bit(res->refmap, O2NM_MAX_NODES, bit); O2NM_MAX_NODES 66 fs/ocfs2/dlm/dlmdebug.c if (bit >= O2NM_MAX_NODES) O2NM_MAX_NODES 318 fs/ocfs2/dlm/dlmdebug.c out += stringify_nodemap(mle->maybe_map, O2NM_MAX_NODES, O2NM_MAX_NODES 323 fs/ocfs2/dlm/dlmdebug.c out += stringify_nodemap(mle->vote_map, O2NM_MAX_NODES, O2NM_MAX_NODES 328 fs/ocfs2/dlm/dlmdebug.c out += stringify_nodemap(mle->response_map, O2NM_MAX_NODES, O2NM_MAX_NODES 333 fs/ocfs2/dlm/dlmdebug.c out += stringify_nodemap(mle->node_map, O2NM_MAX_NODES, O2NM_MAX_NODES 601 fs/ocfs2/dlm/dlmdebug.c out += stringify_nodemap(res->refmap, O2NM_MAX_NODES, O2NM_MAX_NODES 802 fs/ocfs2/dlm/dlmdebug.c out += stringify_nodemap(dlm->domain_map, O2NM_MAX_NODES, O2NM_MAX_NODES 808 fs/ocfs2/dlm/dlmdebug.c out += stringify_nodemap(dlm->live_nodes_map, O2NM_MAX_NODES, O2NM_MAX_NODES 851 fs/ocfs2/dlm/dlmdebug.c out += stringify_nodemap(dlm->recovery_map, O2NM_MAX_NODES, O2NM_MAX_NODES 514 fs/ocfs2/dlm/dlmdomain.c while ((node = find_next_bit(dlm->domain_map, O2NM_MAX_NODES, O2NM_MAX_NODES 515 fs/ocfs2/dlm/dlmdomain.c node + 1)) < O2NM_MAX_NODES) { O2NM_MAX_NODES 585 fs/ocfs2/dlm/dlmdomain.c while ((node = find_next_bit(dlm->domain_map, O2NM_MAX_NODES, O2NM_MAX_NODES 586 fs/ocfs2/dlm/dlmdomain.c 0)) < O2NM_MAX_NODES) { O2NM_MAX_NODES 803 fs/ocfs2/dlm/dlmdomain.c while (nodenum < O2NM_MAX_NODES) { O2NM_MAX_NODES 979 fs/ocfs2/dlm/dlmdomain.c if (map_size != (BITS_TO_LONGS(O2NM_MAX_NODES) * O2NM_MAX_NODES 983 fs/ocfs2/dlm/dlmdomain.c map_size, (unsigned)BITS_TO_LONGS(O2NM_MAX_NODES)); O2NM_MAX_NODES 989 fs/ocfs2/dlm/dlmdomain.c while ((node = find_next_bit(node_map, O2NM_MAX_NODES, O2NM_MAX_NODES 990 fs/ocfs2/dlm/dlmdomain.c node + 1)) < O2NM_MAX_NODES) { O2NM_MAX_NODES 1027 fs/ocfs2/dlm/dlmdomain.c byte_copymap(join_msg.node_map, dlm->live_nodes_map, O2NM_MAX_NODES); O2NM_MAX_NODES 1116 fs/ocfs2/dlm/dlmdomain.c while ((node = find_next_bit(node_map, O2NM_MAX_NODES, O2NM_MAX_NODES 1117 fs/ocfs2/dlm/dlmdomain.c node + 1)) < O2NM_MAX_NODES) { O2NM_MAX_NODES 1144 fs/ocfs2/dlm/dlmdomain.c unsigned long live_map[BITS_TO_LONGS(O2NM_MAX_NODES)]; O2NM_MAX_NODES 1145 fs/ocfs2/dlm/dlmdomain.c unsigned long yes_resp_map[BITS_TO_LONGS(O2NM_MAX_NODES)]; O2NM_MAX_NODES 1200 fs/ocfs2/dlm/dlmdomain.c while ((node = find_next_bit(ctxt->live_map, O2NM_MAX_NODES, O2NM_MAX_NODES 1201 fs/ocfs2/dlm/dlmdomain.c node + 1)) < O2NM_MAX_NODES) { O2NM_MAX_NODES 294 fs/ocfs2/dlm/dlmmaster.c mle->master = O2NM_MAX_NODES; O2NM_MAX_NODES 295 fs/ocfs2/dlm/dlmmaster.c mle->new_master = O2NM_MAX_NODES; O2NM_MAX_NODES 801 fs/ocfs2/dlm/dlmmaster.c if (mig || mle->master != O2NM_MAX_NODES) { O2NM_MAX_NODES 835 fs/ocfs2/dlm/dlmmaster.c bit = find_next_bit(dlm->recovery_map, O2NM_MAX_NODES, 0); O2NM_MAX_NODES 836 fs/ocfs2/dlm/dlmmaster.c if (bit < O2NM_MAX_NODES) { O2NM_MAX_NODES 889 fs/ocfs2/dlm/dlmmaster.c bit = find_next_bit(dlm->recovery_map, O2NM_MAX_NODES, 0); O2NM_MAX_NODES 890 fs/ocfs2/dlm/dlmmaster.c if (bit < O2NM_MAX_NODES) { O2NM_MAX_NODES 913 fs/ocfs2/dlm/dlmmaster.c if (mle->master != O2NM_MAX_NODES) { O2NM_MAX_NODES 950 fs/ocfs2/dlm/dlmmaster.c BUG_ON(res->owner == O2NM_MAX_NODES); O2NM_MAX_NODES 1050 fs/ocfs2/dlm/dlmmaster.c if (m != O2NM_MAX_NODES) { O2NM_MAX_NODES 1058 fs/ocfs2/dlm/dlmmaster.c bit = find_next_bit(mle->maybe_map, O2NM_MAX_NODES, 0); O2NM_MAX_NODES 1090 fs/ocfs2/dlm/dlmmaster.c if (res->owner == O2NM_MAX_NODES) { O2NM_MAX_NODES 1135 fs/ocfs2/dlm/dlmmaster.c unsigned long diff_bm[BITS_TO_LONGS(O2NM_MAX_NODES)]; O2NM_MAX_NODES 1156 fs/ocfs2/dlm/dlmmaster.c for (i = 0; i < BITS_TO_LONGS(O2NM_MAX_NODES); i++) { O2NM_MAX_NODES 1168 fs/ocfs2/dlm/dlmmaster.c if (iter->curnode >= O2NM_MAX_NODES) O2NM_MAX_NODES 1171 fs/ocfs2/dlm/dlmmaster.c bit = find_next_bit(iter->diff_bm, O2NM_MAX_NODES, O2NM_MAX_NODES 1173 fs/ocfs2/dlm/dlmmaster.c if (bit >= O2NM_MAX_NODES) { O2NM_MAX_NODES 1174 fs/ocfs2/dlm/dlmmaster.c iter->curnode = O2NM_MAX_NODES; O2NM_MAX_NODES 1221 fs/ocfs2/dlm/dlmmaster.c O2NM_MAX_NODES, 0); O2NM_MAX_NODES 1231 fs/ocfs2/dlm/dlmmaster.c O2NM_MAX_NODES, O2NM_MAX_NODES 1233 fs/ocfs2/dlm/dlmmaster.c if (lowest < O2NM_MAX_NODES) { O2NM_MAX_NODES 1779 fs/ocfs2/dlm/dlmmaster.c int bit = find_next_bit (mle->maybe_map, O2NM_MAX_NODES, 0); O2NM_MAX_NODES 1780 fs/ocfs2/dlm/dlmmaster.c if (bit >= O2NM_MAX_NODES) { O2NM_MAX_NODES 1896 fs/ocfs2/dlm/dlmmaster.c while ((nn = find_next_bit (mle->response_map, O2NM_MAX_NODES, O2NM_MAX_NODES 1897 fs/ocfs2/dlm/dlmmaster.c nn+1)) < O2NM_MAX_NODES) { O2NM_MAX_NODES 2062 fs/ocfs2/dlm/dlmmaster.c unsigned long nodemap[BITS_TO_LONGS(O2NM_MAX_NODES)]; O2NM_MAX_NODES 2086 fs/ocfs2/dlm/dlmmaster.c bit = find_next_bit(nodemap, O2NM_MAX_NODES, O2NM_MAX_NODES 2088 fs/ocfs2/dlm/dlmmaster.c if (bit >= O2NM_MAX_NODES) O2NM_MAX_NODES 2250 fs/ocfs2/dlm/dlmmaster.c if (deref->node_idx >= O2NM_MAX_NODES) { O2NM_MAX_NODES 2475 fs/ocfs2/dlm/dlmmaster.c target >= O2NM_MAX_NODES) { O2NM_MAX_NODES 2480 fs/ocfs2/dlm/dlmmaster.c if (target >= O2NM_MAX_NODES || O2NM_MAX_NODES 2704 fs/ocfs2/dlm/dlmmaster.c ret = dlm_migrate_lockres(dlm, res, O2NM_MAX_NODES); O2NM_MAX_NODES 2880 fs/ocfs2/dlm/dlmmaster.c bit = find_next_bit(res->refmap, O2NM_MAX_NODES, bit); O2NM_MAX_NODES 2881 fs/ocfs2/dlm/dlmmaster.c if (bit >= O2NM_MAX_NODES) O2NM_MAX_NODES 2928 fs/ocfs2/dlm/dlmmaster.c O2NM_MAX_NODES, nodenum+1); O2NM_MAX_NODES 2930 fs/ocfs2/dlm/dlmmaster.c if (nodenum >= O2NM_MAX_NODES) O2NM_MAX_NODES 3189 fs/ocfs2/dlm/dlmmaster.c bit = find_next_bit(mle->maybe_map, O2NM_MAX_NODES, 0); O2NM_MAX_NODES 467 fs/ocfs2/dlm/dlmrecovery.c bit = find_next_bit (dlm->recovery_map, O2NM_MAX_NODES+1, 0); O2NM_MAX_NODES 468 fs/ocfs2/dlm/dlmrecovery.c if (bit >= O2NM_MAX_NODES || bit < 0) O2NM_MAX_NODES 747 fs/ocfs2/dlm/dlmrecovery.c num = find_next_bit (dlm->reco.node_map, O2NM_MAX_NODES, num); O2NM_MAX_NODES 748 fs/ocfs2/dlm/dlmrecovery.c if (num >= O2NM_MAX_NODES) { O2NM_MAX_NODES 1732 fs/ocfs2/dlm/dlmrecovery.c u8 from = O2NM_MAX_NODES; O2NM_MAX_NODES 101 fs/ocfs2/dlm/dlmthread.c int bit = find_next_bit(res->refmap, O2NM_MAX_NODES, 0); O2NM_MAX_NODES 102 fs/ocfs2/dlm/dlmthread.c if (bit >= O2NM_MAX_NODES) { O2NM_MAX_NODES 343 fs/ocfs2/stack_o2cb.c if (node_num >= O2NM_MAX_NODES)