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)];
251 unsigned long hr_nego_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)];
369 unsigned long live_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_nego_timeout()
382 master_node = find_next_bit(live_node_bitmap, O2NM_MAX_NODES, 0); in o2hb_nego_timeout()
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()
1080 unsigned long configured_nodes[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_do_disk_heartbeat()
1081 unsigned long live_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_do_disk_heartbeat()
1098 O2NM_MAX_NODES, i + 1)) < O2NM_MAX_NODES) { in o2hb_do_disk_heartbeat()
1102 highest_node = o2hb_highest_node(configured_nodes, O2NM_MAX_NODES); in o2hb_do_disk_heartbeat()
1103 lowest_node = o2hb_lowest_node(configured_nodes, 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()
1460 BUG_ON(bytes < (BITS_TO_LONGS(O2NM_MAX_NODES) * sizeof(unsigned long))); in o2hb_fill_node_map_from_callback()
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()
1980 sizeof(reg->hr_live_node_bitmap), O2NM_MAX_NODES, in o2hb_debug_region_init()
1985 O2HB_DB_TYPE_REGION_NUMBER, 0, O2NM_MAX_NODES, reg); in o2hb_debug_region_init()
2467 unsigned long testing_map[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_check_node_heartbeating_no_sem()
2485 unsigned long testing_map[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_check_node_heartbeating_from_callback()