Searched refs:binind (Results 1 – 6 of 6) sorted by relevance
| /freebsd-14.2/contrib/jemalloc/include/jemalloc/internal/ |
| H A D | tcache_inlines.h | 49 assert(binind < SC_NBINS); in tcache_alloc_small() 50 bin = tcache_small_bin_get(tcache, binind); in tcache_alloc_small() 61 bin, binind, &tcache_hard_success); in tcache_alloc_small() 73 usize = sz_index2size(binind); in tcache_alloc_small() 110 assert(binind >= SC_NBINS &&binind < nhbins); in tcache_alloc_large() 111 bin = tcache_large_bin_get(tcache, binind); in tcache_alloc_large() 134 usize = sz_index2size(binind); in tcache_alloc_large() 176 bin = tcache_small_bin_get(tcache, binind); in tcache_dalloc_small() 177 bin_info = &tcache_bin_info[binind]; in tcache_dalloc_small() 203 bin_info = &tcache_bin_info[binind]; in tcache_dalloc_large() [all …]
|
| H A D | jemalloc_internal_inlines_a.h | 112 tcache_small_bin_get(tcache_t *tcache, szind_t binind) { in tcache_small_bin_get() argument 113 assert(binind < SC_NBINS); in tcache_small_bin_get() 114 return &tcache->bins_small[binind]; in tcache_small_bin_get() 118 tcache_large_bin_get(tcache_t *tcache, szind_t binind) { in tcache_large_bin_get() argument 119 assert(binind >= SC_NBINS &&binind < nhbins); in tcache_large_bin_get() 120 return &tcache->bins_large[binind - SC_NBINS]; in tcache_large_bin_get()
|
| H A D | tcache_externs.h | 31 cache_bin_t *tbin, szind_t binind, bool *tcache_success); 33 szind_t binind, unsigned rem); 34 void tcache_bin_flush_large(tsd_t *tsd, cache_bin_t *tbin, szind_t binind,
|
| H A D | arena_externs.h | 33 size_t arena_slab_regind(extent_t *slab, szind_t binind, const void *ptr); 52 cache_bin_t *tbin, szind_t binind, uint64_t prof_accumbytes); 67 szind_t binind, extent_t *extent, void *ptr); 90 bin_t *arena_bin_choose_lock(tsdn_t *tsdn, arena_t *arena, szind_t binind,
|
| /freebsd-14.2/contrib/jemalloc/src/ |
| H A D | tcache.c | 42 szind_t binind = tcache->next_gc_bin; in tcache_event_hard() local 45 if (binind < SC_NBINS) { in tcache_event_hard() 46 tbin = tcache_small_bin_get(tcache, binind); in tcache_event_hard() 54 if (binind < SC_NBINS) { in tcache_event_hard() 65 tcache->lg_fill_div[binind]++; in tcache_event_hard() 76 if (binind < SC_NBINS && tcache->lg_fill_div[binind] > 1) { in tcache_event_hard() 77 tcache->lg_fill_div[binind]--; in tcache_event_hard() 118 size_t sz_sum = binind * nflush; in tbin_extents_lookup_size_check() 135 szind_t binind, unsigned rem) { in tcache_bin_flush_small() argument 138 assert(binind < SC_NBINS); in tcache_bin_flush_small() [all …]
|
| H A D | arena.c | 360 szind_t binind = extent_szind_get(slab); in arena_slab_reg_dalloc() local 1240 binind, &zero, &commit); in arena_slab_alloc() 1244 true, binind, &zero, &commit); in arena_slab_alloc() 1267 szind_t binind, unsigned binshard) { in arena_bin_nonfull_slab_get() argument 1278 bin_info = &bin_infos[binind]; in arena_bin_nonfull_slab_get() 1314 bin_info = &bin_infos[binind]; in arena_bin_malloc_hard() 1403 slab, &bin_infos[binind], cnt, in arena_tcache_fill_small() 1408 binind, binshard); in arena_tcache_fill_small() 1466 assert(binind < SC_NBINS); in arena_malloc_small() 1467 usize = sz_index2size(binind); in arena_malloc_small() [all …]
|