Home
last modified time | relevance | path

Searched refs:NBINS (Results 1 – 10 of 10) sorted by relevance

/external/jemalloc/src/
Dtcache.c43 if (binind < NBINS) { in tcache_event_hard()
97 assert(binind < NBINS); in tcache_bin_flush_small()
202 arena->stats.lstats[binind - NBINS].nrequests += in tcache_bin_flush_large()
238 arena->stats.lstats[binind - NBINS].nrequests += in tcache_bin_flush_large()
353 for (i = 0; i < NBINS; i++) { in tcache_destroy()
372 arena->stats.lstats[i - NBINS].nrequests += in tcache_destroy()
415 for (i = 0; i < NBINS; i++) { in tcache_stats_merge()
425 malloc_large_stats_t *lstats = &arena->stats.lstats[i - NBINS]; in tcache_stats_merge()
517 for (i = 0; i < NBINS; i++) { in tcache_boot()
Darena.c9 arena_bin_info_t arena_bin_info[NBINS];
691 index_t index = size2index(usize) - nlclasses - NBINS; in arena_huge_malloc_stats_update()
704 index_t index = size2index(usize) - nlclasses - NBINS; in arena_huge_malloc_stats_update_undo()
717 index_t index = size2index(usize) - nlclasses - NBINS; in arena_huge_dalloc_stats_update()
730 index_t index = size2index(usize) - nlclasses - NBINS; in arena_huge_dalloc_stats_update_undo()
1967 assert(binind < NBINS); in arena_malloc_small()
2046 index_t index = size2index(usize) - NBINS; in arena_malloc_large()
2128 index_t index = size2index(size) - NBINS; in arena_palloc_large()
2199 assert(binind < NBINS); in arena_prof_promoted()
2376 index_t index = size2index(usize) - NBINS; in arena_dalloc_large_locked_impl()
[all …]
Dctl.c538 memset(astats->bstats, 0, NBINS * sizeof(malloc_bin_stats_t)); in ctl_arena_clear()
555 for (i = 0; i < NBINS; i++) { in ctl_arena_stats_amerge()
594 for (i = 0; i < NBINS; i++) { in ctl_arena_stats_smerge()
1810 CTL_RO_NL_GEN(arenas_nbins, NBINS, unsigned) in CTL_RO_NL_GEN()
1819 if (i > NBINS) in CTL_RO_NL_GEN()
1825 CTL_RO_NL_GEN(arenas_lrun_i_size, index2size(NBINS+mib[2]), size_t) in CTL_RO_NL_GEN()
1836 CTL_RO_NL_GEN(arenas_hchunk_i_size, index2size(NBINS+nlclasses+mib[2]), size_t) in CTL_RO_NL_GEN()
2072 if (j > NBINS) in CTL_RO_NL_CGEN()
Djemalloc.c2582 for (unsigned j = 0; j < NBINS; j++) {
2602 return NBINS;
2618 for (unsigned j = 0; j < NBINS; j++) {
2636 if (aidx < narenas_auto && bidx < NBINS) {
/external/jemalloc/include/jemalloc/internal/
Dtcache.h60 ((TCACHE_GC_SWEEP / NBINS) + ((TCACHE_GC_SWEEP / NBINS == 0) ? 0 : 1))
287 assert(binind < NBINS); in tcache_alloc_small()
Dsize_classes.sh211 * NBINS: Number of small size class bins.
255 * cannot support more than 256 small size classes. Further constrain NBINS to
Dctl.h48 malloc_bin_stats_t bstats[NBINS];
Darena.h398 arena_bin_t bins[NBINS];
416 extern arena_bin_info_t arena_bin_info[NBINS];
688 assert(binind < NBINS || binind == BININD_INVALID); in arena_mapbits_binind_get()
902 assert(binind < NBINS); in arena_ptr_small_binind_get()
934 assert(binind < NBINS); in arena_bin_index()
Dsize_classes.h176 #define NBINS 39 macro
326 #define NBINS 36 macro
474 #define NBINS 35 macro
787 #define NBINS 39 macro
1097 #define NBINS 36 macro
1405 #define NBINS 35 macro
1423 #if (NBINS > 255)
/external/jemalloc/test/unit/
Dmallctl.c507 TEST_ARENAS_CONSTANT(unsigned, nbins, NBINS); in TEST_BEGIN()