Lines Matching refs:page_aligned_byte_count
259 size_t page_aligned_byte_count, in TryMemMapLow4GB() argument
264 void* actual = TargetMMap(ptr, page_aligned_byte_count, prot, flags, fd, offset); in TryMemMapLow4GB()
268 if (reinterpret_cast<uintptr_t>(actual) + page_aligned_byte_count >= 4 * GB) { in TryMemMapLow4GB()
269 TargetMUnmap(actual, page_aligned_byte_count); in TryMemMapLow4GB()
320 size_t page_aligned_byte_count = RoundUp(byte_count, kPageSize); in MapAnonymous() local
345 page_aligned_byte_count, in MapAnonymous()
362 page_aligned_byte_count, in MapAnonymous()
370 if (!CheckMapRequest(addr, actual, page_aligned_byte_count, error_msg)) { in MapAnonymous()
375 SetDebugName(actual, name, page_aligned_byte_count); in MapAnonymous()
387 page_aligned_byte_count, in MapAnonymous()
396 const size_t page_aligned_byte_count = RoundUp(byte_count, kPageSize); in MapDummy() local
397 return MemMap(name, addr, byte_count, addr, page_aligned_byte_count, 0, /* reuse= */ true); in MapDummy()
526 size_t page_aligned_byte_count = RoundUp(byte_count + page_offset, kPageSize); in MapFileAtAddress() local
535 page_aligned_byte_count += redzone_size; in MapFileAtAddress()
539 page_aligned_byte_count, in MapFileAtAddress()
555 page_aligned_expected, page_aligned_byte_count, prot, flags, fd, in MapFileAtAddress()
561 if (!CheckMapRequest(expected_ptr, actual, page_aligned_byte_count, error_msg)) { in MapFileAtAddress()
567 const uint8_t *mapping_end = actual + page_aligned_byte_count; in MapFileAtAddress()
571 page_aligned_byte_count -= redzone_size; in MapFileAtAddress()
583 page_aligned_byte_count, in MapFileAtAddress()