Home
last modified time | relevance | path

Searched refs:binind (Results 1 – 9 of 9) sorted by relevance

/f-stack/app/redis-5.0.5/deps/jemalloc/include/jemalloc/internal/
H A Dtcache_inlines.h49 assert(binind < 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 >= 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()
175 bin = tcache_small_bin_get(tcache, binind); in tcache_dalloc_small()
176 bin_info = &tcache_bin_info[binind]; in tcache_dalloc_small()
202 bin_info = &tcache_bin_info[binind]; in tcache_dalloc_large()
[all …]
H A Djemalloc_internal_inlines_a.h110 tcache_small_bin_get(tcache_t *tcache, szind_t binind) { in tcache_small_bin_get() argument
111 assert(binind < NBINS); in tcache_small_bin_get()
112 return &tcache->bins_small[binind]; in tcache_small_bin_get()
116 tcache_large_bin_get(tcache_t *tcache, szind_t binind) { in tcache_large_bin_get() argument
117 assert(binind >= NBINS &&binind < nhbins); in tcache_large_bin_get()
118 return &tcache->bins_large[binind - NBINS]; in tcache_large_bin_get()
H A Dtcache_externs.h33 cache_bin_t *tbin, szind_t binind, bool *tcache_success);
35 szind_t binind, unsigned rem);
36 void tcache_bin_flush_large(tsd_t *tsd, cache_bin_t *tbin, szind_t binind,
H A Djemalloc_internal_inlines_c.h230 szind_t binind = extent_szind_get(slab); in iget_defrag_hint() local
231 bin_t *bin = &arena->bins[binind]; in iget_defrag_hint()
235 const bin_info_t *bin_info = &bin_infos[binind]; in iget_defrag_hint()
H A Darena_externs.h29 size_t arena_slab_regind(extent_t *slab, szind_t binind, const void *ptr);
48 cache_bin_t *tbin, szind_t binind, uint64_t prof_accumbytes);
/f-stack/app/redis-5.0.5/deps/jemalloc/test/unit/
H A Dslab.c4 szind_t binind; in TEST_BEGIN() local
6 for (binind = 0; binind < NBINS; binind++) { in TEST_BEGIN()
9 const bin_info_t *bin_info = &bin_infos[binind]; in TEST_BEGIN()
12 binind, 0, extent_state_active, false, true, true); in TEST_BEGIN()
18 assert_zu_eq(arena_slab_regind(&slab, binind, reg), in TEST_BEGIN()
H A Dpack.c53 unsigned binind = binind_compute(); in nregs_per_run_compute() local
59 mib[2] = (size_t)binind; in nregs_per_run_compute()
/f-stack/app/redis-5.0.5/deps/jemalloc/src/
H A Dtcache.c41 szind_t binind = tcache->next_gc_bin; in tcache_event_hard() local
44 if (binind < NBINS) { in tcache_event_hard()
53 if (binind < NBINS) { in tcache_event_hard()
64 tcache->lg_fill_div[binind]++; in tcache_event_hard()
75 if (binind < NBINS && tcache->lg_fill_div[binind] > 1) { in tcache_event_hard()
76 tcache->lg_fill_div[binind]--; in tcache_event_hard()
105 szind_t binind, unsigned rem) { in tcache_bin_flush_small() argument
108 assert(binind < NBINS); in tcache_bin_flush_small()
172 bin_t *bin = &arena->bins[binind]; in tcache_bin_flush_small()
193 assert(binind < nhbins); in tcache_bin_flush_large()
[all …]
H A Darena.c1126 binind, &zero, &commit); in arena_slab_alloc()
1153 szind_t binind) { in arena_bin_nonfull_slab_get() argument
1164 bin_info = &bin_infos[binind]; in arena_bin_nonfull_slab_get()
1196 szind_t binind) { in arena_bin_malloc_hard() argument
1200 bin_info = &bin_infos[binind]; in arena_bin_malloc_hard()
1260 bin = &arena->bins[binind]; in arena_tcache_fill_small()
1323 assert(binind < NBINS); in arena_malloc_small()
1324 bin = &arena->bins[binind]; in arena_malloc_small()
1325 usize = sz_index2size(binind); in arena_malloc_small()
1353 &bin_infos[binind], false); in arena_malloc_small()
[all …]