Home
last modified time | relevance | path

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

/src/contrib/jemalloc/include/jemalloc/internal/
H A Dpages.h22 #define HUGEPAGE_MASK ((size_t)(HUGEPAGE - 1)) macro
39 ((void *)((uintptr_t)(a) & ~HUGEPAGE_MASK))
42 (((s) + HUGEPAGE_MASK) & ~HUGEPAGE_MASK)
/src/contrib/jemalloc/src/
H A Dbase.c107 assert(((uintptr_t)addr & HUGEPAGE_MASK) == 0 && in base_unmap()
108 (size & HUGEPAGE_MASK) == 0); in base_unmap()
163 assert((block->size & HUGEPAGE_MASK) == 0); in base_auto_thp_switch()
273 assert(((uintptr_t)addr & HUGEPAGE_MASK) == 0 && in base_block_alloc()
274 (block_size & HUGEPAGE_MASK) == 0); in base_block_alloc()