Home
last modified time | relevance | path

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

/external/jemalloc/include/jemalloc/internal/
Dprof.h6 typedef struct prof_tctx_s prof_tctx_t; typedef
121 rb_node(prof_tctx_t) tctx_link;
138 typedef rb_tree(prof_tctx_t) prof_tctx_tree_t;
283 void prof_alloc_rollback(tsd_t *tsd, prof_tctx_t *tctx, bool updated);
285 prof_tctx_t *tctx);
286 void prof_free_sampled_object(tsd_t *tsd, size_t usize, prof_tctx_t *tctx);
289 prof_tctx_t *prof_lookup(tsd_t *tsd, prof_bt_t *bt);
333 prof_tctx_t *prof_tctx_get(tsdn_t *tsdn, const void *ptr);
335 prof_tctx_t *tctx);
337 const void *old_ptr, prof_tctx_t *tctx);
[all …]
Dextent.h55 prof_tctx_t *en_prof_tctx;
94 prof_tctx_t *extent_node_prof_tctx_get(const extent_node_t *node);
102 void extent_node_prof_tctx_set(extent_node_t *node, prof_tctx_t *tctx);
162 JEMALLOC_INLINE prof_tctx_t *
219 extent_node_prof_tctx_set(extent_node_t *node, prof_tctx_t *tctx) in extent_node_prof_tctx_set()
Dhuge.h26 prof_tctx_t *huge_prof_tctx_get(tsdn_t *tsdn, const void *ptr);
27 void huge_prof_tctx_set(tsdn_t *tsdn, const void *ptr, prof_tctx_t *tctx);
Darena.h188 prof_tctx_t *prof_tctx;
699 prof_tctx_t *arena_prof_tctx_get(tsdn_t *tsdn, const void *ptr);
701 prof_tctx_t *tctx);
703 const void *old_ptr, prof_tctx_t *old_tctx);
1235 JEMALLOC_INLINE prof_tctx_t *
1238 prof_tctx_t *ret; in arena_prof_tctx_get()
1250 ret = (prof_tctx_t *)(uintptr_t)1U; in arena_prof_tctx_get()
1264 prof_tctx_t *tctx) in arena_prof_tctx_set()
1300 const void *old_ptr, prof_tctx_t *old_tctx) in arena_prof_tctx_reset()
1321 (prof_tctx_t *)(uintptr_t)1U); in arena_prof_tctx_reset()
/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/src/
Dprof.c124 static bool prof_tctx_should_destroy(tsdn_t *tsdn, prof_tctx_t *tctx);
125 static void prof_tctx_destroy(tsd_t *tsd, prof_tctx_t *tctx);
136 prof_tctx_comp(const prof_tctx_t *a, const prof_tctx_t *b) in prof_tctx_comp()
156 rb_gen(static UNUSED, tctx_tree_, prof_tctx_tree_t, prof_tctx_t, in rb_gen() argument
197 prof_alloc_rollback(tsd_t *tsd, prof_tctx_t *tctx, bool updated) in rb_gen()
227 prof_tctx_t *tctx) in prof_malloc_sample_object()
244 prof_free_sampled_object(tsd_t *tsd, size_t usize, prof_tctx_t *tctx) in prof_free_sampled_object()
612 prof_tctx_should_destroy(tsdn_t *tsdn, prof_tctx_t *tctx) in prof_tctx_should_destroy()
640 prof_tctx_destroy(tsd_t *tsd, prof_tctx_t *tctx) in prof_tctx_destroy()
761 prof_tctx_t *
[all …]
Dhuge.c455 prof_tctx_t *
458 prof_tctx_t *tctx; in huge_prof_tctx_get()
472 huge_prof_tctx_set(tsdn_t *tsdn, const void *ptr, prof_tctx_t *tctx) in huge_prof_tctx_set()
488 huge_prof_tctx_set(tsdn, ptr, (prof_tctx_t *)(uintptr_t)1U); in huge_prof_tctx_reset()
Djemalloc.c1538 prof_tctx_t *tctx, bool slow_path)
1560 prof_tctx_t *tctx;
1664 prof_tctx_t *tctx)
1686 prof_tctx_t *tctx;
1841 prof_tctx_t *tctx)
1863 prof_tctx_t *old_tctx, *tctx;
2197 prof_tctx_t *tctx;
2308 prof_tctx_t *tctx)
2335 prof_tctx_t *old_tctx, *tctx;
2463 size_t extra, size_t alignment, bool zero, prof_tctx_t *tctx)
[all …]
/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;