Searched refs:HUGEPAGE_CEILING (Results 1 – 3 of 3) sorted by relevance
38 assert(size == HUGEPAGE_CEILING(size)); in base_map()171 base->n_thp += HUGEPAGE_CEILING(block->size - in base_auto_thp_switch()223 base->n_thp += (HUGEPAGE_CEILING((uintptr_t)addr + size) in base_extent_bump_alloc_post()224 - HUGEPAGE_CEILING((uintptr_t)addr - gap_size)) >> in base_extent_bump_alloc_post()263 size_t min_block_size = HUGEPAGE_CEILING(sz_psz2u(header_size + gap_size in base_block_alloc()267 size_t next_block_size = HUGEPAGE_CEILING(sz_pind2sz(pind_next)); in base_block_alloc()334 base->n_thp += HUGEPAGE_CEILING(sizeof(base_block_t)) >> in base_extent_alloc()383 metadata_thp_madvise() ? HUGEPAGE_CEILING(sizeof(base_block_t)) in base_new()
335 assert(HUGEPAGE_CEILING(size) == size); in pages_huge_impl()358 assert(HUGEPAGE_CEILING(size) == size); in pages_nohuge_impl()
24 #define HUGEPAGE_CEILING(s) \ macro