| /src/external/bsd/jemalloc/dist/include/jemalloc/internal/ |
| jemalloc_internal_inlines_b.h | 18 /* Set new arena/tcache associations. */ 20 tcache_t *tcache = tcache_get(tsd); local 21 if (tcache != NULL) { 24 tcache, newarena); local 50 tcache_t *tcache = tsd_tcachep_get(tsd); local 57 tcache_slow, tcache, ret); local 61 tcache_slow, tcache, ret); local
|
| tcache_structs.h | 11 * The tcache state is split into the slow and hot path data. Each has a 14 * tcache, and as part of a dynamic allocation for manual allocations. Keeping 16 * splitting up the tcache [de]allocation code into those paths called with the 17 * TSD tcache and those called with a manual tcache. 26 * tcache definition. This enables arenas to aggregate stats across 27 * tcaches without having a tcache dependency. 31 /* The arena this tcache is associated with. */ 52 tcache_t *tcache; member in struct:tcache_slow_s 60 /* Linkage for list of available (previously used) explicit tcache IDs. * 63 tcache_t *tcache; member in union:tcaches_s::__anon6764 [all...] |
| arena_inlines_b.h | 146 tcache_t *tcache, bool slow_path) { 147 assert(!tsdn_null(tsdn) || tcache == NULL); 149 if (likely(tcache != NULL)) { 152 tcache, size, ind, zero, slow_path); 156 tcache, size, ind, zero, slow_path); 281 arena_dalloc_large(tsdn_t *tsdn, void *ptr, tcache_t *tcache, szind_t szind, 285 arena_dalloc_promoted(tsdn, ptr, tcache, slow_path); 287 tcache_dalloc_large(tsdn_tsd(tsdn), tcache, ptr, szind, local 302 arena_dalloc(tsdn_t *tsdn, void *ptr, tcache_t *tcache, 304 assert(!tsdn_null(tsdn) || tcache == NULL) 331 tcache_dalloc_small(tsdn_tsd(tsdn), tcache, ptr, local 418 tcache_dalloc_small(tsdn_tsd(tsdn), tcache, ptr, local [all...] |
| /src/external/bsd/jemalloc/include/jemalloc/internal/ |
| jemalloc_internal_inlines_b.h | 18 /* Set new arena/tcache associations. */ 20 tcache_t *tcache = tcache_get(tsd); local 21 if (tcache != NULL) { 24 tcache, newarena); local 50 tcache_t *tcache = tsd_tcachep_get(tsd); local 57 tcache_slow, tcache, ret); local 61 tcache_slow, tcache, ret); local
|
| tcache_structs.h | 11 * The tcache state is split into the slow and hot path data. Each has a 14 * tcache, and as part of a dynamic allocation for manual allocations. Keeping 16 * splitting up the tcache [de]allocation code into those paths called with the 17 * TSD tcache and those called with a manual tcache. 26 * tcache definition. This enables arenas to aggregate stats across 27 * tcaches without having a tcache dependency. 31 /* The arena this tcache is associated with. */ 52 tcache_t *tcache; member in struct:tcache_slow_s 60 /* Linkage for list of available (previously used) explicit tcache IDs. * 63 tcache_t *tcache; member in union:tcaches_s::__anon6843 [all...] |
| arena_inlines_b.h | 146 tcache_t *tcache, bool slow_path) { 147 assert(!tsdn_null(tsdn) || tcache == NULL); 149 if (likely(tcache != NULL)) { 152 tcache, size, ind, zero, slow_path); 156 tcache, size, ind, zero, slow_path); 281 arena_dalloc_large(tsdn_t *tsdn, void *ptr, tcache_t *tcache, szind_t szind, 285 arena_dalloc_promoted(tsdn, ptr, tcache, slow_path); 287 tcache_dalloc_large(tsdn_tsd(tsdn), tcache, ptr, szind, local 302 arena_dalloc(tsdn_t *tsdn, void *ptr, tcache_t *tcache, 304 assert(!tsdn_null(tsdn) || tcache == NULL) 331 tcache_dalloc_small(tsdn_tsd(tsdn), tcache, ptr, local 418 tcache_dalloc_small(tsdn_tsd(tsdn), tcache, ptr, local [all...] |
| /src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/ |
| arena_inlines_a.h | 48 /* Set new arena/tcache associations. */ 50 tcache_t *tcache = tcache_get(tsd); local 51 if (tcache != NULL) { 52 tcache_arena_reassociate(tsd_tsdn(tsd), tcache, local
|
| jemalloc_internal_inlines_b.h | 25 tcache_t *tcache = tcache_get(tsd); local 26 if (tcache->arena != NULL) { 28 assert(tcache->arena == 30 if (tcache->arena != ret) { 32 tcache, ret); local 35 tcache_arena_associate(tsd_tsdn(tsd), tcache, local
|
| tcache_structs.h | 21 * During tcache initialization, the avail pointer in each element of 34 * tcache definition. This enables arenas to aggregate stats across 35 * tcaches without having a tcache dependency. 39 /* The arena this tcache is associated with. */ 53 /* Linkage for list of available (previously used) explicit tcache IDs. */ 56 tcache_t *tcache; member in union:tcaches_s::__anon6872
|
| /src/external/bsd/jemalloc.old/include/jemalloc/internal/ |
| arena_inlines_a.h | 48 /* Set new arena/tcache associations. */ 50 tcache_t *tcache = tcache_get(tsd); local 51 if (tcache != NULL) { 52 tcache_arena_reassociate(tsd_tsdn(tsd), tcache, local
|
| jemalloc_internal_inlines_b.h | 25 tcache_t *tcache = tcache_get(tsd); local 26 if (tcache->arena != NULL) { 28 assert(tcache->arena == 30 if (tcache->arena != ret) { 32 tcache, ret); local 35 tcache_arena_associate(tsd_tsdn(tsd), tcache, local
|
| tcache_structs.h | 21 * During tcache initialization, the avail pointer in each element of 34 * tcache definition. This enables arenas to aggregate stats across 35 * tcaches without having a tcache dependency. 39 /* The arena this tcache is associated with. */ 53 /* Linkage for list of available (previously used) explicit tcache IDs. */ 56 tcache_t *tcache; member in union:tcaches_s::__anon6925
|
| /src/external/bsd/jemalloc.old/dist/src/ |
| tcache.c | 16 static unsigned stack_nelms; /* Total stack elms per tcache. */ 40 tcache_event_hard(tsd_t *tsd, tcache_t *tcache) { 41 szind_t binind = tcache->next_gc_bin; 45 tbin = tcache_small_bin_get(tcache, binind); 47 tbin = tcache_large_bin_get(tcache, binind); 54 tcache_bin_flush_small(tsd, tcache, tbin, binind, 63 (tcache->lg_fill_div[binind] + 1)) >= 1) { 64 tcache->lg_fill_div[binind]++; 68 - tbin->low_water + (tbin->low_water >> 2), tcache); 75 if (binind < NBINS && tcache->lg_fill_div[binind] > 1) 393 tcache_t *tcache = tsd_tcachep_get_unsafe(tsd); local 419 tcache_arena_associate(tsd_tsdn(tsd), tcache, arena); local 424 tcache_arena_associate(tsd_tsdn(tsd), tcache, arena); local 435 tcache_t *tcache; local 454 tcache_arena_associate(tsd_tsdn(tsd), tcache, arena_ichoose(tsd, NULL)); local 496 tcache_arena_dissociate(tsd_tsdn(tsd), tcache); local 506 idalloctm(tsd_tsdn(tsd), tcache, NULL, NULL, true, true); local 513 tcache_t *tcache = tsd_tcachep_get(tsd); local 591 tcache_t *tcache = tcache_create_explicit(tsd); local 625 tcache_t *tcache = elm->tcache; local 633 tcache_t *tcache = tcaches_elm_remove(tsd, &tcaches[ind]); local 644 tcache_t *tcache = tcaches_elm_remove(tsd, elm); local [all...] |
| arena.c | 1253 arena_tcache_fill_small(tsdn_t *tsdn, arena_t *arena, tcache_t *tcache, 1266 tcache->lg_fill_div[binind]); i < nfill; i++) { 1393 bool zero, tcache_t *tcache) { 1400 zero, tcache, true); 1452 arena_dalloc_promoted(tsdn_t *tsdn, void *ptr, tcache_t *tcache, 1460 tcache_dalloc_large(tsdn_tsd(tsdn), tcache, ptr, local 1622 size_t alignment, bool zero, tcache_t *tcache) { 1625 zero, tcache, true); 1631 return ipalloct(tsdn, usize, alignment, zero, tcache, arena); 1636 size_t size, size_t alignment, bool zero, tcache_t *tcache) { 2019 tcache_t *tcache = tcache_get(tsdn_tsd(tsdn)); local [all...] |
| jemalloc.c | 674 * individual threads do not lock when recording tcache stats 682 tcache_t *tcache; local 685 ql_foreach(tcache, &arena->tcache_ql, link) { 686 tcache_stats_merge(tsdn, tcache, arena); 1175 CONF_HANDLE_BOOL(opt_tcache, "tcache") 1706 tcache_t *tcache; local 1709 /* Fill in the tcache. */ 1712 /* Getting tcache ptr unconditionally. */ 1713 tcache = tsd_tcachep_get(tsd); 1714 assert(tcache == tcache_get(tsd)) 2254 idalloctm(tsd_tsdn(tsd), ptr, tcache, &alloc_ctx, false, local 2257 idalloctm(tsd_tsdn(tsd), ptr, tcache, &alloc_ctx, false, local 2312 isdalloct(tsd_tsdn(tsd), ptr, usize, tcache, ctx, false); local 2314 isdalloct(tsd_tsdn(tsd), ptr, usize, tcache, ctx, true); local 2423 tcache_t *tcache; local 2704 tcache_t *tcache; local 2965 tcache_t *tcache; local 3027 tcache_t *tcache; local [all...] |
| /src/external/bsd/jemalloc/dist/src/ |
| tcache.c | 24 * We attempt to make the number of slots in a tcache bin for a given size class 26 * the multiplier is 2 (i.e. we set the maximum number of objects in the tcache 34 * Number of allocation bytes between tcache incremental GCs. Again, this 62 /* Total stack size required (per tcache). Include the padding above. */ 123 tcache_gc_small(tsd_t *tsd, tcache_slow_t *tcache_slow, tcache_t *tcache, 128 cache_bin_t *cache_bin = &tcache->bins[szind]; 148 tcache_bin_flush_small(tsd, tcache, cache_bin, szind, 162 tcache_gc_large(tsd_t *tsd, tcache_slow_t *tcache_slow, tcache_t *tcache, 166 cache_bin_t *cache_bin = &tcache->bins[szind]; 171 tcache_bin_flush_large(tsd, tcache, cache_bin, szind 177 tcache_t *tcache = tcache_get(tsd); local 711 tcache_t *tcache = tsd_tcachep_get_unsafe(tsd); local 737 tcache_arena_associate(tsd_tsdn(tsd), tcache_slow, tcache, local 744 tcache, arena); local 771 tcache_t *tcache = (void *)((uintptr_t)mem + tcache_bin_alloc_size); local 776 tcache_arena_associate(tsd_tsdn(tsd), tcache_slow, tcache, local 811 tcache_arena_dissociate(tsd_tsdn(tsd), tcache_slow, tcache); local 843 tcache_t *tcache = tsd_tcachep_get(tsd); local 920 tcache_t *tcache = tcache_create_explicit(tsd); local 953 tcache_t *tcache = elm->tcache; local 969 tcache_t *tcache = tcaches_elm_remove(tsd, &tcaches[ind], true); local 981 tcache_t *tcache = tcaches_elm_remove(tsd, elm, false); local [all...] |
| arena.c | 151 /* Currently cached bytes and sanitizer-stashed bytes in tcache. */ 1210 bool zero, tcache_t *tcache) { 1225 zero, tcache, true); 1270 arena_dalloc_promoted(tsdn_t *tsdn, void *ptr, tcache_t *tcache, 1286 if (bumped_usize <= tcache_maxclass && tcache != NULL) { 1287 tcache_dalloc_large(tsdn_tsd(tsdn), tcache, ptr, local 1444 size_t alignment, bool zero, tcache_t *tcache) { 1447 zero, tcache, true); 1453 return ipalloct(tsdn, usize, alignment, zero, tcache, arena); 1458 size_t size, size_t alignment, bool zero, tcache_t *tcache, 1870 tcache_t *tcache = tcache_slow->tcache; local [all...] |
| jemalloc.c | 672 * individual threads do not lock when recording tcache stats 686 tcache_slow->tcache, arena); 1400 CONF_HANDLE_BOOL(opt_tcache, "tcache") 2359 tcache_t *tcache; local 2362 /* Getting tcache ptr unconditionally. */ 2363 tcache = tsd_tcachep_get(tsd); 2364 assert(tcache == tcache_get(tsd)); 2367 tcache = tcache_get(tsd); 2369 tcache = NULL; 2373 * Should not specify tcache on deallocation path when bein 2411 tcache_t *tcache = tcache_get_from_ind(tsd, dopts->tcache_ind, local 2914 idalloctm(tsd_tsdn(tsd), ptr, tcache, &alloc_ctx, false, local 2920 idalloctm(tsd_tsdn(tsd), ptr, tcache, &alloc_ctx, false, local 3009 isdalloct(tsd_tsdn(tsd), ptr, usize, tcache, &alloc_ctx, local 3015 isdalloct(tsd_tsdn(tsd), ptr, usize, tcache, &alloc_ctx, local 3038 tcache_t *tcache = tcache_get_from_ind(tsd, local 3043 tcache_t *tcache = tcache_get_from_ind(tsd, local 3164 tcache_t *tcache = tcache_get_from_ind(tsd, TCACHE_IND_AUTOMATIC, local 3542 tcache_t *tcache = tcache_get_from_ind(tsd, tcache_ind, local 3626 tcache_t *tcache = tcache_get_from_ind(tsd, local 3907 tcache_t *tcache = tcache_get_from_ind(tsd, tcache_ind, !fast, local 3945 tcache_t *tcache = tcache_get_from_ind(tsd, tcache_ind, !fast, local 4236 tcache_t *tcache = tcache_get_from_ind(tsd, local [all...] |
| /src/sys/compat/linux/arch/aarch64/ |
| linux_syscallargs.h | 775 syscallarg(struct linux_getcpu_cache *) tcache; member in struct:linux_sys_getcpu_args
|
| /src/sys/compat/linux/arch/alpha/ |
| linux_syscallargs.h | 1246 syscallarg(struct linux_getcpu_cache *) tcache; member in struct:linux_sys_getcpu_args
|
| /src/sys/compat/linux/arch/amd64/ |
| linux_syscallargs.h | 1271 syscallarg(struct linux_getcpu_cache *) tcache; member in struct:linux_sys_getcpu_args
|
| /src/sys/compat/linux/arch/arm/ |
| linux_syscallargs.h | 1210 syscallarg(struct linux_getcpu_cache *) tcache; member in struct:linux_sys_getcpu_args
|
| /src/sys/compat/linux/arch/i386/ |
| linux_syscallargs.h | 1249 syscallarg(struct linux_getcpu_cache *) tcache; member in struct:linux_sys_getcpu_args
|
| /src/sys/compat/linux/arch/m68k/ |
| linux_syscallargs.h | 1201 syscallarg(struct linux_getcpu_cache *) tcache; member in struct:linux_sys_getcpu_args
|
| /src/sys/compat/linux/arch/mips/ |
| linux_syscallargs.h | 1248 syscallarg(struct linux_getcpu_cache *) tcache; member in struct:linux_sys_getcpu_args
|