Home
last modified time | relevance | path

Searched defs:arena (Results 1 – 25 of 116) sorted by relevance

12345

/external/jemalloc_new/src/
Darena.c64 arena_basic_stats_merge(UNUSED tsdn_t *tsdn, arena_t *arena, unsigned *nthreads, in arena_basic_stats_merge()
77 arena_stats_merge(tsdn_t *tsdn, arena_t *arena, unsigned *nthreads, in arena_stats_merge()
209 arena_extents_dirty_dalloc(tsdn_t *tsdn, arena_t *arena, in arena_extents_dirty_dalloc()
278 arena_nactive_add(arena_t *arena, size_t add_pages) { in arena_nactive_add()
283 arena_nactive_sub(arena_t *arena, size_t sub_pages) { in arena_nactive_sub()
289 arena_large_malloc_stats_update(tsdn_t *tsdn, arena_t *arena, size_t usize) { in arena_large_malloc_stats_update()
305 arena_large_dalloc_stats_update(tsdn_t *tsdn, arena_t *arena, size_t usize) { in arena_large_dalloc_stats_update()
321 arena_large_ralloc_stats_update(tsdn_t *tsdn, arena_t *arena, size_t oldusize, in arena_large_ralloc_stats_update()
328 arena_extent_alloc_large(tsdn_t *tsdn, arena_t *arena, size_t usize, in arena_extent_alloc_large()
380 arena_extent_dalloc_large_prep(tsdn_t *tsdn, arena_t *arena, extent_t *extent) { in arena_extent_dalloc_large_prep()
[all …]
Dandroid_je_mallinfo.c17 static size_t accumulate_large_allocs(arena_t* arena) { in accumulate_large_allocs()
34 static size_t accumulate_small_allocs(arena_t* arena) { in accumulate_small_allocs()
57 arena_t* arena = atomic_load_p(&arenas[i], ATOMIC_ACQUIRE); in je_mallinfo() local
85 arena_t* arena = atomic_load_p(&arenas[aidx], ATOMIC_ACQUIRE); in je_mallinfo_arena_info() local
102 arena_t* arena = atomic_load_p(&arenas[aidx], ATOMIC_ACQUIRE); in je_mallinfo_bin_info() local
Dlarge.c14 large_malloc(tsdn_t *tsdn, arena_t *arena, size_t usize, bool zero) { in large_malloc()
21 large_palloc(tsdn_t *tsdn, arena_t *arena, size_t usize, size_t alignment, in large_palloc()
105 arena_t *arena = extent_arena_get(extent); in large_ralloc_no_move_shrink() local
141 arena_t *arena = extent_arena_get(extent); in large_ralloc_no_move_expand() local
272 large_ralloc_move_helper(tsdn_t *tsdn, arena_t *arena, size_t usize, in large_ralloc_move_helper()
281 large_ralloc(tsdn_t *tsdn, arena_t *arena, extent_t *extent, size_t usize, in large_ralloc()
317 large_dalloc_prep_impl(tsdn_t *tsdn, arena_t *arena, extent_t *extent, in large_dalloc_prep_impl()
338 large_dalloc_finish_impl(tsdn_t *tsdn, arena_t *arena, extent_t *extent) { in large_dalloc_finish_impl()
355 arena_t *arena = extent_arena_get(extent); in large_dalloc() local
Dextent.c177 extent_alloc(tsdn_t *tsdn, arena_t *arena) { in extent_alloc()
190 extent_dalloc(tsdn_t *tsdn, arena_t *arena, extent_t *extent) { in extent_dalloc()
197 extent_hooks_get(arena_t *arena) { in extent_hooks_get()
202 extent_hooks_set(tsd_t *tsd, arena_t *arena, extent_hooks_t *extent_hooks) { in extent_hooks_set()
217 extent_hooks_assure_initialized(arena_t *arena, in extent_hooks_assure_initialized()
433 extents_first_fit_locked(tsdn_t *tsdn, arena_t *arena, extents_t *extents, in extents_first_fit_locked()
464 extents_fit_locked(tsdn_t *tsdn, arena_t *arena, extents_t *extents, in extents_fit_locked()
501 extent_try_delayed_coalesce(tsdn_t *tsdn, arena_t *arena, in extent_try_delayed_coalesce()
518 extents_alloc(tsdn_t *tsdn, arena_t *arena, extent_hooks_t **r_extent_hooks, in extents_alloc()
533 extents_dalloc(tsdn_t *tsdn, arena_t *arena, extent_hooks_t **r_extent_hooks, in extents_dalloc()
[all …]
/external/jemalloc/src/
Darena.c186 arena_avail_insert(arena_t *arena, arena_chunk_t *chunk, size_t pageind, in arena_avail_insert()
200 arena_avail_remove(arena_t *arena, arena_chunk_t *chunk, size_t pageind, in arena_avail_remove()
214 arena_run_dirty_insert(arena_t *arena, arena_chunk_t *chunk, size_t pageind, in arena_run_dirty_insert()
232 arena_run_dirty_remove(arena_t *arena, arena_chunk_t *chunk, size_t pageind, in arena_run_dirty_remove()
257 arena_chunk_cache_maybe_insert(arena_t *arena, extent_node_t *node, bool cache) in arena_chunk_cache_maybe_insert()
269 arena_chunk_cache_maybe_remove(arena_t *arena, extent_node_t *node, bool dirty) in arena_chunk_cache_maybe_remove()
355 arena_nactive_add(arena_t *arena, size_t add_pages) in arena_nactive_add()
369 arena_nactive_sub(arena_t *arena, size_t sub_pages) in arena_nactive_sub()
382 arena_run_split_remove(arena_t *arena, arena_chunk_t *chunk, size_t run_ind, in arena_run_split_remove()
424 arena_run_split_large_helper(arena_t *arena, arena_run_t *run, size_t size, in arena_run_split_large_helper()
[all …]
Dchunk.c60 chunk_hooks_get_locked(arena_t *arena) in chunk_hooks_get_locked()
67 chunk_hooks_get(tsdn_t *tsdn, arena_t *arena) in chunk_hooks_get()
79 chunk_hooks_set(tsdn_t *tsdn, arena_t *arena, const chunk_hooks_t *chunk_hooks) in chunk_hooks_set()
114 chunk_hooks_assure_initialized_impl(tsdn_t *tsdn, arena_t *arena, in chunk_hooks_assure_initialized_impl()
128 chunk_hooks_assure_initialized_locked(tsdn_t *tsdn, arena_t *arena, in chunk_hooks_assure_initialized_locked()
136 chunk_hooks_assure_initialized(tsdn_t *tsdn, arena_t *arena, in chunk_hooks_assure_initialized()
190 chunk_first_best_fit(arena_t *arena, extent_tree_t *chunks_szsnad, size_t size) in chunk_first_best_fit()
201 chunk_recycle(tsdn_t *tsdn, arena_t *arena, chunk_hooks_t *chunk_hooks, in chunk_recycle()
337 chunk_alloc_core(tsdn_t *tsdn, arena_t *arena, void *new_addr, size_t size, in chunk_alloc_core()
389 chunk_alloc_cache(tsdn_t *tsdn, arena_t *arena, chunk_hooks_t *chunk_hooks, in chunk_alloc_cache()
[all …]
Dhuge.c43 huge_malloc(tsdn_t *tsdn, arena_t *arena, size_t usize, bool zero) in huge_malloc()
52 huge_palloc(tsdn_t *tsdn, arena_t *arena, size_t usize, size_t alignment, in huge_palloc()
157 arena_t *arena; in huge_ralloc_no_move_similar() local
219 arena_t *arena; in huge_ralloc_no_move_shrink() local
272 arena_t *arena; in huge_ralloc_no_move_expand() local
369 huge_ralloc_move_helper(tsdn_t *tsdn, arena_t *arena, size_t usize, in huge_ralloc_move_helper()
379 huge_ralloc(tsd_t *tsd, arena_t *arena, void *ptr, size_t oldsize, in huge_ralloc()
413 arena_t *arena; in huge_dalloc() local
444 arena_t *arena; in huge_salloc() local
460 arena_t *arena; in huge_prof_tctx_get() local
[all …]
Dtcache.c77 tcache_alloc_small_hard(tsdn_t *tsdn, arena_t *arena, tcache_t *tcache, in tcache_alloc_small_hard()
95 arena_t *arena; in tcache_bin_flush_small() local
177 arena_t *arena; in tcache_bin_flush_large() local
259 tcache_arena_associate(tsdn_t *tsdn, tcache_t *tcache, arena_t *arena) in tcache_arena_associate()
272 tcache_arena_dissociate(tsdn_t *tsdn, tcache_t *tcache, arena_t *arena) in tcache_arena_dissociate()
307 arena_t *arena; in tcache_get_hard() local
321 tcache_create(tsdn_t *tsdn, arena_t *arena) in tcache_create()
363 arena_t *arena; in tcache_destroy() local
423 tcache_stats_merge(tsdn_t *tsdn, tcache_t *tcache, arena_t *arena) in tcache_stats_merge()
479 arena_t *arena; in tcaches_create() local
/external/jemalloc_new/include/jemalloc/internal/
Darena_inlines_a.h5 arena_ind_get(const arena_t *arena) { in arena_ind_get()
10 arena_internal_add(arena_t *arena, size_t size) { in arena_internal_add()
15 arena_internal_sub(arena_t *arena, size_t size) { in arena_internal_sub()
20 arena_internal_get(arena_t *arena) { in arena_internal_get()
25 arena_prof_accum(tsdn_t *tsdn, arena_t *arena, uint64_t accumbytes) { in arena_prof_accum()
Djemalloc_internal_inlines_b.h8 arena_choose_impl(tsd_t *tsd, arena_t *arena, bool internal) { in arena_choose_impl()
62 arena_choose(tsd_t *tsd, arena_t *arena) { in arena_choose()
67 arena_ichoose(tsd_t *tsd, arena_t *arena) { in arena_ichoose()
72 arena_is_auto(arena_t *arena) { in arena_is_auto()
/external/protobuf/src/google/protobuf/
Dproto3_arena_unittest.cc126 Arena arena; in TEST() local
136 Arena arena; in TEST() local
166 Arena arena; in TEST() local
175 Arena arena; in TEST() local
185 Arena arena; in TEST() local
194 Arena arena; in TEST() local
Darena_unittest.cc164 Arena arena; in TEST() local
187 Arena arena; in TEST() local
201 Arena arena; in TEST() local
228 Arena arena(options); in TEST() local
250 Arena arena; in TEST() local
266 Arena arena; in TEST() local
404 Arena arena; in TEST() local
420 Arena arena; in TEST() local
433 Arena arena; in TEST() local
441 Arena arena; in TEST() local
[all …]
Darena.h250 static T* CreateMessage(::google::protobuf::Arena* arena) { in CreateMessage()
262 static T* CreateMessage(::google::protobuf::Arena* arena, const Arg& arg) { in CreateMessage()
275 static T* CreateMessage(::google::protobuf::Arena* arena, in CreateMessage()
302 static T* Create(::google::protobuf::Arena* arena) { in Create()
312 static T* Create(::google::protobuf::Arena* arena, const Arg& arg) { in Create()
323 static T* Create(::google::protobuf::Arena* arena, const Arg1& arg1, const Arg2& arg2) { in Create()
335 GOOGLE_ATTRIBUTE_ALWAYS_INLINE static T* Create(::google::protobuf::Arena* arena, in Create()
350 GOOGLE_ATTRIBUTE_ALWAYS_INLINE static T* Create(::google::protobuf::Arena* arena, in Create()
365 GOOGLE_ATTRIBUTE_ALWAYS_INLINE static T* Create(::google::protobuf::Arena* arena, in Create()
381 GOOGLE_ATTRIBUTE_ALWAYS_INLINE static T* Create(::google::protobuf::Arena* arena, in Create()
[all …]
Dproto3_arena_lite_unittest.cc126 Arena arena; in TEST() local
145 Arena arena; in TEST() local
154 Arena arena; in TEST() local
/external/python/cpython3/Python/
DPython-ast.c739 static int obj2ast_singleton(PyObject *obj, PyObject** out, PyArena* arena) in obj2ast_singleton()
750 static int obj2ast_object(PyObject* obj, PyObject** out, PyArena* arena) in obj2ast_object()
765 static int obj2ast_constant(PyObject* obj, PyObject** out, PyArena* arena) in obj2ast_constant()
778 static int obj2ast_identifier(PyObject* obj, PyObject** out, PyArena* arena) in obj2ast_identifier()
787 static int obj2ast_string(PyObject* obj, PyObject** out, PyArena* arena) in obj2ast_string()
796 static int obj2ast_bytes(PyObject* obj, PyObject** out, PyArena* arena) in obj2ast_bytes()
805 static int obj2ast_int(PyObject* obj, int* out, PyArena* arena) in obj2ast_int()
1191 Module(asdl_seq * body, PyArena *arena) in Module()
1203 Interactive(asdl_seq * body, PyArena *arena) in Interactive()
1215 Expression(expr_ty body, PyArena *arena) in Expression()
[all …]
Dasdl.c5 _Py_asdl_seq_new(Py_ssize_t size, PyArena *arena) in _Py_asdl_seq_new()
36 _Py_asdl_int_seq_new(Py_ssize_t size, PyArena *arena) in _Py_asdl_int_seq_new()
Dpyarena.c130 PyArena* arena = (PyArena *)PyMem_Malloc(sizeof(PyArena)); in PyArena_New() local
157 PyArena_Free(PyArena *arena) in PyArena_Free()
180 PyArena_Malloc(PyArena *arena, size_t size) in PyArena_Malloc()
203 PyArena_AddPyObject(PyArena *arena, PyObject *obj) in PyArena_AddPyObject()
/external/tensorflow/tensorflow/lite/
Dsimple_memory_arena_test.cc26 SimpleMemoryArena arena(64); in TEST() local
48 SimpleMemoryArena arena(64); in TEST() local
69 SimpleMemoryArena arena(64); in TEST() local
89 SimpleMemoryArena arena(64); in TEST() local
/external/grpc-grpc/src/core/lib/gpr/
Darena.cc47 gpr_arena* arena = (gpr_arena*)gpr_zalloc(sizeof(*arena)); in gpr_arena_create() local
52 size_t gpr_arena_destroy(gpr_arena* arena) { in gpr_arena_destroy()
62 void* gpr_arena_alloc(gpr_arena* arena, size_t size) { in gpr_arena_alloc()
109 size_t gpr_arena_destroy(gpr_arena* arena) { in gpr_arena_destroy()
122 void* gpr_arena_alloc(gpr_arena* arena, size_t size) { in gpr_arena_alloc()
/external/python/cpython2/Python/
DPython-ast.c586 static int obj2ast_object(PyObject* obj, PyObject** out, PyArena* arena) in obj2ast_object()
597 static int obj2ast_identifier(PyObject* obj, PyObject** out, PyArena* arena) in obj2ast_identifier()
607 static int obj2ast_string(PyObject* obj, PyObject** out, PyArena* arena) in obj2ast_string()
617 static int obj2ast_int(PyObject* obj, int* out, PyArena* arena) in obj2ast_int()
636 static int obj2ast_bool(PyObject* obj, bool* out, PyArena* arena) in obj2ast_bool()
988 Module(asdl_seq * body, PyArena *arena) in Module()
1000 Interactive(asdl_seq * body, PyArena *arena) in Interactive()
1012 Expression(expr_ty body, PyArena *arena) in Expression()
1029 Suite(asdl_seq * body, PyArena *arena) in Suite()
1042 decorator_list, int lineno, int col_offset, PyArena *arena) in FunctionDef()
[all …]
Dasdl.c5 asdl_seq_new(int size, PyArena *arena) in asdl_seq_new()
36 asdl_int_seq_new(int size, PyArena *arena) in asdl_int_seq_new()
/external/jemalloc/test/unit/
Dstats.c77 unsigned arena; in TEST_BEGIN() local
144 unsigned arena; in TEST_BEGIN() local
195 unsigned arena; in TEST_BEGIN() local
241 unsigned arena; in TEST_BEGIN() local
281 unsigned arena; in TEST_BEGIN() local
356 unsigned arena; in TEST_BEGIN() local
401 unsigned arena; in TEST_BEGIN() local
/external/tensorflow/tensorflow/lite/experimental/micro/
Dsimple_tensor_allocator_test.cc100 uint8_t arena[arena_size]; in TF_LITE_MICRO_TEST() local
121 uint8_t arena[arena_size]; in TF_LITE_MICRO_TEST() local
137 uint8_t arena[arena_size]; in TF_LITE_MICRO_TEST() local
146 uint8_t arena[arena_size]; in TF_LITE_MICRO_TEST() local
159 uint8_t arena[arena_size]; in TF_LITE_MICRO_TEST() local
/external/skqp/tests/
DArenaAllocTest.cpp76 SkArenaAlloc arena{0}; in DEF_TEST() local
101 SkSTArenaAlloc<64> arena; in DEF_TEST() local
128 SkArenaAlloc arena{block.get(), 1024, 0}; in DEF_TEST() local
152 SkSTArenaAlloc<64> arena; in DEF_TEST() local
161 SkSTArenaAlloc<64> arena; in DEF_TEST() local
/external/skia/tests/
DArenaAllocTest.cpp76 SkArenaAlloc arena{0}; in DEF_TEST() local
101 SkSTArenaAlloc<64> arena; in DEF_TEST() local
128 SkArenaAlloc arena{block.get(), 1024, 0}; in DEF_TEST() local
152 SkSTArenaAlloc<64> arena; in DEF_TEST() local
161 SkSTArenaAlloc<64> arena; in DEF_TEST() local

12345