Lines Matching refs:O2NM_MAX_NODES
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()
1100 O2NM_MAX_NODES, i + 1)) < O2NM_MAX_NODES) { in o2hb_do_disk_heartbeat()
1104 highest_node = o2hb_highest_node(configured_nodes, O2NM_MAX_NODES); in o2hb_do_disk_heartbeat()
1105 lowest_node = o2hb_lowest_node(configured_nodes, O2NM_MAX_NODES); in o2hb_do_disk_heartbeat()
1106 if (highest_node >= O2NM_MAX_NODES || lowest_node >= O2NM_MAX_NODES) { in o2hb_do_disk_heartbeat()
1138 O2NM_MAX_NODES, i + 1)) < O2NM_MAX_NODES) { in o2hb_do_disk_heartbeat()
1278 unsigned long map[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_debug_open()
1414 O2NM_MAX_NODES, o2hb_live_node_bitmap); in o2hb_debug_init()
1464 BUG_ON(bytes < (BITS_TO_LONGS(O2NM_MAX_NODES) * sizeof(unsigned long))); in o2hb_fill_node_map_from_callback()
1636 if (tmp > O2NM_MAX_NODES || tmp == 0) in o2hb_region_blocks_store()
1777 if (o2nm_this_node() == O2NM_MAX_NODES) in o2hb_region_dev_store()
1983 sizeof(reg->hr_live_node_bitmap), O2NM_MAX_NODES, in o2hb_debug_region_init()
1988 O2HB_DB_TYPE_REGION_NUMBER, 0, O2NM_MAX_NODES, reg); in o2hb_debug_region_init()
2464 unsigned long testing_map[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_check_node_heartbeating_no_sem()
2482 unsigned long testing_map[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_check_node_heartbeating_from_callback()