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)];
343 bitmap_zero(reg->hr_nego_node_bitmap, O2NM_MAX_NODES); in o2hb_arm_timeout()
372 unsigned long live_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_nego_timeout()
383 o2hb_fill_node_map(live_node_bitmap, O2NM_MAX_NODES); in o2hb_nego_timeout()
385 master_node = find_first_bit(live_node_bitmap, O2NM_MAX_NODES); in o2hb_nego_timeout()
395 O2NM_MAX_NODES)) { in o2hb_nego_timeout()
413 O2NM_MAX_NODES, i + 1)) < O2NM_MAX_NODES) { in o2hb_nego_timeout()
447 if (nego_msg->node_num < O2NM_MAX_NODES) in o2hb_nego_timeout_handler()
867 O2NM_MAX_NODES)) in o2hb_set_quorum_device()
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()
1097 o2hb_fill_node_map(live_node_bitmap, 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()
1447 bitmap_zero(o2hb_live_node_bitmap, O2NM_MAX_NODES); in o2hb_init()
1633 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()
1981 sizeof(reg->hr_live_node_bitmap), O2NM_MAX_NODES, in o2hb_debug_region_init()
1986 O2HB_DB_TYPE_REGION_NUMBER, 0, O2NM_MAX_NODES, reg); in o2hb_debug_region_init()
2468 unsigned long testing_map[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_check_node_heartbeating_no_sem()
2471 o2hb_fill_node_map_from_callback(testing_map, O2NM_MAX_NODES); in o2hb_check_node_heartbeating_no_sem()
2486 unsigned long testing_map[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_check_node_heartbeating_from_callback()
2488 o2hb_fill_node_map_from_callback(testing_map, O2NM_MAX_NODES); in o2hb_check_node_heartbeating_from_callback()