Searched refs:page_aligned_byte_count (Results 1 – 1 of 1) sorted by relevance
244 size_t page_aligned_byte_count = RoundUp(byte_count, kPageSize); in MapAnonymous() local258 (page_aligned_byte_count < rlimit_fsize.rlim_cur); in MapAnonymous()265 fd.reset(ashmem_create_region(debug_friendly_name.c_str(), page_aligned_byte_count)); in MapAnonymous()284 (reinterpret_cast<uintptr_t>(expected_ptr + page_aligned_byte_count) >> 32) != 0)) { in MapAnonymous()286 expected_ptr, expected_ptr + page_aligned_byte_count); in MapAnonymous()302 if (4U * GB - ptr < page_aligned_byte_count) { in MapAnonymous()319 for (tail_ptr = ptr; tail_ptr < ptr + page_aligned_byte_count; tail_ptr += kPageSize) { in MapAnonymous()331 actual = mmap(reinterpret_cast<void*>(ptr), page_aligned_byte_count, prot, flags, fd.get(), in MapAnonymous()336 if (reinterpret_cast<uintptr_t>(actual) + page_aligned_byte_count < 4 * GB) { in MapAnonymous()339 munmap(actual, page_aligned_byte_count); in MapAnonymous()[all …]