Home
last modified time | relevance | path

Searched refs:binind (Results 1 – 7 of 7) 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,
183 szind_t binind, bool slow_path);
295 szind_t binind, bool zero, bool slow_path) in tcache_alloc_small() argument
302 assert(binind < NBINS); in tcache_alloc_small()
303 tbin = &tcache->tbins[binind]; in tcache_alloc_small()
312 ret = tcache_alloc_small_hard(tsd, arena, tcache, tbin, binind, in tcache_alloc_small()
324 usize = index2size(binind); in tcache_alloc_small()
332 &arena_bin_info[binind], false); in tcache_alloc_small()
[all …]
Darena.h60 szind_t binind; member
531 szind_t binind, uint64_t prof_accumbytes);
634 szind_t binind);
636 size_t runind, szind_t binind, size_t flags);
803 szind_t binind; in arena_mapbits_binind_get() local
806 binind = (mapbits & CHUNK_MAP_BININD_MASK) >> CHUNK_MAP_BININD_SHIFT; in arena_mapbits_binind_get()
807 assert(binind < NBINS || binind == BININD_INVALID); in arena_mapbits_binind_get()
808 return (binind); in arena_mapbits_binind_get()
939 szind_t binind) in arena_mapbits_large_binind_set() argument
944 assert(binind <= BININD_INVALID); in arena_mapbits_large_binind_set()
[all …]
Djemalloc_internal.h1029 szind_t binind = size2index(usize); in u2rz() local
1030 ret = arena_bin_info[binind].redzone_size; in u2rz()
Djemalloc_internal.h.in1029 szind_t binind = size2index(usize); local
1030 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.c35 szind_t binind = tcache->next_gc_bin; in tcache_event_hard() local
36 tcache_bin_t *tbin = &tcache->tbins[binind]; in tcache_event_hard()
37 tcache_bin_info_t *tbin_info = &tcache_bin_info[binind]; in tcache_event_hard()
43 if (binind < NBINS) { in tcache_event_hard()
44 tcache_bin_flush_small(tsd, tcache, tbin, binind, in tcache_event_hard()
48 tcache_bin_flush_large(tsd, tbin, binind, tbin->ncached in tcache_event_hard()
74 tcache_bin_t *tbin, szind_t binind, bool *tcache_success) in tcache_alloc_small_hard() argument
78 arena_tcache_fill_small(tsd, arena, tbin, binind, config_prof ? in tcache_alloc_small_hard()
89 szind_t binind, unsigned rem) in tcache_bin_flush_small() argument
96 assert(binind < NBINS); in tcache_bin_flush_small()
[all …]
Darena.c326 szind_t binind = arena_ptr_small_binind_get(ptr, mapbits); in arena_run_reg_dalloc() local
327 arena_bin_info_t *bin_info = &arena_bin_info[binind]; in arena_run_reg_dalloc()
533 szind_t binind) in arena_run_split_small() argument
539 assert(binind != BININD_INVALID); in arena_run_split_small()
559 arena_mapbits_small_set(chunk, run_ind+i, i, binind, in arena_run_split_small()
1136 arena_run_alloc_small_helper(arena_t *arena, size_t size, szind_t binind) in arena_run_alloc_small_helper() argument
1140 if (arena_run_split_small(arena, run, size, binind)) in arena_run_alloc_small_helper()
1147 arena_run_alloc_small(arena_t *arena, size_t size, szind_t binind) in arena_run_alloc_small() argument
1154 assert(binind != BININD_INVALID); in arena_run_alloc_small()
1157 run = arena_run_alloc_small_helper(arena, size, binind); in arena_run_alloc_small()
[all …]