Home
last modified time | relevance | path

Searched refs:kGapAlignment (Results 1 – 1 of 1) sorted by relevance

/bionic/linker/
Dlinker_phdr.cpp537 constexpr size_t kGapAlignment = 1ul << 21; // 2MB in ReserveWithAlignmentPadding() local
539 constexpr size_t kGapAlignment = 0; in ReserveWithAlignmentPadding() local
554 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()