Home
last modified time | relevance | path

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

/external/jemalloc/src/
Dhuge.c153 size_t usize_min, size_t usize_max, bool zero) in huge_ralloc_no_move_similar() argument
162 for (usize = usize_min; usize < usize_max && (usize_next = s2u(usize+1)) in huge_ralloc_no_move_similar()
318 size_t usize_max, bool zero) in huge_ralloc_no_move() argument
323 assert(usize_min > 0 && usize_max <= HUGE_MAXCLASS); in huge_ralloc_no_move()
326 if (oldsize < chunksize || usize_max < chunksize) in huge_ralloc_no_move()
329 if (CHUNK_CEILING(usize_max) > CHUNK_CEILING(oldsize)) { in huge_ralloc_no_move()
331 if (!huge_ralloc_no_move_expand(tsdn, ptr, oldsize, usize_max, in huge_ralloc_no_move()
337 if (usize_min < usize_max && CHUNK_CEILING(usize_min) > in huge_ralloc_no_move()
350 && CHUNK_CEILING(oldsize) <= CHUNK_CEILING(usize_max)) { in huge_ralloc_no_move()
352 usize_max, zero); in huge_ralloc_no_move()
[all …]
Darena.c3093 void *ptr, size_t oldsize, size_t usize_min, size_t usize_max, bool zero) in arena_ralloc_large_grow() argument
3117 usize = usize_max; in arena_ralloc_large_grow()
3217 size_t usize_max, bool zero) in arena_ralloc_large() argument
3222 if (oldsize == usize_max) { in arena_ralloc_large()
3230 if (oldsize < usize_max) { in arena_ralloc_large()
3232 oldsize, usize_min, usize_max, zero); in arena_ralloc_large()
3246 assert(oldsize > usize_max); in arena_ralloc_large()
3248 arena_ralloc_junk_large(ptr, oldsize, usize_max); in arena_ralloc_large()
3249 arena_ralloc_large_shrink(tsdn, arena, chunk, ptr, oldsize, usize_max); in arena_ralloc_large()
3257 size_t usize_min, usize_max; in arena_ralloc_no_move() local
[all …]
Djemalloc.c2479 size_t usize_max, usize; local
2492 usize_max = s2u(size+extra);
2493 assert(usize_max > 0 && usize_max <= HUGE_MAXCLASS);
2495 usize_max = sa2u(size+extra, alignment);
2496 if (unlikely(usize_max == 0 || usize_max > HUGE_MAXCLASS)) {
2503 usize_max = HUGE_MAXCLASS;
2506 tctx = prof_alloc_prep(tsd, usize_max, prof_active, false);
/external/jemalloc_new/src/
Dlarge.c228 size_t usize_max, bool zero) { in large_ralloc_no_move() argument
232 assert(usize_min > 0 && usize_max <= LARGE_MAXCLASS); in large_ralloc_no_move()
234 assert(oldusize >= LARGE_MINCLASS && usize_max >= LARGE_MINCLASS); in large_ralloc_no_move()
236 if (usize_max > oldusize) { in large_ralloc_no_move()
238 if (!large_ralloc_no_move_expand(tsdn, extent, usize_max, in large_ralloc_no_move()
244 if (usize_min < usize_max && usize_min > oldusize && in large_ralloc_no_move()
256 if (oldusize >= usize_min && oldusize <= usize_max) { in large_ralloc_no_move()
262 if (oldusize > usize_max) { in large_ralloc_no_move()
263 if (!large_ralloc_no_move_shrink(tsdn, extent, usize_max)) { in large_ralloc_no_move()
Djemalloc.c2798 size_t usize_max, usize; local
2811 usize_max = sz_s2u(size+extra);
2812 assert(usize_max > 0 && usize_max <= LARGE_MAXCLASS);
2814 usize_max = sz_sa2u(size+extra, alignment);
2815 if (unlikely(usize_max == 0 || usize_max > LARGE_MAXCLASS)) {
2822 usize_max = LARGE_MAXCLASS;
2825 tctx = prof_alloc_prep(tsd, usize_max, prof_active, false);
Darena.c1597 size_t usize_max = sz_s2u(size + extra); in arena_ralloc_no_move() local
1605 if ((usize_max > SMALL_MAXCLASS || sz_size2index(usize_max) != in arena_ralloc_no_move()
1606 sz_size2index(oldsize)) && (size > oldsize || usize_max < in arena_ralloc_no_move()
1613 } else if (oldsize >= LARGE_MINCLASS && usize_max >= LARGE_MINCLASS) { in arena_ralloc_no_move()
1614 return large_ralloc_no_move(tsdn, extent, usize_min, usize_max, in arena_ralloc_no_move()
/external/jemalloc/include/jemalloc/internal/
Dhuge.h16 size_t usize_min, size_t usize_max, bool zero);
/external/jemalloc_new/include/jemalloc/internal/
Dlarge_externs.h8 size_t usize_max, bool zero);
/external/jemalloc/
DChangeLog293 + Fix ixallocx_prof() to pass usize_max and zero to ixallocx_prof_sample()
/external/jemalloc_new/
DChangeLog667 + Fix ixallocx_prof() to pass usize_max and zero to ixallocx_prof_sample()