Home
last modified time | relevance | path

Searched defs:tsd (Results 1 – 25 of 54) sorted by relevance

123

/external/jemalloc_new/include/jemalloc/internal/
Dtcache_inlines.h12 tcache_enabled_get(tsd_t *tsd) { in tcache_enabled_get()
17 tcache_enabled_set(tsd_t *tsd, bool enabled) { in tcache_enabled_set()
31 tcache_event(tsd_t *tsd, tcache_t *tcache) { in tcache_event()
42 tcache_alloc_small(tsd_t *tsd, arena_t *arena, tcache_t *tcache, in tcache_alloc_small()
106 tcache_alloc_large(tsd_t *tsd, arena_t *arena, tcache_t *tcache, size_t size, in tcache_alloc_large()
168 tcache_dalloc_small(tsd_t *tsd, tcache_t *tcache, void *ptr, szind_t binind, in tcache_dalloc_small()
193 tcache_dalloc_large(tsd_t *tsd, tcache_t *tcache, void *ptr, szind_t binind, in tcache_dalloc_large()
219 tcaches_get(tsd_t *tsd, unsigned ind) { in tcaches_get()
Djemalloc_internal_inlines_a.h58 arena_tdata_get(tsd_t *tsd, unsigned ind, bool refresh_if_missing) { in arena_tdata_get()
99 decay_ticker_get(tsd_t *tsd, unsigned ind) { in decay_ticker_get()
122 tcache_available(tsd_t *tsd) { in tcache_available()
140 tcache_get(tsd_t *tsd) { in tcache_get()
149 pre_reentrancy(tsd_t *tsd, arena_t *arena) { in pre_reentrancy()
164 post_reentrancy(tsd_t *tsd) { in post_reentrancy()
Dtsd.h133 tsd_t tsd; member
137 tsd_tsdn(tsd_t *tsd) { in tsd_tsdn()
240 tsd_assert_fast(tsd_t *tsd) { in tsd_assert_fast()
246 tsd_fast(tsd_t *tsd) { in tsd_fast()
257 tsd_t *tsd = tsd_get(init); in tsd_fetch_impl() local
282 tsd_t *tsd = tsd_fetch_min(); in tsd_internal_fetch() local
295 tsd_nominal(tsd_t *tsd) { in tsd_nominal()
309 tsd_rtree_ctx(tsd_t *tsd) { in tsd_rtree_ctx()
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()
Dprof_inlines_b.h17 prof_tdata_get(tsd_t *tsd, bool create) { in prof_tdata_get()
65 prof_sample_accum_update(tsd_t *tsd, size_t usize, bool update, in prof_sample_accum_update()
102 prof_alloc_prep(tsd_t *tsd, size_t usize, bool prof_active, bool update) { in prof_alloc_prep()
137 prof_realloc(tsd_t *tsd, const void *ptr, size_t usize, prof_tctx_t *tctx, in prof_realloc()
195 prof_free(tsd_t *tsd, const void *ptr, size_t usize, alloc_ctx_t *alloc_ctx) { in prof_free()
/external/jemalloc_new/src/
Dtsd.c55 tsd_slow_update(tsd_t *tsd) { in tsd_slow_update()
67 tsd_data_init(tsd_t *tsd) { in tsd_data_init()
88 assert_tsd_data_cleanup_done(tsd_t *tsd) { in assert_tsd_data_cleanup_done()
99 tsd_data_init_nocleanup(tsd_t *tsd) { in tsd_data_init_nocleanup()
117 tsd_fetch_slow(tsd_t *tsd, bool minimal) { in tsd_fetch_slow()
204 tsd_do_data_cleanup(tsd_t *tsd) { in tsd_do_data_cleanup()
215 tsd_t *tsd = (tsd_t *)arg; in tsd_cleanup() local
260 tsd_t *tsd; in malloc_tsd_boot0() local
274 tsd_t *tsd = tsd_fetch(); in malloc_tsd_boot1() local
Dtcache.c44 tcache_event_hard(tsd_t *tsd, tcache_t *tcache) { in tcache_event_hard()
108 tcache_bin_flush_small(tsd_t *tsd, tcache_t *tcache, cache_bin_t *tbin, in tcache_bin_flush_small()
197 tcache_bin_flush_large(tsd_t *tsd, cache_bin_t *tbin, szind_t binind, in tcache_bin_flush_large()
355 tsd_tcache_enabled_data_init(tsd_t *tsd) { in tsd_tcache_enabled_data_init()
370 tcache_init(tsd_t *tsd, tcache_t *tcache, void *avail_stack) { in tcache_init()
404 tsd_tcache_data_init(tsd_t *tsd) { in tsd_tcache_data_init()
446 tcache_create_explicit(tsd_t *tsd) { in tcache_create_explicit()
472 tcache_flush_cache(tsd_t *tsd, tcache_t *tcache) { in tcache_flush_cache()
504 tcache_flush(tsd_t *tsd) { in tcache_flush()
510 tcache_destroy(tsd_t *tsd, tcache_t *tcache, bool tsd_tcache) { in tcache_destroy()
[all …]
Dprof.c257 prof_free_sampled_object(tsd_t *tsd, size_t usize, prof_tctx_t *tctx) { in prof_free_sampled_object()
280 prof_enter(tsd_t *tsd, prof_tdata_t *tdata) { in prof_enter()
293 prof_leave(tsd_t *tsd, prof_tdata_t *tdata) { in prof_leave()
579 prof_gctx_try_destroy(tsd_t *tsd, prof_tdata_t *tdata_self, prof_gctx_t *gctx, in prof_gctx_try_destroy()
644 prof_tctx_destroy(tsd_t *tsd, prof_tctx_t *tctx) { in prof_tctx_destroy()
720 prof_lookup_global(tsd_t *tsd, prof_bt_t *bt, prof_tdata_t *tdata, in prof_lookup_global()
785 prof_lookup(tsd_t *tsd, prof_bt_t *bt) { in prof_lookup()
940 tsd_t *tsd; in prof_bt_count() local
1219 prof_gctx_finish(tsd_t *tsd, prof_gctx_tree_t *gctxs) { in prof_gctx_finish()
1552 prof_dump_prep(tsd_t *tsd, prof_tdata_t *tdata, in prof_dump_prep()
[all …]
Dctl.c642 arenas_i_impl(tsd_t *tsd, size_t i, bool compat, bool init) { in arenas_i_impl()
885 ctl_arena_init(tsd_t *tsd, extent_hooks_t *extent_hooks) { in ctl_arena_init()
999 ctl_init(tsd_t *tsd) { in ctl_init()
1173 ctl_byname(tsd_t *tsd, const char *name, void *oldp, size_t *oldlenp, in ctl_byname()
1205 ctl_nametomib(tsd_t *tsd, const char *name, size_t *mibp, size_t *miblenp) { in ctl_nametomib()
1219 ctl_bymib(tsd_t *tsd, const size_t *mib, size_t miblen, void *oldp, in ctl_bymib()
1516 background_thread_ctl(tsd_t *tsd, const size_t *mib, size_t miblen, in background_thread_ctl()
1574 max_background_threads_ctl(tsd_t *tsd, const size_t *mib, size_t miblen, in max_background_threads_ctl()
1779 thread_tcache_flush_ctl(tsd_t *tsd, const size_t *mib, size_t miblen, in thread_tcache_flush_ctl()
1799 thread_prof_name_ctl(tsd_t *tsd, const size_t *mib, size_t miblen, void *oldp, in thread_prof_name_ctl()
[all …]
Djemalloc.c371 arena_bind(tsd_t *tsd, unsigned ind, bool internal) { in arena_bind()
383 arena_migrate(tsd_t *tsd, unsigned oldind, unsigned newind) { in arena_migrate()
394 arena_unbind(tsd_t *tsd, unsigned ind, bool internal) { in arena_unbind()
408 arena_tdata_get_hard(tsd_t *tsd, unsigned ind) { in arena_tdata_get_hard()
485 arena_choose_hard(tsd_t *tsd, bool internal) { in arena_choose_hard()
599 iarena_cleanup(tsd_t *tsd) { in iarena_cleanup()
609 arena_cleanup(tsd_t *tsd) { in arena_cleanup()
619 arenas_tdata_cleanup(tsd_t *tsd) { in arenas_tdata_cleanup()
677 tsd_t *tsd = tsdn_tsd(tsdn); in check_entry_exit_locking() local
1509 tsd_t *tsd = tsdn_tsd(tsdn); local
[all …]
Dckh.c257 ckh_grow(tsd_t *tsd, ckh_t *ckh) { in ckh_grow()
311 ckh_shrink(tsd_t *tsd, ckh_t *ckh) { in ckh_shrink()
359 ckh_new(tsd_t *tsd, ckh_t *ckh, size_t minitems, ckh_hash_t *hash, in ckh_new()
416 ckh_delete(tsd_t *tsd, ckh_t *ckh) { in ckh_delete()
466 ckh_insert(tsd_t *tsd, ckh_t *ckh, const void *key, const void *data) { in ckh_insert()
489 ckh_remove(tsd_t *tsd, ckh_t *ckh, const void *searchkey, void **key, in ckh_remove()
/external/jemalloc/src/
Dwitness.c97 witnesses_cleanup(tsd_t *tsd) in witnesses_cleanup()
106 witness_fork_cleanup(tsd_t *tsd) in witness_fork_cleanup()
113 witness_prefork(tsd_t *tsd) in witness_prefork()
120 witness_postfork_parent(tsd_t *tsd) in witness_postfork_parent()
127 witness_postfork_child(tsd_t *tsd) in witness_postfork_child()
Dtcache.c37 tcache_event_hard(tsd_t *tsd, tcache_t *tcache) in tcache_event_hard()
92 tcache_bin_flush_small(tsd_t *tsd, tcache_t *tcache, tcache_bin_t *tbin, in tcache_bin_flush_small()
174 tcache_bin_flush_large(tsd_t *tsd, tcache_bin_t *tbin, szind_t binind, in tcache_bin_flush_large()
305 tcache_get_hard(tsd_t *tsd) in tcache_get_hard()
361 tcache_destroy(tsd_t *tsd, tcache_t *tcache) in tcache_destroy()
402 tcache_cleanup(tsd_t *tsd) in tcache_cleanup()
416 tcache_enabled_cleanup(tsd_t *tsd) in tcache_enabled_cleanup()
451 tcaches_create_prep(tsd_t *tsd) { in tcaches_create_prep()
477 tcaches_create(tsd_t *tsd, unsigned *r_ind) { in tcaches_create()
520 tcaches_elm_flush(tsd_t *tsd, tcaches_t *elm) { in tcaches_elm_flush()
[all …]
Djemalloc.c476 arena_bind(tsd_t *tsd, unsigned ind, bool internal) in arena_bind()
493 arena_migrate(tsd_t *tsd, unsigned oldind, unsigned newind) in arena_migrate()
505 arena_unbind(tsd_t *tsd, unsigned ind, bool internal) in arena_unbind()
518 arena_tdata_get_hard(tsd_t *tsd, unsigned ind) in arena_tdata_get_hard()
595 arena_choose_hard(tsd_t *tsd, bool internal) in arena_choose_hard()
684 thread_allocated_cleanup(tsd_t *tsd) in thread_allocated_cleanup()
691 thread_deallocated_cleanup(tsd_t *tsd) in thread_deallocated_cleanup()
698 iarena_cleanup(tsd_t *tsd) in iarena_cleanup()
708 arena_cleanup(tsd_t *tsd) in arena_cleanup()
718 arenas_tdata_cleanup(tsd_t *tsd) in arenas_tdata_cleanup()
[all …]
Dquarantine.c43 quarantine_alloc_hook_work(tsd_t *tsd) in quarantine_alloc_hook_work()
62 quarantine_grow(tsd_t *tsd, quarantine_t *quarantine) in quarantine_grow()
117 quarantine(tsd_t *tsd, void *ptr) in quarantine()
170 quarantine_cleanup(tsd_t *tsd) in quarantine_cleanup()
Dprof.c244 prof_free_sampled_object(tsd_t *tsd, size_t usize, prof_tctx_t *tctx) in prof_free_sampled_object()
270 prof_enter(tsd_t *tsd, prof_tdata_t *tdata) in prof_enter()
285 prof_leave(tsd_t *tsd, prof_tdata_t *tdata) in prof_leave()
576 prof_gctx_try_destroy(tsd_t *tsd, prof_tdata_t *tdata_self, prof_gctx_t *gctx, in prof_gctx_try_destroy()
640 prof_tctx_destroy(tsd_t *tsd, prof_tctx_t *tctx) in prof_tctx_destroy()
714 prof_lookup_global(tsd_t *tsd, prof_bt_t *bt, prof_tdata_t *tdata, in prof_lookup_global()
762 prof_lookup(tsd_t *tsd, prof_bt_t *bt) in prof_lookup()
917 tsd_t *tsd; in prof_bt_count() local
1212 prof_gctx_finish(tsd_t *tsd, prof_gctx_tree_t *gctxs) in prof_gctx_finish()
1545 prof_dump(tsd_t *tsd, bool propagate_err, const char *filename, bool leakcheck) in prof_dump()
[all …]
Dctl.c915 ctl_byname(tsd_t *tsd, const char *name, void *oldp, size_t *oldlenp, in ctl_byname()
962 ctl_bymib(tsd_t *tsd, const size_t *mib, size_t miblen, void *oldp, in ctl_bymib()
1391 thread_tcache_flush_ctl(tsd_t *tsd, const size_t *mib, size_t miblen, in thread_tcache_flush_ctl()
1410 thread_prof_name_ctl(tsd_t *tsd, const size_t *mib, size_t miblen, void *oldp, in thread_prof_name_ctl()
1440 thread_prof_active_ctl(tsd_t *tsd, const size_t *mib, size_t miblen, void *oldp, in thread_prof_active_ctl()
1470 tcache_create_ctl(tsd_t *tsd, const size_t *mib, size_t miblen, void *oldp, in tcache_create_ctl()
1492 tcache_flush_ctl(tsd_t *tsd, const size_t *mib, size_t miblen, void *oldp, in tcache_flush_ctl()
1516 tcache_destroy_ctl(tsd_t *tsd, const size_t *mib, size_t miblen, void *oldp, in tcache_destroy_ctl()
1583 arena_i_purge_ctl(tsd_t *tsd, const size_t *mib, size_t miblen, void *oldp, in arena_i_purge_ctl()
1598 arena_i_decay_ctl(tsd_t *tsd, const size_t *mib, size_t miblen, void *oldp, in arena_i_decay_ctl()
[all …]
Dckh.c248 ckh_grow(tsd_t *tsd, ckh_t *ckh) in ckh_grow()
303 ckh_shrink(tsd_t *tsd, ckh_t *ckh) in ckh_shrink()
351 ckh_new(tsd_t *tsd, ckh_t *ckh, size_t minitems, ckh_hash_t *hash, in ckh_new()
408 ckh_delete(tsd_t *tsd, ckh_t *ckh) in ckh_delete()
460 ckh_insert(tsd_t *tsd, ckh_t *ckh, const void *key, const void *data) in ckh_insert()
484 ckh_remove(tsd_t *tsd, ckh_t *ckh, const void *searchkey, void **key, in ckh_remove()
/external/jemalloc/include/jemalloc/internal/
Dtcache.h194 tsd_t *tsd; in tcache_flush() local
205 tsd_t *tsd; in tcache_enabled_get() local
223 tsd_t *tsd; in tcache_enabled_set() local
238 tcache_get(tsd_t *tsd, bool create) in tcache_get()
257 tcache_event(tsd_t *tsd, tcache_t *tcache) in tcache_event()
295 tcache_alloc_small(tsd_t *tsd, arena_t *arena, tcache_t *tcache, size_t size, in tcache_alloc_small()
354 tcache_alloc_large(tsd_t *tsd, arena_t *arena, tcache_t *tcache, size_t size, in tcache_alloc_large()
417 tcache_dalloc_small(tsd_t *tsd, tcache_t *tcache, void *ptr, szind_t binind, in tcache_dalloc_small()
442 tcache_dalloc_large(tsd_t *tsd, tcache_t *tcache, void *ptr, size_t size, in tcache_dalloc_large()
472 tcaches_get(tsd_t *tsd, unsigned ind) in tcaches_get()
Dwitness.h122 witness_owner(tsd_t *tsd, const witness_t *witness) in witness_owner()
139 tsd_t *tsd; in witness_assert_owner() local
158 tsd_t *tsd; in witness_assert_not_owner() local
181 tsd_t *tsd; in witness_assert_lockless() local
201 tsd_t *tsd; in witness_lock() local
241 tsd_t *tsd; in witness_unlock() local
/external/compiler-rt/lib/asan/
Dasan_posix.cc99 void AsanTSDInit(void (*destructor)(void *tsd)) { in AsanTSDInit()
110 void AsanTSDSet(void *tsd) { in AsanTSDSet()
115 void PlatformTSDDtor(void *tsd) { in PlatformTSDDtor()
/external/mesa3d/src/gallium/auxiliary/os/
Dos_thread.h130 pipe_tsd_init(pipe_tsd *tsd) in pipe_tsd_init()
139 pipe_tsd_get(pipe_tsd *tsd) in pipe_tsd_get()
148 pipe_tsd_set(pipe_tsd *tsd, void *value) in pipe_tsd_set()
/external/jemalloc/test/unit/
Dckh.c5 tsd_t *tsd; in TEST_BEGIN() local
22 tsd_t *tsd; in TEST_BEGIN() local
111 tsd_t *tsd; in TEST_BEGIN() local
/external/jemalloc_new/test/unit/
Dckh.c4 tsd_t *tsd; in TEST_BEGIN() local
20 tsd_t *tsd; in TEST_BEGIN() local
108 tsd_t *tsd; in TEST_BEGIN() local
Dtsd.c46 tsd_t *tsd = tsd_fetch(); in thd_start() local
89 tsd_t *tsd = tsd_fetch(); in thd_start_reincarnated() local

123