Home
last modified time | relevance | path

Searched refs:bin_infos (Results 1 – 15 of 15) sorted by relevance

/external/jemalloc_new/include/jemalloc/internal/
Dtcache_inlines.h80 arena_alloc_junk_small(ret, &bin_infos[binind], in tcache_alloc_small()
88 arena_alloc_junk_small(ret, &bin_infos[binind], true); in tcache_alloc_small()
176 arena_dalloc_junk_small(ptr, &bin_infos[binind]); in tcache_dalloc_small()
Dbin.h51 extern const bin_info_t bin_infos[NBINS];
Dprivate_namespace_jet.h122 #define bin_infos JEMALLOC_N(bin_infos) macro
Dprivate_namespace.h121 #define bin_infos JEMALLOC_N(bin_infos) macro
/external/jemalloc_new/src/
Dandroid_je_mallinfo.c41 total_bytes += bin_infos[j].reg_size * bin->stats.curregs; in accumulate_small_allocs()
107 mi.ordblks = bin_infos[bidx].reg_size * bin->stats.curregs; in je_mallinfo_bin_info()
Darena.c251 (uintptr_t)bin_infos[binind].reg_size == 0); in arena_slab_regind()
258 assert(regind < bin_infos[binind].nregs); in arena_slab_regind()
266 const bin_info_t *bin_info = &bin_infos[binind]; in arena_slab_reg_dalloc()
1164 bin_info = &bin_infos[binind]; in arena_bin_nonfull_slab_get()
1200 bin_info = &bin_infos[binind]; in arena_bin_malloc_hard()
1268 ptr = arena_slab_reg_alloc(slab, &bin_infos[binind]); in arena_tcache_fill_small()
1285 arena_alloc_junk_small(ptr, &bin_infos[binind], true); in arena_tcache_fill_small()
1333 ret = arena_slab_reg_alloc(slab, &bin_infos[binind]); in arena_malloc_small()
1357 &bin_infos[binind], false); in arena_malloc_small()
1364 arena_alloc_junk_small(ret, &bin_infos[binind], in arena_malloc_small()
[all …]
Dbin.c7 const bin_info_t bin_infos[NBINS] = { variable
Dandroid_je_iterate.c49 const bin_info_t* bin_info = &bin_infos[binind]; in je_iterate()
Dtcache.c697 if ((bin_infos[i].nregs << 1) <= TCACHE_NSLOTS_SMALL_MIN) { in tcache_boot()
700 } else if ((bin_infos[i].nregs << 1) <= in tcache_boot()
703 (bin_infos[i].nregs << 1); in tcache_boot()
Dctl.c2430 CTL_RO_NL_GEN(arenas_bin_i_size, bin_infos[mib[2]].reg_size, size_t) in CTL_RO_NL_GEN()
2431 CTL_RO_NL_GEN(arenas_bin_i_nregs, bin_infos[mib[2]].nregs, uint32_t) in CTL_RO_NL_GEN()
2432 CTL_RO_NL_GEN(arenas_bin_i_slab_size, bin_infos[mib[2]].slab_size, size_t) in CTL_RO_NL_GEN()
/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_bfc_allocator_test.cc442 std::array<BFCAllocator::BinDebugInfo, BFCAllocator::kNumBins> bin_infos; in TestBinDebugInfo() local
445 bin_infos = a.get_bin_debug_info(); in TestBinDebugInfo()
449 const BFCAllocator::BinDebugInfo& bin_info = bin_infos[i]; in TestBinDebugInfo()
481 bin_infos = a.get_bin_debug_info(); in TestBinDebugInfo()
484 const BFCAllocator::BinDebugInfo& bin_info = bin_infos[i]; in TestBinDebugInfo()
/external/tensorflow/tensorflow/core/common_runtime/
Dbfc_allocator.cc626 const std::array<BinDebugInfo, kNumBins> bin_infos = get_bin_debug_info(); in DumpMemoryLog() local
629 const BinDebugInfo& bin_info = bin_infos[bin_num]; in DumpMemoryLog()
703 std::array<BinDebugInfo, kNumBins> bin_infos; in get_bin_debug_info() local
709 BinDebugInfo& bin_info = bin_infos[bin_num]; in get_bin_debug_info()
724 return bin_infos; in get_bin_debug_info()
/external/jemalloc_new/test/unit/
Dslab.c9 const bin_info_t *bin_info = &bin_infos[binind]; in TEST_BEGIN()
Dmallctl.c700 TEST_ARENAS_BIN_CONSTANT(size_t, size, bin_infos[0].reg_size); in TEST_BEGIN()
701 TEST_ARENAS_BIN_CONSTANT(uint32_t, nregs, bin_infos[0].nregs); in TEST_BEGIN()
703 bin_infos[0].slab_size); in TEST_BEGIN()
Dstats.c248 p = malloc(bin_infos[0].reg_size); in TEST_BEGIN()