Home
last modified time | relevance | path

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

/external/jemalloc/include/jemalloc/internal/
Dtcache.h148 tcache_bin_t *tbin, szind_t binind, bool *tcache_success);
150 szind_t binind, unsigned rem);
151 void tcache_bin_flush_large(tsd_t *tsd, tcache_bin_t *tbin, szind_t binind,
184 szind_t binind, bool slow_path);
296 szind_t binind, bool zero, bool slow_path) in tcache_alloc_small() argument
303 assert(binind < NBINS); in tcache_alloc_small()
304 tbin = &tcache->tbins[binind]; in tcache_alloc_small()
314 tbin, binind, &tcache_hard_success); in tcache_alloc_small()
325 usize = index2size(binind); in tcache_alloc_small()
333 &arena_bin_info[binind], false); in tcache_alloc_small()
[all …]
Darena.h66 szind_t binind; member
562 tcache_bin_t *tbin, szind_t binind, uint64_t prof_accumbytes);
680 szind_t binind);
682 size_t runind, szind_t binind, size_t flags);
872 szind_t binind; in arena_mapbits_binind_get() local
875 binind = (mapbits & CHUNK_MAP_BININD_MASK) >> CHUNK_MAP_BININD_SHIFT; in arena_mapbits_binind_get()
876 assert(binind < NBINS || binind == BININD_INVALID); in arena_mapbits_binind_get()
877 return (binind); in arena_mapbits_binind_get()
1008 szind_t binind) in arena_mapbits_large_binind_set() argument
1013 assert(binind <= BININD_INVALID); in arena_mapbits_large_binind_set()
[all …]
Djemalloc_internal.h1135 szind_t binind = size2index(usize); in u2rz() local
1136 ret = arena_bin_info[binind].redzone_size; in u2rz()
Djemalloc_internal.h.in1135 szind_t binind = size2index(usize); local
1136 ret = arena_bin_info[binind].redzone_size;
/external/jemalloc/src/
Dandroid_je_iterate.c108 szind_t binind; in je_iterate_chunk() local
112 binind = arena_mapbits_binind_get(chunk, pageind); in je_iterate_chunk()
114 assert(run->binind == binind); in je_iterate_chunk()
115 size = arena_bin_info[binind].run_size; in je_iterate_chunk()
130 szind_t binind; in je_iterate_small() local
136 binind = run->binind; in je_iterate_small()
137 bin_info = &arena_bin_info[binind]; in je_iterate_small()
Dtcache.c39 szind_t binind = tcache->next_gc_bin; in tcache_event_hard() local
40 tcache_bin_t *tbin = &tcache->tbins[binind]; in tcache_event_hard()
41 tcache_bin_info_t *tbin_info = &tcache_bin_info[binind]; in tcache_event_hard()
47 if (binind < NBINS) { in tcache_event_hard()
48 tcache_bin_flush_small(tsd, tcache, tbin, binind, in tcache_event_hard()
52 tcache_bin_flush_large(tsd, tbin, binind, tbin->ncached in tcache_event_hard()
78 tcache_bin_t *tbin, szind_t binind, bool *tcache_success) in tcache_alloc_small_hard() argument
82 arena_tcache_fill_small(tsdn, arena, tbin, binind, config_prof ? in tcache_alloc_small_hard()
93 szind_t binind, unsigned rem) in tcache_bin_flush_small() argument
100 assert(binind < NBINS); in tcache_bin_flush_small()
[all …]
Darena.c305 szind_t binind = arena_ptr_small_binind_get(ptr, mapbits); in arena_run_reg_dalloc() local
306 arena_bin_info_t *bin_info = &arena_bin_info[binind]; in arena_run_reg_dalloc()
512 szind_t binind) in arena_run_split_small() argument
518 assert(binind != BININD_INVALID); in arena_run_split_small()
538 arena_mapbits_small_set(chunk, run_ind+i, i, binind, in arena_run_split_small()
1166 arena_run_alloc_small_helper(arena_t *arena, size_t size, szind_t binind) in arena_run_alloc_small_helper() argument
1170 if (arena_run_split_small(arena, run, size, binind)) in arena_run_alloc_small_helper()
1177 arena_run_alloc_small(tsdn_t *tsdn, arena_t *arena, size_t size, szind_t binind) in arena_run_alloc_small() argument
1184 assert(binind != BININD_INVALID); in arena_run_alloc_small()
1187 run = arena_run_alloc_small_helper(arena, size, binind); in arena_run_alloc_small()
[all …]
/external/jemalloc/test/unit/
Dpack.c62 unsigned binind = binind_compute(); in nregs_per_run_compute() local
68 mib[2] = (size_t)binind; in nregs_per_run_compute()
79 unsigned binind = binind_compute(); in npages_per_run_compute() local
86 mib[2] = (size_t)binind; in npages_per_run_compute()