Searched refs:align_up (Results 1 – 4 of 4) sorted by relevance
38 static constexpr uintptr_t align_up(uintptr_t p, size_t align) { in align_up() function48 static inline T* align_up(T* p, size_t align) { in align_up() function49 return reinterpret_cast<T*>(align_up(reinterpret_cast<uintptr_t>(p), align)); in align_up()
72 align_up((kMaxTargetAddr >> (kShadowGranularity - 1)), PAGE_SIZE);
545 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()
119 reinterpret_cast<char*>(align_up(reinterpret_cast<uintptr_t>(scs_guard_region), SCS_SIZE)); in __init_shadow_call_stack()