Searched refs:kGapAlignment (Results 1 – 1 of 1) sorted by relevance
537 constexpr size_t kGapAlignment = 1ul << 21; // 2MB in ReserveWithAlignmentPadding() local539 constexpr size_t kGapAlignment = 0; in ReserveWithAlignmentPadding() local554 if (kGapAlignment && first_byte / kGapAlignment != last_byte / kGapAlignment) { in ReserveWithAlignmentPadding()559 align = std::max(align, kGapAlignment); in ReserveWithAlignmentPadding()561 kGapAlignment * (is_first_stage_init() ? 1 : arc4random_uniform(kMaxGapUnits - 1) + 1); in ReserveWithAlignmentPadding()571 gap_end = align_down(mmap_ptr + mmap_size, kGapAlignment); in ReserveWithAlignmentPadding()