Home
last modified time | relevance | path

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

/external/jemalloc_new/test/unit/
Dbase.c31 size_t allocated0, allocated1, resident, mapped, n_thp; in TEST_BEGIN() local
38 &n_thp); in TEST_BEGIN()
42 assert_zu_gt(n_thp, 0, in TEST_BEGIN()
52 &n_thp); in TEST_BEGIN()
64 size_t allocated0, allocated1, resident, mapped, n_thp; in TEST_BEGIN() local
81 &n_thp); in TEST_BEGIN()
85 assert_zu_gt(n_thp, 0, in TEST_BEGIN()
95 &n_thp); in TEST_BEGIN()
/external/jemalloc_new/src/
Dbase.c164 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
[all …]
/external/jemalloc_new/include/jemalloc/internal/
Dbase_structs.h56 size_t n_thp; member
Dbase_externs.h16 size_t *resident, size_t *mapped, size_t *n_thp);