Searched refs:bin_infos (Results 1 – 15 of 15) sorted by relevance
/external/jemalloc_new/include/jemalloc/internal/ |
D | tcache_inlines.h | 80 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()
|
D | bin.h | 51 extern const bin_info_t bin_infos[NBINS];
|
D | private_namespace_jet.h | 122 #define bin_infos JEMALLOC_N(bin_infos) macro
|
D | private_namespace.h | 121 #define bin_infos JEMALLOC_N(bin_infos) macro
|
/external/jemalloc_new/src/ |
D | android_je_mallinfo.c | 41 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()
|
D | arena.c | 251 (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 …]
|
D | bin.c | 7 const bin_info_t bin_infos[NBINS] = { variable
|
D | android_je_iterate.c | 49 const bin_info_t* bin_info = &bin_infos[binind]; in je_malloc_iterate()
|
D | tcache.c | 697 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()
|
D | ctl.c | 2430 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/jemalloc_new/test/unit/ |
D | slab.c | 9 const bin_info_t *bin_info = &bin_infos[binind]; in TEST_BEGIN()
|
D | mallctl.c | 700 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()
|
D | stats.c | 248 p = malloc(bin_infos[0].reg_size); in TEST_BEGIN()
|
/external/tensorflow/tensorflow/core/common_runtime/gpu/ |
D | gpu_bfc_allocator_test.cc | 456 std::array<BFCAllocator::BinDebugInfo, BFCAllocator::kNumBins> bin_infos; in TestBinDebugInfo() local 459 bin_infos = a.get_bin_debug_info(); in TestBinDebugInfo() 466 const BFCAllocator::BinDebugInfo& bin_info = bin_infos[i]; in TestBinDebugInfo() 511 bin_infos = a.get_bin_debug_info(); in TestBinDebugInfo() 514 const BFCAllocator::BinDebugInfo& bin_info = bin_infos[i]; in TestBinDebugInfo()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | bfc_allocator.cc | 987 const std::array<BinDebugInfo, kNumBins> bin_infos = get_bin_debug_info(); in DumpMemoryLog() local 991 const BinDebugInfo& bin_info = bin_infos[bin_num]; in DumpMemoryLog() 1103 const std::array<BinDebugInfo, kNumBins> bin_infos = get_bin_debug_info(); in RecordMemoryMapInternal() local 1106 const BinDebugInfo& bin_info = bin_infos[bin_num]; in RecordMemoryMapInternal() 1166 std::array<BinDebugInfo, kNumBins> bin_infos; in get_bin_debug_info() local 1172 BinDebugInfo& bin_info = bin_infos[bin_num]; in get_bin_debug_info() 1187 return bin_infos; in get_bin_debug_info()
|