Home
last modified time | relevance | path

Searched refs:prof_tctx_t (Results 1 – 11 of 11) sorted by relevance

/external/jemalloc_new/include/jemalloc/internal/
Dprof_inlines_b.h39 JEMALLOC_ALWAYS_INLINE prof_tctx_t *
49 alloc_ctx_t *alloc_ctx, prof_tctx_t *tctx) { in prof_tctx_set()
57 prof_tctx_reset(tsdn_t *tsdn, const void *ptr, prof_tctx_t *tctx) { in prof_tctx_reset()
101 JEMALLOC_ALWAYS_INLINE prof_tctx_t *
103 prof_tctx_t *ret; in prof_alloc_prep()
111 ret = (prof_tctx_t *)(uintptr_t)1U; in prof_alloc_prep()
123 prof_tctx_t *tctx) { in prof_malloc()
132 (prof_tctx_t *)(uintptr_t)1U); in prof_malloc()
137 prof_realloc(tsd_t *tsd, const void *ptr, size_t usize, prof_tctx_t *tctx, in prof_realloc()
139 prof_tctx_t *old_tctx) { in prof_realloc()
[all …]
Dprof_externs.h45 void prof_alloc_rollback(tsd_t *tsd, prof_tctx_t *tctx, bool updated);
47 prof_tctx_t *tctx);
48 void prof_free_sampled_object(tsd_t *tsd, size_t usize, prof_tctx_t *tctx);
51 prof_tctx_t *prof_lookup(tsd_t *tsd, prof_bt_t *bt);
Dlarge_externs.h22 prof_tctx_t *large_prof_tctx_get(tsdn_t *tsdn, const extent_t *extent);
23 void large_prof_tctx_set(tsdn_t *tsdn, extent_t *extent, prof_tctx_t *tctx);
Dprof_structs.h80 rb_node(prof_tctx_t) tctx_link;
97 typedef rb_tree(prof_tctx_t) prof_tctx_tree_t;
Darena_inlines_b.h11 JEMALLOC_ALWAYS_INLINE prof_tctx_t *
27 return (prof_tctx_t *)(uintptr_t)1U; in arena_prof_tctx_get()
32 alloc_ctx_t *alloc_ctx, prof_tctx_t *tctx) { in arena_prof_tctx_set()
50 arena_prof_tctx_reset(tsdn_t *tsdn, const void *ptr, UNUSED prof_tctx_t *tctx) { in arena_prof_tctx_reset()
Dprof_types.h7 typedef struct prof_tctx_s prof_tctx_t; typedef
Dextent_inlines.h173 static inline prof_tctx_t *
175 return (prof_tctx_t *)atomic_load_p(&extent->e_prof_tctx, in extent_prof_tctx_get()
298 extent_prof_tctx_set(extent_t *extent, prof_tctx_t *tctx) { in extent_prof_tctx_set()
/external/jemalloc_new/test/unit/
Dprof_tctx.c7 prof_tctx_t *tctx_p, *tctx_q; in TEST_BEGIN()
19 assert_ptr_ne(tctx_p, (prof_tctx_t *)(uintptr_t)1U, in TEST_BEGIN()
29 assert_ptr_ne(tctx_q, (prof_tctx_t *)(uintptr_t)1U, in TEST_BEGIN()
/external/jemalloc_new/src/
Dprof.c140 static bool prof_tctx_should_destroy(tsdn_t *tsdn, prof_tctx_t *tctx);
141 static void prof_tctx_destroy(tsd_t *tsd, prof_tctx_t *tctx);
152 prof_tctx_comp(const prof_tctx_t *a, const prof_tctx_t *b) { in prof_tctx_comp()
171 rb_gen(static UNUSED, tctx_tree_, prof_tctx_tree_t, prof_tctx_t, in rb_gen() argument
211 prof_alloc_rollback(tsd_t *tsd, prof_tctx_t *tctx, bool updated) { in rb_gen()
242 prof_tctx_t *tctx) { in prof_malloc_sample_object()
257 prof_free_sampled_object(tsd_t *tsd, size_t usize, prof_tctx_t *tctx) { in prof_free_sampled_object()
614 prof_tctx_should_destroy(tsdn_t *tsdn, prof_tctx_t *tctx) { in prof_tctx_should_destroy()
644 prof_tctx_destroy(tsd_t *tsd, prof_tctx_t *tctx) { in prof_tctx_destroy()
784 prof_tctx_t *
[all …]
Dlarge.c366 prof_tctx_t *
372 large_prof_tctx_set(tsdn_t *tsdn, extent_t *extent, prof_tctx_t *tctx) { in large_prof_tctx_set()
378 large_prof_tctx_set(tsdn, extent, (prof_tctx_t *)(uintptr_t)1U); in large_prof_tctx_reset()
Djemalloc.c1889 prof_tctx_t *tctx = prof_alloc_prep(
2163 prof_tctx_t *tctx) {
2187 prof_tctx_t *old_tctx, *tctx;
2613 prof_tctx_t *tctx) {
2640 prof_tctx_t *old_tctx, *tctx;
2783 size_t extra, size_t alignment, bool zero, prof_tctx_t *tctx) {
2800 prof_tctx_t *old_tctx, *tctx;