Lines Matching refs:O2NM_MAX_NODES
45 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)];
367 unsigned long live_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_nego_timeout()
380 master_node = find_first_bit(live_node_bitmap, O2NM_MAX_NODES); in o2hb_nego_timeout()
407 O2NM_MAX_NODES, i + 1)) < O2NM_MAX_NODES) { in o2hb_nego_timeout()
440 if (nego_msg->node_num < O2NM_MAX_NODES) in o2hb_nego_timeout_handler()
1075 unsigned long configured_nodes[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_do_disk_heartbeat()
1076 unsigned long live_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_do_disk_heartbeat()
1093 O2NM_MAX_NODES, i + 1)) < O2NM_MAX_NODES) { in o2hb_do_disk_heartbeat()
1097 highest_node = o2hb_highest_node(configured_nodes, O2NM_MAX_NODES); in o2hb_do_disk_heartbeat()
1098 lowest_node = o2hb_lowest_node(configured_nodes, O2NM_MAX_NODES); in o2hb_do_disk_heartbeat()
1099 if (highest_node >= O2NM_MAX_NODES || lowest_node >= O2NM_MAX_NODES) { in o2hb_do_disk_heartbeat()
1131 O2NM_MAX_NODES, i + 1)) < O2NM_MAX_NODES) { in o2hb_do_disk_heartbeat()
1271 unsigned long map[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_debug_open()
1407 O2NM_MAX_NODES, o2hb_live_node_bitmap); in o2hb_debug_init()
1455 BUG_ON(bytes < (BITS_TO_LONGS(O2NM_MAX_NODES) * sizeof(unsigned long))); in o2hb_fill_node_map_from_callback()
1628 if (tmp > O2NM_MAX_NODES || tmp == 0) in o2hb_region_blocks_store()
1769 if (o2nm_this_node() == O2NM_MAX_NODES) in o2hb_region_dev_store()
1973 sizeof(reg->hr_live_node_bitmap), O2NM_MAX_NODES, in o2hb_debug_region_init()
1978 O2HB_DB_TYPE_REGION_NUMBER, 0, O2NM_MAX_NODES, reg); in o2hb_debug_region_init()
2460 unsigned long testing_map[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_check_node_heartbeating_no_sem()
2478 unsigned long testing_map[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_check_node_heartbeating_from_callback()