Home
last modified time | relevance | path

Searched refs:alloc_ctx (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/jemalloc/include/jemalloc/internal/
H A Dprof_inlines_b.h
H A Darena_inlines_b.h42 arena_prof_info_get(tsd_t *tsd, const void *ptr, emap_alloc_ctx_t *alloc_ctx, in arena_prof_tctx_get()
52 if (alloc_ctx == NULL) { in arena_prof_tctx_get()
56 } else if (unlikely(!(is_slab = alloc_ctx->slab))) {
76 emap_alloc_ctx_t *alloc_ctx) { in arena_prof_tctx_reset()
81 if (alloc_ctx == NULL) { in arena_prof_tctx_reset()
88 if (unlikely(!alloc_ctx->slab)) { in arena_prof_alloc_time_get() argument
175 emap_alloc_ctx_t alloc_ctx; in arena_malloc()
176 emap_alloc_ctx_lookup(tsdn, &arena_emap_global, ptr, &alloc_ctx); in arena_malloc()
177 assert(alloc_ctx.szind != SC_NSIZES); in arena_malloc()
179 return sz_index2size(alloc_ctx
38 arena_prof_tctx_get(tsdn_t * tsdn,const void * ptr,alloc_ctx_t * alloc_ctx) arena_prof_tctx_get() argument
58 arena_prof_tctx_set(tsdn_t * tsdn,const void * ptr,size_t usize,alloc_ctx_t * alloc_ctx,prof_tctx_t * tctx) arena_prof_tctx_set() argument
102 arena_prof_alloc_time_set(tsdn_t * tsdn,const void * ptr,alloc_ctx_t * alloc_ctx,nstime_t t) arena_prof_alloc_time_set() argument
287 arena_dalloc(tsdn_t * tsdn,void * ptr,tcache_t * tcache,alloc_ctx_t * alloc_ctx,bool slow_path) arena_dalloc() argument
372 arena_sdalloc(tsdn_t * tsdn,void * ptr,size_t size,tcache_t * tcache,alloc_ctx_t * alloc_ctx,bool slow_path) arena_sdalloc() argument
[all...]
H A Djemalloc_internal_inlines_c.h107 emap_alloc_ctx_t *alloc_ctx, bool is_internal, bool slow_path) { in idalloctm()
120 arena_dalloc(tsdn, ptr, tcache, alloc_ctx, slow_path);
130 emap_alloc_ctx_t *alloc_ctx, bool slow_path) { in isdalloct()
133 arena_sdalloc(tsdn, ptr, size, tcache, alloc_ctx, slow_path);
104 idalloctm(tsdn_t * tsdn,void * ptr,tcache_t * tcache,alloc_ctx_t * alloc_ctx,bool is_internal,bool slow_path) idalloctm() argument
128 isdalloct(tsdn_t * tsdn,void * ptr,size_t size,tcache_t * tcache,alloc_ctx_t * alloc_ctx,bool slow_path) isdalloct() argument
/freebsd/contrib/jemalloc/src/
H A Djemalloc.c2557 emap_alloc_ctx_t alloc_ctx; in imalloc_body() local
2559 alloc_ctx.slab = (usize <= SC_SMALL_MAXCLASS); in imalloc_body()
2565 alloc_ctx.slab = false; in imalloc_body()
2574 prof_malloc(tsd, allocation, size, usize, &alloc_ctx, tctx); in imalloc_body()
2880 emap_alloc_ctx_t alloc_ctx; in ifree() local
2882 &alloc_ctx); in ifree()
2883 assert(alloc_ctx.szind != SC_NSIZES); in ifree()
2885 size_t usize = sz_index2size(alloc_ctx.szind); in ifree()
2887 prof_free(tsd, ptr, usize, &alloc_ctx); in ifree()
2891 idalloctm(tsd_tsdn(tsd), ptr, tcache, &alloc_ctx, false, in ifree()
[all …]
H A Darena.c684 emap_alloc_ctx_t alloc_ctx; in arena_decay_init()
686 &alloc_ctx); in arena_decay_init()
687 assert(alloc_ctx.szind != SC_NSIZES); in arena_decay_init()
690 usize = sz_index2size(alloc_ctx.szind); in arena_decay_init()
695 prof_free(tsd, ptr, usize, &alloc_ctx); in arena_decay_init()
1120 alloc_ctx_t alloc_ctx; arena_reset() local
/freebsd/crypto/openssl/providers/implementations/keymgmt/
H A Dslh_dsa_kmgmt.c303 int alloc_ctx = 0; in slh_dsa_fips140_pairwise_test() local
313 alloc_ctx = 1; in slh_dsa_fips140_pairwise_test()
342 if (alloc_ctx) in slh_dsa_fips140_pairwise_test()