Home
last modified time | relevance | path

Searched refs:__BIONIC_ALIGN (Results 1 – 14 of 14) 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.cpp73 size_t allocation_size = __BIONIC_ALIGN(sizeof(bionic_tls), PAGE_SIZE); in __allocate_temp_bionic_tls()
86 munmap(tls, __BIONIC_ALIGN(sizeof(bionic_tls), PAGE_SIZE)); in __free_temp_bionic_tls()
212 mmap_size = __BIONIC_ALIGN(mmap_size, PAGE_SIZE); in __allocate_thread_mapping()
258 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()
Dbionic_elf_tls.cpp116 const size_t exe_tpoff = __BIONIC_ALIGN(sizeof(void*) * 2, exe_segment->alignment); in reserve_exe_segment_and_tcb()
170 value = __BIONIC_ALIGN(value, alignment); in round_up_with_overflow_check()
Dfdsan.cpp83 size_t aligned_size = __BIONIC_ALIGN(required_size, PAGE_SIZE); in at()
Dgrp_pwd.cpp588 reinterpret_cast<char*>(__BIONIC_ALIGN(reinterpret_cast<uintptr_t>(buf), sizeof(uintptr_t))); in getpasswd_r()
748 __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()
/bionic/libc/system_properties/include/system_properties/
Dprop_area.h122 bytes_used_ += __BIONIC_ALIGN(PROP_VALUE_MAX, sizeof(uint_least32_t)); in prop_area()
/bionic/libc/malloc_hooks/
Dmalloc_hooks.cpp233 size_t size = __BIONIC_ALIGN(bytes, pagesize); in hooks_pvalloc()
/bionic/libc/include/sys/
Dcdefs.h63 #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()