Lines Matching refs:O2NM_MAX_NODES
46 static struct list_head o2hb_live_slots[O2NM_MAX_NODES];
47 static unsigned long o2hb_live_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)];
221 unsigned long hr_live_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)];
250 unsigned long hr_nego_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)];
344 bitmap_zero(reg->hr_nego_node_bitmap, O2NM_MAX_NODES); in o2hb_arm_timeout()
373 unsigned long live_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_nego_timeout()
384 o2hb_fill_node_map(live_node_bitmap, O2NM_MAX_NODES); in o2hb_nego_timeout()
386 master_node = find_first_bit(live_node_bitmap, O2NM_MAX_NODES); in o2hb_nego_timeout()
396 O2NM_MAX_NODES)) { in o2hb_nego_timeout()
414 O2NM_MAX_NODES, i + 1)) < O2NM_MAX_NODES) { in o2hb_nego_timeout()
448 if (nego_msg->node_num < O2NM_MAX_NODES) in o2hb_nego_timeout_handler()
868 O2NM_MAX_NODES)) in o2hb_set_quorum_device()
1083 unsigned long configured_nodes[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_do_disk_heartbeat()
1084 unsigned long live_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_do_disk_heartbeat()
1098 o2hb_fill_node_map(live_node_bitmap, O2NM_MAX_NODES); in o2hb_do_disk_heartbeat()
1101 O2NM_MAX_NODES, i + 1)) < O2NM_MAX_NODES) { in o2hb_do_disk_heartbeat()
1105 highest_node = o2hb_highest_node(configured_nodes, O2NM_MAX_NODES); in o2hb_do_disk_heartbeat()
1106 lowest_node = o2hb_lowest_node(configured_nodes, O2NM_MAX_NODES); in o2hb_do_disk_heartbeat()
1107 if (highest_node >= O2NM_MAX_NODES || lowest_node >= O2NM_MAX_NODES) { in o2hb_do_disk_heartbeat()
1139 O2NM_MAX_NODES, i + 1)) < O2NM_MAX_NODES) { in o2hb_do_disk_heartbeat()
1279 unsigned long map[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_debug_open()
1415 O2NM_MAX_NODES, o2hb_live_node_bitmap); in o2hb_debug_init()
1448 bitmap_zero(o2hb_live_node_bitmap, O2NM_MAX_NODES); in o2hb_init()
1636 if (tmp > O2NM_MAX_NODES || tmp == 0) in o2hb_region_blocks_store()
1779 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()
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()