Home
last modified time | relevance | path

Searched refs:usize_max (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/jemalloc/src/
H A Dlarge.c220 size_t usize_max, bool zero) { in large_ralloc_no_move() argument
224 assert(usize_min > 0 && usize_max <= SC_LARGE_MAXCLASS); in large_ralloc_no_move()
227 && usize_max >= SC_LARGE_MINCLASS); in large_ralloc_no_move()
229 if (usize_max > oldusize) { in large_ralloc_no_move()
231 if (!large_ralloc_no_move_expand(tsdn, extent, usize_max, in large_ralloc_no_move()
237 if (usize_min < usize_max && usize_min > oldusize && in large_ralloc_no_move()
249 if (oldusize >= usize_min && oldusize <= usize_max) { in large_ralloc_no_move()
255 if (oldusize > usize_max) { in large_ralloc_no_move()
256 if (!large_ralloc_no_move_shrink(tsdn, extent, usize_max)) { in large_ralloc_no_move()
H A Djemalloc.c3326 size_t usize_max, usize; in ixallocx_prof() local
3339 usize_max = sz_s2u(size+extra); in ixallocx_prof()
3340 assert(usize_max > 0 in ixallocx_prof()
3341 && usize_max <= SC_LARGE_MAXCLASS); in ixallocx_prof()
3343 usize_max = sz_sa2u(size+extra, alignment); in ixallocx_prof()
3344 if (unlikely(usize_max == 0 in ixallocx_prof()
3345 || usize_max > SC_LARGE_MAXCLASS)) { in ixallocx_prof()
3352 usize_max = SC_LARGE_MAXCLASS; in ixallocx_prof()
3355 tctx = prof_alloc_prep(tsd, usize_max, prof_active, false); in ixallocx_prof()
H A Darena.c1753 size_t usize_max = sz_s2u(size + extra); in arena_ralloc_no_move() local
1762 if ((usize_max > SC_SMALL_MAXCLASS in arena_ralloc_no_move()
1763 || sz_size2index(usize_max) != sz_size2index(oldsize)) in arena_ralloc_no_move()
1764 && (size > oldsize || usize_max < oldsize)) { in arena_ralloc_no_move()
1772 && usize_max >= SC_LARGE_MINCLASS) { in arena_ralloc_no_move()
1773 ret = large_ralloc_no_move(tsdn, extent, usize_min, usize_max, in arena_ralloc_no_move()
/freebsd/contrib/jemalloc/include/jemalloc/internal/
H A Dlarge_externs.h10 size_t usize_max, bool zero);
/freebsd/contrib/jemalloc/
H A DChangeLog803 + Fix ixallocx_prof() to pass usize_max and zero to ixallocx_prof_sample()