Home
last modified time | relevance | path

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

/src/contrib/jemalloc/include/jemalloc/internal/
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_info_get() argument
52 if (alloc_ctx == NULL) { in arena_prof_info_get()
56 } else if (unlikely(!(is_slab = alloc_ctx->slab))) { in arena_prof_info_get()
76 emap_alloc_ctx_t *alloc_ctx) { in arena_prof_tctx_reset() argument
81 if (alloc_ctx == NULL) { in arena_prof_tctx_reset()
88 if (unlikely(!alloc_ctx->slab)) { in arena_prof_tctx_reset()
175 emap_alloc_ctx_t alloc_ctx; in arena_salloc() local
176 emap_alloc_ctx_lookup(tsdn, &arena_emap_global, ptr, &alloc_ctx); in arena_salloc()
177 assert(alloc_ctx.szind != SC_NSIZES); in arena_salloc()
179 return sz_index2size(alloc_ctx.szind); in arena_salloc()
[all …]
H A Dprof_inlines.h65 prof_info_get(tsd_t *tsd, const void *ptr, emap_alloc_ctx_t *alloc_ctx, in prof_info_get() argument
71 arena_prof_info_get(tsd, ptr, alloc_ctx, prof_info, false); in prof_info_get()
76 emap_alloc_ctx_t *alloc_ctx, prof_info_t *prof_info) { in prof_info_get_and_reset_recent() argument
81 arena_prof_info_get(tsd, ptr, alloc_ctx, prof_info, true); in prof_info_get_and_reset_recent()
85 prof_tctx_reset(tsd_t *tsd, const void *ptr, emap_alloc_ctx_t *alloc_ctx) { in prof_tctx_reset() argument
89 arena_prof_tctx_reset(tsd, ptr, alloc_ctx); in prof_tctx_reset()
149 emap_alloc_ctx_t *alloc_ctx, prof_tctx_t *tctx) { in prof_malloc() argument
157 prof_tctx_reset(tsd, ptr, alloc_ctx); in prof_malloc()
248 emap_alloc_ctx_t *alloc_ctx) { in prof_free() argument
250 prof_info_get_and_reset_recent(tsd, ptr, alloc_ctx, &prof_info); in prof_free()
H A Demap.h235 emap_alloc_ctx_t *alloc_ctx) { in emap_alloc_ctx_lookup() argument
240 alloc_ctx->szind = metadata.szind; in emap_alloc_ctx_lookup()
241 alloc_ctx->slab = metadata.slab; in emap_alloc_ctx_lookup()
285 emap_alloc_ctx_t *alloc_ctx) { in emap_alloc_ctx_try_lookup_fast() argument
295 alloc_ctx->szind = metadata.szind; in emap_alloc_ctx_try_lookup_fast()
296 alloc_ctx->slab = metadata.slab; in emap_alloc_ctx_try_lookup_fast()
311 typedef void (*emap_metadata_visitor)(void *ctx, emap_full_alloc_ctx_t *alloc_ctx);
344 emap_full_alloc_ctx_t alloc_ctx; in emap_edata_lookup_batch() local
350 alloc_ctx.szind = contents.metadata.szind; in emap_edata_lookup_batch()
351 alloc_ctx.slab = contents.metadata.slab; in emap_edata_lookup_batch()
[all …]
H A Djemalloc_internal_inlines_c.h107 emap_alloc_ctx_t *alloc_ctx, bool is_internal, bool slow_path) { in idalloctm() argument
120 arena_dalloc(tsdn, ptr, tcache, alloc_ctx, slow_path); in idalloctm()
130 emap_alloc_ctx_t *alloc_ctx, bool slow_path) { in isdalloct() argument
133 arena_sdalloc(tsdn, ptr, size, tcache, alloc_ctx, slow_path); in isdalloct()
/src/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 Dtcache.c254 emap_full_alloc_ctx_t *alloc_ctx) { in tcache_bin_flush_metadata_visitor() argument
256 *szind_sum -= alloc_ctx->szind; in tcache_bin_flush_metadata_visitor()
257 util_prefetch_write_range(alloc_ctx->edata, sizeof(edata_t)); in tcache_bin_flush_metadata_visitor()
H A Darena.c684 emap_alloc_ctx_t alloc_ctx; in arena_reset() local
686 &alloc_ctx); in arena_reset()
687 assert(alloc_ctx.szind != SC_NSIZES); in arena_reset()
690 usize = sz_index2size(alloc_ctx.szind); in arena_reset()
695 prof_free(tsd, ptr, usize, &alloc_ctx); in arena_reset()
/src/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()