Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dmremap.cpp41 size_t rounded = __BIONIC_ALIGN(new_size, PAGE_SIZE); in mremap()
Dmmap.cpp51 size_t rounded = __BIONIC_ALIGN(size, PAGE_SIZE); in mmap64()
Dpthread_create.cpp90 size_t allocation_size = __BIONIC_ALIGN(sizeof(bionic_tls), PAGE_SIZE); in __allocate_temp_bionic_tls()
103 munmap(tls, __BIONIC_ALIGN(sizeof(bionic_tls), PAGE_SIZE)); in __free_temp_bionic_tls()
229 mmap_size = __BIONIC_ALIGN(mmap_size, PAGE_SIZE); in __allocate_thread_mapping()
273 attr->guard_size = __BIONIC_ALIGN(attr->guard_size, PAGE_SIZE); in __allocate_thread()
Dbionic_allocator.cpp84 static constexpr size_t kPageInfoSize = __BIONIC_ALIGN(sizeof(page_info), 16);
214 __BIONIC_ALIGN(reinterpret_cast<uintptr_t>(page + 1), block_size_); in alloc_page()
269 size_t header_size = __BIONIC_ALIGN(kPageInfoSize, align); in alloc_mmap()
Djemalloc_wrapper.cpp28 size_t size = __BIONIC_ALIGN(bytes, pagesize); in je_pvalloc()
Dbionic_elf_tls.cpp115 const size_t exe_tpoff = __BIONIC_ALIGN(sizeof(void*) * 2, exe_segment->alignment); in reserve_exe_segment_and_tcb()
169 value = __BIONIC_ALIGN(value, alignment); in round_up_with_overflow_check()
Dfdsan.cpp81 size_t aligned_size = __BIONIC_ALIGN(required_size, PAGE_SIZE); in at()
Dgrp_pwd.cpp690 __BIONIC_ALIGN(reinterpret_cast<uintptr_t>(buf), sizeof(uintptr_t))); in getgroup_r()
/bionic/libc/include/android/
Dlegacy_sys_mman_inlines.h58 size_t __rounded = __BIONIC_ALIGN(__size, PAGE_SIZE); in mmap64()
/bionic/libc/malloc_debug/
DDebugData.cpp46 pointer_offset_ = __BIONIC_ALIGN(sizeof(Header), MINIMUM_ALIGNMENT_BYTES); in Initialize()
DConfig.cpp207 front_guard_bytes_ = __BIONIC_ALIGN(rear_guard_bytes_, MINIMUM_ALIGNMENT_BYTES); in SetGuard()
217 front_guard_bytes_ = __BIONIC_ALIGN(front_guard_bytes_, MINIMUM_ALIGNMENT_BYTES); in SetFrontGuard()
Dmalloc_debug.cpp882 size_t size = __BIONIC_ALIGN(bytes, pagesize); in debug_pvalloc()
/bionic/libc/malloc_hooks/
Dmalloc_hooks.cpp233 size_t size = __BIONIC_ALIGN(bytes, pagesize); in hooks_pvalloc()
/bionic/libc/include/sys/
Dcdefs.h59 #define __BIONIC_ALIGN(__value, __alignment) (((__value) + (__alignment)-1) & ~((__alignment)-1)) macro
/bionic/libc/system_properties/
Dprop_area.cpp147 const size_t aligned = __BIONIC_ALIGN(size, sizeof(uint_least32_t)); in allocate_obj()
/bionic/libc/malloc_debug/tests/
Dmalloc_debug_unit_tests.cpp82 return __BIONIC_ALIGN(sizeof(Header), MINIMUM_ALIGNMENT_BYTES); in get_tag_offset()