/external/jemalloc/test/unit/ |
arena_reset.c | 89 tsdn_t *tsdn; local 127 tsdn = tsdn_fetch(); 131 assert_zu_gt(ivsalloc(tsdn, ptrs[i], false), 0, 145 assert_zu_eq(ivsalloc(tsdn, ptrs[i], false), 0,
|
witness.c | 63 tsdn_t *tsdn; local 67 tsdn = tsdn_fetch(); 69 witness_assert_lockless(tsdn); 72 witness_assert_not_owner(tsdn, &a); 73 witness_lock(tsdn, &a); 74 witness_assert_owner(tsdn, &a); 77 witness_assert_not_owner(tsdn, &b); 78 witness_lock(tsdn, &b); 79 witness_assert_owner(tsdn, &b); 81 witness_unlock(tsdn, &a) 91 tsdn_t *tsdn; local 141 tsdn_t *tsdn; local 173 tsdn_t *tsdn; local 211 tsdn_t *tsdn; local 238 tsdn_t *tsdn; local [all...] |
/external/jemalloc/src/ |
chunk.c | 52 static void chunk_record(tsdn_t *tsdn, arena_t *arena, 67 chunk_hooks_get(tsdn_t *tsdn, arena_t *arena) 71 malloc_mutex_lock(tsdn, &arena->chunks_mtx); 73 malloc_mutex_unlock(tsdn, &arena->chunks_mtx); 79 chunk_hooks_set(tsdn_t *tsdn, arena_t *arena, const chunk_hooks_t *chunk_hooks) 83 malloc_mutex_lock(tsdn, &arena->chunks_mtx); 108 malloc_mutex_unlock(tsdn, &arena->chunks_mtx); 114 chunk_hooks_assure_initialized_impl(tsdn_t *tsdn, arena_t *arena, 123 chunk_hooks_get(tsdn, arena); 128 chunk_hooks_assure_initialized_locked(tsdn_t *tsdn, arena_t *arena 444 tsdn_t *tsdn; local [all...] |
jemalloc.c | 438 arena_init_locked(tsdn_t *tsdn, unsigned ind) 452 arena = arena_get(tsdn, ind, false); 459 arena = arena_new(tsdn, ind); 465 arena_init(tsdn_t *tsdn, unsigned ind) 469 malloc_mutex_lock(tsdn, &arenas_lock); 470 arena = arena_init_locked(tsdn, ind); 471 malloc_mutex_unlock(tsdn, &arenas_lock); 751 tsdn_t *tsdn; local 754 tsdn = tsdn_fetch(); 764 arena_t *arena = arena_get(tsdn, i, false) 1643 tsdn_t *tsdn; local 1807 tsdn_t *tsdn; local 2285 tsdn_t *tsdn; local 2590 tsdn_t *tsdn; local 2684 tsdn_t *tsdn; local 2723 tsdn_t *tsdn; local 2756 tsdn_t *tsdn; local 2768 tsdn_t *tsdn; local [all...] |
prof.c | 124 static bool prof_tctx_should_destroy(tsdn_t *tsdn, prof_tctx_t *tctx); 126 static bool prof_tdata_should_destroy(tsdn_t *tsdn, prof_tdata_t *tdata, 130 static char *prof_thread_name_alloc(tsdn_t *tsdn, const char *thread_name); 226 prof_malloc_sample_object(tsdn_t *tsdn, const void *ptr, size_t usize, 230 prof_tctx_set(tsdn, ptr, usize, tctx); 232 malloc_mutex_lock(tsdn, tctx->tdata->lock); 240 malloc_mutex_unlock(tsdn, tctx->tdata->lock); 550 prof_gctx_create(tsdn_t *tsdn, prof_bt_t *bt) 556 prof_gctx_t *gctx = (prof_gctx_t *)iallocztm(tsdn, size, 612 prof_tctx_should_destroy(tsdn_t *tsdn, prof_tctx_t *tctx 900 tsdn_t *tsdn; local 1090 tsdn_t *tsdn = (tsdn_t *)arg; local 1110 tsdn_t *tsdn; member in struct:prof_tctx_dump_iter_arg_s 1145 tsdn_t *tsdn = (tsdn_t *)arg; local 1191 tsdn_t *tsdn; member in struct:prof_gctx_merge_iter_arg_s 1257 tsdn_t *tsdn; member in struct:prof_tdata_merge_iter_arg_s 1519 tsdn_t *tsdn; member in struct:prof_gctx_dump_iter_arg_s 1950 tsdn_t *tsdn = (tsdn_t *)arg; local [all...] |