Lines Matching refs:n_thp
164 assert(!config_stats || base->n_thp == 0); in base_auto_thp_switch()
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()
226 assert(base->mapped >= base->n_thp << LG_HUGEPAGE); in base_extent_bump_alloc_post()
333 assert(base->n_thp > 0); in base_extent_alloc()
334 base->n_thp += HUGEPAGE_CEILING(sizeof(base_block_t)) >> in base_extent_alloc()
339 assert(base->n_thp << LG_HUGEPAGE <= base->mapped); in base_extent_alloc()
382 base->n_thp = (opt_metadata_thp == metadata_thp_always) && in base_new()
387 assert(base->n_thp << LG_HUGEPAGE <= base->mapped); in base_new()
482 size_t *mapped, size_t *n_thp) { in base_stats_get() argument
491 *n_thp = base->n_thp; in base_stats_get()