Searched refs:align_down (Results 1 – 2 of 2) sorted by relevance
51 static constexpr uintptr_t align_down(uintptr_t p, size_t align) { in align_down() function60 static inline T* align_down(T* p, size_t align) { in align_down() function61 return reinterpret_cast<T*>(align_down(reinterpret_cast<uintptr_t>(p), align)); in align_down()
528 uint8_t* last = align_down(mmap_ptr + mmap_size, align) - size; in ReserveAligned()