Home
last modified time | relevance | path

Searched refs:align_up (Results 1 – 4 of 4) sorted by relevance

/bionic/libc/platform/bionic/
Dmacros.h38 static constexpr uintptr_t align_up(uintptr_t p, size_t align) { in align_up() function
48 static inline T* align_up(T* p, size_t align) { in align_up() function
49 return reinterpret_cast<T*>(align_up(reinterpret_cast<uintptr_t>(p), align)); in align_up()
/bionic/libc/private/
DCFIShadow.h72 align_up((kMaxTargetAddr >> (kShadowGranularity - 1)), PAGE_SIZE);
/bionic/linker/
Dlinker_phdr.cpp545 size_t mmap_size = align_up(size, align) + align - PAGE_SIZE; in ReserveWithAlignmentPadding()
552 size_t first_byte = reinterpret_cast<size_t>(align_up(mmap_ptr, align)); in ReserveWithAlignmentPadding()
562 mmap_size = align_up(size + gap_size, align) + align - PAGE_SIZE; in ReserveWithAlignmentPadding()
577 uint8_t* first = align_up(mmap_ptr, align); in ReserveWithAlignmentPadding()
/bionic/libc/bionic/
Dpthread_create.cpp119 reinterpret_cast<char*>(align_up(reinterpret_cast<uintptr_t>(scs_guard_region), SCS_SIZE)); in __init_shadow_call_stack()