Searched refs:alloc_ctx (Results 1 – 5 of 5) sorted by relevance
| /f-stack/app/redis-5.0.5/deps/jemalloc/include/jemalloc/internal/ |
| H A D | arena_inlines_b.h | 17 if (alloc_ctx == NULL) { in arena_prof_tctx_get() 23 if (unlikely(!alloc_ctx->slab)) { in arena_prof_tctx_get() 37 if (alloc_ctx == NULL) { in arena_prof_tctx_set() 43 if (unlikely(!alloc_ctx->slab)) { in arena_prof_tctx_set() 203 if (alloc_ctx != NULL) { in arena_dalloc() 204 szind = alloc_ctx->szind; in arena_dalloc() 205 slab = alloc_ctx->slab; in arena_dalloc() 302 if (alloc_ctx == NULL) { in arena_sdalloc() 311 alloc_ctx = &local_ctx; in arena_sdalloc() 313 slab = alloc_ctx->slab; in arena_sdalloc() [all …]
|
| H A D | prof_inlines_b.h | 40 prof_tctx_get(tsdn_t *tsdn, const void *ptr, alloc_ctx_t *alloc_ctx) { in prof_tctx_get() argument 44 return arena_prof_tctx_get(tsdn, ptr, alloc_ctx); in prof_tctx_get() 49 alloc_ctx_t *alloc_ctx, prof_tctx_t *tctx) { in prof_tctx_set() argument 53 arena_prof_tctx_set(tsdn, ptr, usize, alloc_ctx, tctx); in prof_tctx_set() 122 prof_malloc(tsdn_t *tsdn, const void *ptr, size_t usize, alloc_ctx_t *alloc_ctx, in prof_malloc() argument 131 prof_tctx_set(tsdn, ptr, usize, alloc_ctx, in prof_malloc() 195 prof_free(tsd_t *tsd, const void *ptr, size_t usize, alloc_ctx_t *alloc_ctx) { in prof_free() argument 196 prof_tctx_t *tctx = prof_tctx_get(tsd_tsdn(tsd), ptr, alloc_ctx); in prof_free()
|
| H A D | jemalloc_internal_inlines_c.h | 104 idalloctm(tsdn_t *tsdn, void *ptr, tcache_t *tcache, alloc_ctx_t *alloc_ctx, in idalloctm() argument 118 arena_dalloc(tsdn, ptr, tcache, alloc_ctx, slow_path); in idalloctm() 128 alloc_ctx_t *alloc_ctx, bool slow_path) { in isdalloct() argument 131 arena_sdalloc(tsdn, ptr, size, tcache, alloc_ctx, slow_path); in isdalloct()
|
| /f-stack/app/redis-5.0.5/deps/jemalloc/src/ |
| H A D | jemalloc.c | 2204 alloc_ctx_t alloc_ctx; in ifree() local 2207 (uintptr_t)ptr, true, &alloc_ctx.szind, &alloc_ctx.slab); in ifree() 2252 ctx = &alloc_ctx; in isfree() 2265 (uintptr_t)ptr, true, &alloc_ctx.szind, &alloc_ctx.slab); in isfree() 2267 ctx = &alloc_ctx; in isfree() 2325 (uintptr_t)ptr, true, &alloc_ctx.szind, &alloc_ctx.slab); in je_realloc() 2333 &alloc_ctx); in je_realloc() 2701 alloc_ctx_t alloc_ctx; in je_rallocx() local 2704 (uintptr_t)ptr, true, &alloc_ctx.szind, &alloc_ctx.slab); in je_rallocx() 2845 alloc_ctx_t alloc_ctx; in je_xallocx() local [all …]
|
| H A D | arena.c | 982 alloc_ctx_t alloc_ctx; in arena_reset() local 985 (uintptr_t)ptr, true, &alloc_ctx.szind, &alloc_ctx.slab); in arena_reset() 986 assert(alloc_ctx.szind != NSIZES); in arena_reset() 989 usize = sz_index2size(alloc_ctx.szind); in arena_reset() 994 prof_free(tsd, ptr, usize, &alloc_ctx); in arena_reset()
|