Home
last modified time | relevance | path

Searched refs:usize_max (Results 1 – 5 of 5) 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/include/jemalloc/internal/
Dhuge.h16 size_t usize_min, size_t usize_max, bool zero);
/external/jemalloc/
DChangeLog293 + Fix ixallocx_prof() to pass usize_max and zero to ixallocx_prof_sample()