Home
last modified time | relevance | path

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

/NextBSD/contrib/jemalloc/src/
HDtcache.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()
HDarena.c9 arena_bin_info_t arena_bin_info[NBINS];
783 szind_t index = size2index(usize) - nlclasses - NBINS; in arena_huge_malloc_stats_update()
796 szind_t index = size2index(usize) - nlclasses - NBINS; in arena_huge_malloc_stats_update_undo()
809 szind_t index = size2index(usize) - nlclasses - NBINS; in arena_huge_dalloc_stats_update()
822 szind_t index = size2index(usize) - nlclasses - NBINS; in arena_huge_dalloc_stats_update_undo()
2156 assert(binind < NBINS); in arena_malloc_small()
2237 szind_t index = size2index(usize) - NBINS; in arena_malloc_large()
2330 szind_t index = size2index(usize) - NBINS; in arena_palloc_large()
2401 assert(binind < NBINS); in arena_prof_promoted()
2578 szind_t index = size2index(usize) - NBINS; in arena_dalloc_large_locked_impl()
[all …]
HDctl.c532 memset(astats->bstats, 0, NBINS * sizeof(malloc_bin_stats_t)); in ctl_arena_clear()
549 for (i = 0; i < NBINS; i++) { in ctl_arena_stats_amerge()
588 for (i = 0; i < NBINS; i++) { in ctl_arena_stats_smerge()
1804 CTL_RO_NL_GEN(arenas_nbins, NBINS, unsigned) in CTL_RO_NL_GEN()
1813 if (i > NBINS) in CTL_RO_NL_GEN()
1819 CTL_RO_NL_GEN(arenas_lrun_i_size, index2size(NBINS+mib[2]), size_t) in CTL_RO_NL_GEN()
1830 CTL_RO_NL_GEN(arenas_hchunk_i_size, index2size(NBINS+nlclasses+mib[2]), size_t) in CTL_RO_NL_GEN()
2066 if (j > NBINS) in CTL_RO_NL_CGEN()
/NextBSD/contrib/jemalloc/include/jemalloc/internal/
HDtcache.h48 ((TCACHE_GC_SWEEP / NBINS) + ((TCACHE_GC_SWEEP / NBINS == 0) ? 0 : 1))
275 assert(binind < NBINS); in tcache_alloc_small()
HDctl.h48 malloc_bin_stats_t bstats[NBINS];
HDsize_classes.h178 #define NBINS 39 macro
332 #define NBINS 43 macro
486 #define NBINS 47 macro
640 #define NBINS 55 macro
791 #define NBINS 36 macro
942 #define NBINS 40 macro
1093 #define NBINS 44 macro
1244 #define NBINS 52 macro
1393 #define NBINS 35 macro
1542 #define NBINS 39 macro
[all …]
HDarena.h404 arena_bin_t bins[NBINS];
422 extern arena_bin_info_t arena_bin_info[NBINS];
715 assert(binind < NBINS || binind == BININD_INVALID); in arena_mapbits_binind_get()
959 assert(binind < NBINS); in arena_ptr_small_binind_get()
991 assert(binind < NBINS); in arena_bin_index()
/NextBSD/sys/contrib/octeon-sdk/cvmx-malloc/
HDmalloc.c1969 #define NBINS 128 macro
2064 #define BINMAPSIZE (NBINS / BITSPERMAP)
2188 mchunkptr bins[NBINS * 2];
2254 for (i = 1; i < NBINS; ++i) {
2562 for (i = 1; i < NBINS; ++i) { in do_check_malloc_state()
3919 for (i = 1; i < NBINS; ++i) { in mALLINFo()