O2NM_MAX_REGIONS
sizeof(o2hb_live_region_bitmap), O2NM_MAX_REGIONS,
sizeof(o2hb_quorum_region_bitmap), O2NM_MAX_REGIONS,
sizeof(o2hb_failed_region_bitmap), O2NM_MAX_REGIONS,
bitmap_zero(o2hb_region_bitmap, O2NM_MAX_REGIONS);
bitmap_zero(o2hb_live_region_bitmap, O2NM_MAX_REGIONS);
bitmap_zero(o2hb_quorum_region_bitmap, O2NM_MAX_REGIONS);
bitmap_zero(o2hb_failed_region_bitmap, O2NM_MAX_REGIONS);
if (bitmap_weight(o2hb_region_bitmap, O2NM_MAX_REGIONS) == 1)
O2NM_MAX_REGIONS);
if (reg->hr_region_num >= O2NM_MAX_REGIONS) {
reg->hr_key = crc32_le(reg->hr_region_num + O2NM_MAX_REGIONS,
O2NM_MAX_REGIONS) <= O2HB_PIN_CUT_OFF)
O2NM_MAX_REGIONS) <= O2HB_PIN_CUT_OFF)
O2NM_MAX_REGIONS);
O2NM_MAX_REGIONS);
static unsigned long o2hb_region_bitmap[BITS_TO_LONGS(O2NM_MAX_REGIONS)];
static unsigned long o2hb_live_region_bitmap[BITS_TO_LONGS(O2NM_MAX_REGIONS)];
static unsigned long o2hb_quorum_region_bitmap[BITS_TO_LONGS(O2NM_MAX_REGIONS)];
static unsigned long o2hb_failed_region_bitmap[BITS_TO_LONGS(O2NM_MAX_REGIONS)];
O2NM_MAX_REGIONS) > O2HB_PIN_CUT_OFF)
u8 qr_regions[O2HB_MAX_REGION_NAME_LEN * O2NM_MAX_REGIONS];
O2NM_MAX_REGIONS);
localnr = min(O2NM_MAX_REGIONS, locallen/O2HB_MAX_REGION_NAME_LEN);