Home
last modified time | relevance | path

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

/src/contrib/jemalloc/src/
H A Dbase.c159 assert(!config_stats || base->n_thp == 0); in base_auto_thp_switch()
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()
221 assert(base->mapped >= base->n_thp << LG_HUGEPAGE); in base_extent_bump_alloc_post()
328 assert(base->n_thp > 0); in base_extent_alloc()
329 base->n_thp += HUGEPAGE_CEILING(sizeof(base_block_t)) >> in base_extent_alloc()
334 assert(base->n_thp << LG_HUGEPAGE <= base->mapped); in base_extent_alloc()
391 base->n_thp = (opt_metadata_thp == metadata_thp_always) && in base_new()
396 assert(base->n_thp << LG_HUGEPAGE <= base->mapped); in base_new()
496 size_t *mapped, size_t *n_thp) { in base_stats_get() argument
[all …]
/src/contrib/jemalloc/include/jemalloc/internal/
H A Dbase.h80 size_t n_thp; member
104 size_t *resident, size_t *mapped, size_t *n_thp);