HomeSort by relevance Sort by last modified time
    Searched refs:tsdn_t (Results 1 - 25 of 26) sorted by null

1 2

  /external/jemalloc/include/jemalloc/internal/
base.h 12 void *base_alloc(tsdn_t *tsdn, size_t size);
13 void base_stats_get(tsdn_t *tsdn, size_t *allocated, size_t *resident,
16 void base_prefork(tsdn_t *tsdn);
17 void base_postfork_parent(tsdn_t *tsdn);
18 void base_postfork_child(tsdn_t *tsdn);
huge.h 12 void *huge_malloc(tsdn_t *tsdn, arena_t *arena, size_t usize, bool zero);
13 void *huge_palloc(tsdn_t *tsdn, arena_t *arena, size_t usize,
15 bool huge_ralloc_no_move(tsdn_t *tsdn, void *ptr, size_t oldsize,
23 void huge_dalloc(tsdn_t *tsdn, void *ptr);
25 size_t huge_salloc(tsdn_t *tsdn, const void *ptr);
26 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);
28 void huge_prof_tctx_reset(tsdn_t *tsdn, const void *ptr);
mutex.h 67 void malloc_mutex_prefork(tsdn_t *tsdn, malloc_mutex_t *mutex);
68 void malloc_mutex_postfork_parent(tsdn_t *tsdn, malloc_mutex_t *mutex);
69 void malloc_mutex_postfork_child(tsdn_t *tsdn, malloc_mutex_t *mutex);
77 void malloc_mutex_lock(tsdn_t *tsdn, malloc_mutex_t *mutex);
78 void malloc_mutex_unlock(tsdn_t *tsdn, malloc_mutex_t *mutex);
79 void malloc_mutex_assert_owner(tsdn_t *tsdn, malloc_mutex_t *mutex);
80 void malloc_mutex_assert_not_owner(tsdn_t *tsdn, malloc_mutex_t *mutex);
85 malloc_mutex_lock(tsdn_t *tsdn, malloc_mutex_t *mutex)
108 malloc_mutex_unlock(tsdn_t *tsdn, malloc_mutex_t *mutex)
130 malloc_mutex_assert_owner(tsdn_t *tsdn, malloc_mutex_t *mutex
    [all...]
chunk.h 55 chunk_hooks_t chunk_hooks_get(tsdn_t *tsdn, arena_t *arena);
56 chunk_hooks_t chunk_hooks_set(tsdn_t *tsdn, arena_t *arena,
59 bool chunk_register(tsdn_t *tsdn, const void *chunk,
63 void *chunk_alloc_cache(tsdn_t *tsdn, arena_t *arena,
66 void *chunk_alloc_wrapper(tsdn_t *tsdn, arena_t *arena,
69 void chunk_dalloc_cache(tsdn_t *tsdn, arena_t *arena,
72 void chunk_dalloc_wrapper(tsdn_t *tsdn, arena_t *arena,
75 bool chunk_purge_wrapper(tsdn_t *tsdn, arena_t *arena,
ctl.h 30 const ctl_named_node_t *(*index)(tsdn_t *, const size_t *, size_t,
75 int ctl_nametomib(tsdn_t *tsdn, const char *name, size_t *mibp,
81 void ctl_prefork(tsdn_t *tsdn);
82 void ctl_postfork_parent(tsdn_t *tsdn);
83 void ctl_postfork_child(tsdn_t *tsdn);
prof.h 284 void prof_malloc_sample_object(tsdn_t *tsdn, const void *ptr, size_t usize,
296 typedef bool (prof_dump_header_t)(tsdn_t *, bool, const prof_cnt_t *);
299 void prof_idump(tsdn_t *tsdn);
301 void prof_gdump(tsdn_t *tsdn);
306 bool prof_active_get(tsdn_t *tsdn);
307 bool prof_active_set(tsdn_t *tsdn, bool active);
312 bool prof_thread_active_init_get(tsdn_t *tsdn);
313 bool prof_thread_active_init_set(tsdn_t *tsdn, bool active_init);
314 bool prof_gdump_get(tsdn_t *tsdn);
315 bool prof_gdump_set(tsdn_t *tsdn, bool active)
    [all...]
chunk_dss.h 26 void *chunk_alloc_dss(tsdn_t *tsdn, arena_t *arena, void *new_addr,
arena.h 541 extent_node_t *arena_node_alloc(tsdn_t *tsdn, arena_t *arena);
542 void arena_node_dalloc(tsdn_t *tsdn, arena_t *arena, extent_node_t *node);
543 void *arena_chunk_alloc_huge(tsdn_t *tsdn, arena_t *arena, size_t usize,
545 void arena_chunk_dalloc_huge(tsdn_t *tsdn, arena_t *arena, void *chunk,
547 void arena_chunk_ralloc_huge_similar(tsdn_t *tsdn, arena_t *arena,
549 void arena_chunk_ralloc_huge_shrink(tsdn_t *tsdn, arena_t *arena,
551 bool arena_chunk_ralloc_huge_expand(tsdn_t *tsdn, arena_t *arena,
553 ssize_t arena_lg_dirty_mult_get(tsdn_t *tsdn, arena_t *arena);
554 bool arena_lg_dirty_mult_set(tsdn_t *tsdn, arena_t *arena,
556 ssize_t arena_decay_time_get(tsdn_t *tsdn, arena_t *arena)
    [all...]
witness.h 113 void witness_assert_owner(tsdn_t *tsdn, const witness_t *witness);
114 void witness_assert_not_owner(tsdn_t *tsdn, const witness_t *witness);
115 void witness_assert_lockless(tsdn_t *tsdn);
116 void witness_lock(tsdn_t *tsdn, witness_t *witness);
117 void witness_unlock(tsdn_t *tsdn, witness_t *witness);
137 witness_assert_owner(tsdn_t *tsdn, const witness_t *witness)
156 witness_assert_not_owner(tsdn_t *tsdn, const witness_t *witness)
179 witness_assert_lockless(tsdn_t *tsdn)
199 witness_lock(tsdn_t *tsdn, witness_t *witness)
239 witness_unlock(tsdn_t *tsdn, witness_t *witness
    [all...]
jemalloc_internal.h 489 arena_t *arena_init(tsdn_t *tsdn, unsigned ind);
581 arena_t *arena_get(tsdn_t *tsdn, unsigned ind, bool init_if_missing);
948 arena_get(tsdn_t *tsdn, unsigned ind, bool init_if_missing)
992 size_t isalloc(tsdn_t *tsdn, const void *ptr, bool demote);
993 void *iallocztm(tsdn_t *tsdn, size_t size, szind_t ind, bool zero,
997 void *ipallocztm(tsdn_t *tsdn, size_t usize, size_t alignment, bool zero,
999 void *ipalloct(tsdn_t *tsdn, size_t usize, size_t alignment, bool zero,
1002 size_t ivsalloc(tsdn_t *tsdn, const void *ptr, bool demote);
1004 size_t p2rz(tsdn_t *tsdn, const void *ptr);
1005 void idalloctm(tsdn_t *tsdn, void *ptr, tcache_t *tcache, bool is_metadata
    [all...]
tcache.h 145 size_t tcache_salloc(tsdn_t *tsdn, const void *ptr);
147 void *tcache_alloc_small_hard(tsdn_t *tsdn, arena_t *arena, tcache_t *tcache,
153 void tcache_arena_reassociate(tsdn_t *tsdn, tcache_t *tcache,
156 tcache_t *tcache_create(tsdn_t *tsdn, arena_t *arena);
159 void tcache_stats_merge(tsdn_t *tsdn, tcache_t *tcache, arena_t *arena);
163 bool tcache_boot(tsdn_t *tsdn);
164 void tcache_prefork(tsdn_t *tsdn);
165 void tcache_postfork_parent(tsdn_t *tsdn);
166 void tcache_postfork_child(tsdn_t *tsdn);
tsd.h 16 typedef struct tsdn_s tsdn_t; typedef in typeref:struct:tsdn_s
18 #define TSDN_NULL ((tsdn_t *)0)
634 * between tsd_t and tsdn_t, where tsdn_t is "nullable" and has to be
672 tsdn_t *tsd_tsdn(tsd_t *tsd);
680 tsdn_t *tsdn_fetch(void);
681 bool tsdn_null(const tsdn_t *tsdn);
682 tsd_t *tsdn_tsd(tsdn_t *tsdn);
720 JEMALLOC_ALWAYS_INLINE tsdn_t *
724 return ((tsdn_t *)tsd)
    [all...]
  /external/jemalloc/src/
base.c 18 base_node_try_alloc(tsdn_t *tsdn)
33 base_node_dalloc(tsdn_t *tsdn, extent_node_t *node)
52 base_chunk_alloc(tsdn_t *tsdn, size_t minsize)
90 base_alloc(tsdn_t *tsdn, size_t size)
142 base_stats_get(tsdn_t *tsdn, size_t *allocated, size_t *resident,
169 base_prefork(tsdn_t *tsdn)
176 base_postfork_parent(tsdn_t *tsdn)
183 base_postfork_child(tsdn_t *tsdn)
huge.c 18 huge_node_set(tsdn_t *tsdn, const void *ptr, extent_node_t *node)
27 huge_node_reset(tsdn_t *tsdn, const void *ptr, extent_node_t *node)
43 huge_malloc(tsdn_t *tsdn, arena_t *arena, size_t usize, bool zero)
52 huge_palloc(tsdn_t *tsdn, arena_t *arena, size_t usize, size_t alignment,
152 huge_ralloc_no_move_similar(tsdn_t *tsdn, void *ptr, size_t oldsize,
215 huge_ralloc_no_move_shrink(tsdn_t *tsdn, void *ptr, size_t oldsize,
269 huge_ralloc_no_move_expand(tsdn_t *tsdn, void *ptr, size_t oldsize,
317 huge_ralloc_no_move(tsdn_t *tsdn, void *ptr, size_t oldsize, size_t usize_min,
369 huge_ralloc_move_helper(tsdn_t *tsdn, arena_t *arena, size_t usize,
410 huge_dalloc(tsdn_t *tsdn, void *ptr
    [all...]
mutex.c 114 malloc_mutex_prefork(tsdn_t *tsdn, malloc_mutex_t *mutex)
121 malloc_mutex_postfork_parent(tsdn_t *tsdn, malloc_mutex_t *mutex)
128 malloc_mutex_postfork_child(tsdn_t *tsdn, malloc_mutex_t *mutex)
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,
550 prof_gctx_create(tsdn_t *tsdn, prof_bt_t *bt)
612 prof_tctx_should_destroy(tsdn_t *tsdn, prof_tctx_t *tctx)
900 tsdn_t *tsdn;
1041 prof_tctx_merge_tdata(tsdn_t *tsdn, prof_tctx_t *tctx, prof_tdata_t *tdata)
1074 prof_tctx_merge_gctx(tsdn_t *tsdn, prof_tctx_t *tctx, prof_gctx_t *gctx)
1090 tsdn_t *tsdn = (tsdn_t *)arg
    [all...]
quarantine.c 16 static void quarantine_drain_one(tsdn_t *tsdn, quarantine_t *quarantine);
17 static void quarantine_drain(tsdn_t *tsdn, quarantine_t *quarantine,
23 quarantine_init(tsdn_t *tsdn, size_t lg_maxobjs)
97 quarantine_drain_one(tsdn_t *tsdn, quarantine_t *quarantine)
109 quarantine_drain(tsdn_t *tsdn, quarantine_t *quarantine, size_t upper_bound)
chunk.c 52 static void chunk_record(tsdn_t *tsdn, arena_t *arena,
67 chunk_hooks_get(tsdn_t *tsdn, arena_t *arena)
79 chunk_hooks_set(tsdn_t *tsdn, arena_t *arena, const chunk_hooks_t *chunk_hooks)
114 chunk_hooks_assure_initialized_impl(tsdn_t *tsdn, arena_t *arena,
128 chunk_hooks_assure_initialized_locked(tsdn_t *tsdn, arena_t *arena,
136 chunk_hooks_assure_initialized(tsdn_t *tsdn, arena_t *arena,
144 chunk_register(tsdn_t *tsdn, const void *chunk, const extent_node_t *node)
201 chunk_recycle(tsdn_t *tsdn, arena_t *arena, chunk_hooks_t *chunk_hooks,
337 chunk_alloc_core(tsdn_t *tsdn, arena_t *arena, void *new_addr, size_t size,
389 chunk_alloc_cache(tsdn_t *tsdn, arena_t *arena, chunk_hooks_t *chunk_hooks
    [all...]
arena.c 33 static void arena_chunk_dalloc(tsdn_t *tsdn, arena_t *arena,
35 static void arena_purge_to_limit(tsdn_t *tsdn, arena_t *arena,
37 static void arena_run_dalloc(tsdn_t *tsdn, arena_t *arena, arena_run_t *run,
39 static void arena_dalloc_bin_run(tsdn_t *tsdn, arena_t *arena,
571 arena_chunk_register(tsdn_t *tsdn, arena_t *arena, arena_chunk_t *chunk,
587 arena_chunk_alloc_internal_hard(tsdn_t *tsdn, arena_t *arena,
623 arena_chunk_alloc_internal(tsdn_t *tsdn, arena_t *arena, bool *zero,
653 arena_chunk_init_hard(tsdn_t *tsdn, arena_t *arena)
710 arena_chunk_alloc(tsdn_t *tsdn, arena_t *arena)
730 arena_chunk_discard(tsdn_t *tsdn, arena_t *arena, arena_chunk_t *chunk
    [all...]
tcache.c 30 tcache_salloc(tsdn_t *tsdn, const void *ptr)
77 tcache_alloc_small_hard(tsdn_t *tsdn, arena_t *arena, tcache_t *tcache,
259 tcache_arena_associate(tsdn_t *tsdn, tcache_t *tcache, arena_t *arena)
272 tcache_arena_dissociate(tsdn_t *tsdn, tcache_t *tcache, arena_t *arena)
296 tcache_arena_reassociate(tsdn_t *tsdn, tcache_t *tcache, arena_t *oldarena,
321 tcache_create(tsdn_t *tsdn, arena_t *arena)
423 tcache_stats_merge(tsdn_t *tsdn, tcache_t *tcache, arena_t *arena)
550 tcache_boot(tsdn_t *tsdn) {
601 tcache_prefork(tsdn_t *tsdn) {
608 tcache_postfork_parent(tsdn_t *tsdn)
    [all...]
ctl.c 49 static const ctl_named_node_t *n##_index(tsdn_t *tsdn, \
54 static void ctl_arena_stats_amerge(tsdn_t *tsdn, ctl_arena_stats_t *cstats,
58 static void ctl_arena_refresh(tsdn_t *tsdn, arena_t *arena, unsigned i);
59 static bool ctl_grow(tsdn_t *tsdn);
60 static void ctl_refresh(tsdn_t *tsdn);
61 static bool ctl_init(tsdn_t *tsdn);
62 static int ctl_lookup(tsdn_t *tsdn, const char *name,
120 static void arena_i_purge(tsdn_t *tsdn, unsigned arena_ind, bool all);
563 ctl_arena_stats_amerge(tsdn_t *tsdn, ctl_arena_stats_t *cstats, arena_t *arena)
659 ctl_arena_refresh(tsdn_t *tsdn, arena_t *arena, unsigned i
    [all...]
jemalloc.c 438 arena_init_locked(tsdn_t *tsdn, unsigned ind)
465 arena_init(tsdn_t *tsdn, unsigned ind)
751 tsdn_t *tsdn;
    [all...]
chunk_dss.c 97 chunk_alloc_dss(tsdn_t *tsdn, arena_t *arena, void *new_addr, size_t size,
  /external/jemalloc/test/unit/
witness.c 63 tsdn_t *tsdn;
91 tsdn_t *tsdn;
141 tsdn_t *tsdn;
173 tsdn_t *tsdn;
211 tsdn_t *tsdn;
238 tsdn_t *tsdn;
arena_reset.c 89 tsdn_t *tsdn;

Completed in 152 milliseconds

1 2