/freebsd/contrib/jemalloc/src/ |
H A D | sz.c | 10 for (unsigned i = 0; i < SC_NSIZES; i++) { 24 size_t sz_index2size_tab[SC_NSIZES]; in JEMALLOC_ALIGNED() 28 for (unsigned i = 0; i < SC_NSIZES; i++) { 46 for (unsigned sc_ind = 0; sc_ind < SC_NSIZES && dst_ind < dst_max;
|
H A D | large.c | 112 sz_size2index(usize), false, diff, SC_NSIZES, false); in large_ralloc_no_move_shrink() 157 CACHELINE, false, SC_NSIZES, &is_zeroed_trail, &commit)) != NULL in large_ralloc_no_move_expand() 160 CACHELINE, false, SC_NSIZES, &is_zeroed_trail, &commit)) != NULL) { in large_ralloc_no_move_expand() 167 SC_NSIZES, &is_zeroed_trail, &commit)) == NULL) { in large_ralloc_no_move_expand()
|
H A D | extent_dss.c | 157 gap_size_page, false, SC_NSIZES, in extent_alloc_dss() 202 size, false, SC_NSIZES, in extent_alloc_dss()
|
H A D | extent.c | 864 extent_rtree_write_acquired(tsdn, elm_a, elm_b, NULL, SC_NSIZES, false); in extent_deregister_impl() 1006 *lead, leadsize, SC_NSIZES, false, esize + trailsize, szind, in extent_split_interior() 1018 esize, szind, slab, trailsize, SC_NSIZES, false, in extent_split_interior() 1035 if (szind != SC_NSIZES) { in extent_split_interior() 1345 extent_init(extent, arena, ptr, alloc_size, false, SC_NSIZES, in extent_grow_retained() 1707 extent_szind_set(extent, SC_NSIZES); in extent_record() 2290 SC_NSIZES, false); in extent_merge_impl() 2294 SC_NSIZES, false); in extent_merge_impl() 2300 extent_szind_set(a, SC_NSIZES); in extent_merge_impl() 2305 extent_rtree_write_acquired(tsdn, a_elm_a, b_elm_b, a, SC_NSIZES, in extent_merge_impl()
|
H A D | base.c | 375 for (szind_t i = 0; i < SC_NSIZES; i++) { in base_new() 429 for (szind_t i = sz_size2index(asize); i < SC_NSIZES; i++) { in base_alloc_impl()
|
H A D | jemalloc.c | 2067 if (unlikely(ind >= SC_NSIZES)) { in imalloc_body() 2576 assert(alloc_ctx.szind != SC_NSIZES); in ifree() 2684 assert(alloc_ctx.szind != SC_NSIZES); in je_realloc() 2816 assert(alloc_ctx.szind != SC_NSIZES); in free_fastpath() 3245 assert(alloc_ctx.szind != SC_NSIZES); in je_rallocx() 3395 assert(alloc_ctx.szind != SC_NSIZES); in je_xallocx()
|
H A D | ctl.c | 787 memset(ctl_arena->astats->lstats, 0, (SC_NSIZES - SC_NBINS) * in ctl_arena_clear() 959 for (i = 0; i < SC_NSIZES - SC_NBINS; i++) { in ctl_arena_stats_sdmerge() 2569 CTL_RO_NL_GEN(arenas_nlextents, SC_NSIZES - SC_NBINS, unsigned) 2575 if (i > SC_NSIZES - SC_NBINS) { in arenas_lextent_i_index() 3052 if (j > SC_NSIZES - SC_NBINS) { in stats_arenas_i_lextents_j_index()
|
H A D | arena.c | 138 for (szind_t i = 0; i < SC_NSIZES - SC_NBINS; i++) { in arena_stats_merge() 1124 assert(alloc_ctx.szind != SC_NSIZES); in arena_reset()
|
/freebsd/contrib/jemalloc/include/jemalloc/internal/ |
H A D | sc.h | 198 #define SC_NSIZES (SC_NTINY + SC_NPSEUDO + SC_NREGULAR) macro 203 SC_NSIZES \ 321 sc_t sc[SC_NSIZES];
|
H A D | arena_inlines_b.h | 193 assert(szind != SC_NSIZES); in arena_salloc() 226 assert(szind != SC_NSIZES); in arena_vsalloc() 257 assert(szind < SC_NSIZES); in arena_dalloc_no_tcache() 302 assert(szind != SC_NSIZES); in arena_dalloc() 314 assert(szind < SC_NSIZES); in arena_dalloc()
|
H A D | sz.h | 34 extern size_t sz_index2size_tab[SC_NSIZES]; 123 return SC_NSIZES; in sz_size2index_compute() 206 assert(index < SC_NSIZES); in sz_index2size()
|
H A D | extent_inlines.h | 58 assert(szind <= SC_NSIZES); in extent_szind_get_maybe_invalid() 65 assert(szind < SC_NSIZES); /* Never call when "invalid". */ in extent_szind_get() 260 assert(szind <= SC_NSIZES); /* SC_NSIZES means "invalid". */ in extent_szind_set() 398 extent_szind_set(extent, SC_NSIZES); in extent_binit()
|
H A D | base_structs.h | 49 extent_heap_t avail[SC_NSIZES];
|
H A D | tcache_structs.h | 59 cache_bin_t bins_large[SC_NSIZES-SC_NBINS];
|
H A D | rtree.h | 34 #if RTREE_NHIB >= LG_CEIL(SC_NSIZES) 264 assert(szind <= SC_NSIZES); in rtree_leaf_elm_szind_write() 432 return SC_NSIZES; in rtree_szind_read() 525 rtree_leaf_elm_write(tsdn, rtree, elm, NULL, SC_NSIZES, false); in rtree_clear()
|
H A D | bitmap.h | 12 #if LG_SLAB_MAXREGS > LG_CEIL(SC_NSIZES) 17 # define LG_BITMAP_MAXBITS LG_CEIL(SC_NSIZES)
|
H A D | extent_structs.h | 119 #define EXTENT_BITS_SZIND_WIDTH LG_CEIL(SC_NSIZES)
|
H A D | ctl.h | 46 arena_stats_large_t lstats[SC_NSIZES - SC_NBINS];
|
H A D | arena_stats.h | 124 arena_stats_large_t lstats[SC_NSIZES - SC_NBINS];
|