Searched refs:HUGEPAGE_CEILING (Results 1 – 3 of 3) sorted by relevance
46 assert(size == HUGEPAGE_CEILING(size)); in base_map()166 base->n_thp += HUGEPAGE_CEILING(block->size - in base_auto_thp_switch()218 base->n_thp += (HUGEPAGE_CEILING((uintptr_t)addr + size) in base_extent_bump_alloc_post()219 - HUGEPAGE_CEILING((uintptr_t)addr - gap_size)) >> in base_extent_bump_alloc_post()258 size_t min_block_size = HUGEPAGE_CEILING(sz_psz2u(header_size + gap_size in base_block_alloc()262 size_t next_block_size = HUGEPAGE_CEILING(sz_pind2sz(pind_next)); in base_block_alloc()329 base->n_thp += HUGEPAGE_CEILING(sizeof(base_block_t)) >> in base_extent_alloc()392 metadata_thp_madvise() ? HUGEPAGE_CEILING(sizeof(base_block_t)) in base_new()
495 assert(HUGEPAGE_CEILING(size) == size); in pages_huge_impl()523 assert(HUGEPAGE_CEILING(size) == size); in pages_nohuge_impl()
41 #define HUGEPAGE_CEILING(s) \ macro