Home
last modified time | relevance | path

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

/frameworks/libs/binary_translation/guest_os_primitives/
Dguest_thread.cc55 const size_t kGuestThreadPageAlignedSize = AlignUpPageSize(sizeof(GuestThread));
179 MunmapOrDie(thread->static_tls_, AlignUpPageSize(g_static_tls_config.size)); in Destroy()
227 guard_size_ = AlignUpPageSize(guard_size); in AllocStack()
228 mmap_size_ = guard_size_ + AlignUpPageSize(stack_size); in AllocStack()
283 static_tls_ = Mmap(AlignUpPageSize(g_static_tls_config.size)); in AllocStaticTls()
/frameworks/libs/binary_translation/base/include/berberis/base/
Dmmap.h36 constexpr T AlignUpPageSize(T x) { in AlignUpPageSize() function
81 size_ = AlignUpPageSize(size); in Init()
Darena_alloc.h57 return new (MmapOrDie(size)) ArenaBlock{AlignUpPageSize(size), blocks}; in AllocArenaBlock()
/frameworks/libs/binary_translation/guest_state/
Dguest_state.cc56 const size_t kThreadStatePageAlignedSize = AlignUpPageSize(sizeof(ThreadState));
57 const size_t kThreadStateStoragePageAlignedSize = AlignUpPageSize(
/frameworks/libs/binary_translation/runtime_primitives/include/berberis/runtime_primitives/
Dhost_stack.h31 return AlignUpPageSize(16u * 1024u); in GetStackSizeForTranslation()
/frameworks/libs/binary_translation/base/
Dexec_region_anonymous.cc27 size = AlignUpPageSize(size); in Create()
Dlarge_mmap.cc74 size_t size = AlignUpPageSize(args.size); in LargeMmapImplOrDie()
Dexec_region_elf_backed.cc41 size = AlignUpPageSize(size); in Create()
Darena_test.cc41 return AlignUpPageSize(AlignUp(sizeof(arena_internal::ArenaBlock), align) + requested_size); in BigMapSize()
/frameworks/libs/binary_translation/kernel_api/
Dsys_mman_emulation.cc53 int res = SetVmaAnonName(addr, AlignUpPageSize(length), "[guest exec mapping hint]"); in UpdateGuestProt()
/frameworks/libs/binary_translation/intrinsics/riscv64_to_x86_64/
Dmacro_assembler.cc320 AlignUpPageSize(sizeof(MacroAssemblerConstants)), in GetConstants()