Home
last modified time | relevance | path

Searched refs:page_size_ (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator_secondary.h76 page_size_ = GetPageSizeCached(); in InitLinkerInitialized()
88 if (alignment > page_size_) in Allocate()
101 CHECK(IsAligned(map_beg, page_size_)); in Allocate()
103 uptr res = map_beg + page_size_; in Allocate()
108 CHECK(IsAligned(res, page_size_)); in Allocate()
169 return RoundUpTo(GetHeader(p)->size, page_size_); in GetActuallyAllocatedSize()
175 if (!IsAligned(reinterpret_cast<uptr>(p), page_size_)) { in GetMetaData()
177 CHECK(IsAligned(reinterpret_cast<uptr>(p), page_size_)); in GetMetaData()
297 CHECK(IsAligned(p, page_size_)); in GetHeader()
298 return reinterpret_cast<Header*>(p - page_size_); in GetHeader()
[all …]
/freebsd/sys/contrib/libsodium/src/libsodium/sodium/
H A Dutils.c341 long page_size_ = sysconf(_SC_PAGESIZE); in _sodium_alloc_init() local
342 if (page_size_ > 0L) { in _sodium_alloc_init()
343 page_size = (size_t) page_size_; in _sodium_alloc_init()