Home
last modified time | relevance | path

Searched refs:CHUNK_CEILING (Results 1 – 8 of 8) sorted by relevance

/external/jemalloc/src/
Dhuge.c165 ptr, CHUNK_CEILING(oldsize), usize, sdiff); in huge_ralloc_no_move_similar()
211 cdiff = CHUNK_CEILING(oldsize) - CHUNK_CEILING(usize); in huge_ralloc_no_move_shrink()
212 if (cdiff != 0 && chunk_hooks.split(ptr, CHUNK_CEILING(oldsize), in huge_ralloc_no_move_shrink()
213 CHUNK_CEILING(usize), cdiff, true, arena->ind)) in huge_ralloc_no_move_shrink()
225 CHUNK_CEILING(oldsize), in huge_ralloc_no_move_shrink()
274 CHUNK_CEILING(oldsize) - oldsize); in huge_ralloc_no_move_expand()
278 CHUNK_CEILING(oldsize)), 0, usize - in huge_ralloc_no_move_expand()
279 CHUNK_CEILING(oldsize)); in huge_ralloc_no_move_expand()
302 if (CHUNK_CEILING(usize_max) > CHUNK_CEILING(oldsize)) { in huge_ralloc_no_move()
310 if (usize_min < usize_max && CHUNK_CEILING(usize_min) > in huge_ralloc_no_move()
[all …]
Dandroid_je_iterate.c41 uintptr_t end = CHUNK_CEILING(base + size); in je_iterate()
71 ptr = CHUNK_CEILING(ptr + extent_node_size_get(node)); in je_iterate()
Darena.c380 size_t cactive_add = CHUNK_CEILING((arena->nactive + in arena_nactive_add()
381 add_pages) << LG_PAGE) - CHUNK_CEILING(arena->nactive << in arena_nactive_add()
394 size_t cactive_sub = CHUNK_CEILING(arena->nactive << LG_PAGE) - in arena_nactive_sub()
395 CHUNK_CEILING((arena->nactive - sub_pages) << LG_PAGE); in arena_nactive_sub()
922 size_t csize = CHUNK_CEILING(usize); in arena_chunk_alloc_huge()
950 csize = CHUNK_CEILING(usize); in arena_chunk_dalloc_huge()
967 assert(CHUNK_CEILING(oldsize) == CHUNK_CEILING(usize)); in arena_chunk_ralloc_huge_similar()
985 size_t cdiff = CHUNK_CEILING(oldsize) - CHUNK_CEILING(usize); in arena_chunk_ralloc_huge_shrink()
998 CHUNK_CEILING(usize)); in arena_chunk_ralloc_huge_shrink()
1025 } else if (chunk_hooks->merge(chunk, CHUNK_CEILING(oldsize), nchunk, in arena_chunk_ralloc_huge_expand_hard()
[all …]
Dbase.c52 csize = CHUNK_CEILING(minsize + nsize); in base_chunk_alloc()
Dchunk.c193 assert(size == CHUNK_CEILING(size)); in chunk_first_best_fit()
218 alloc_size = CHUNK_CEILING(s2u(size + alignment - chunksize)); in chunk_recycle()
/external/jemalloc/include/jemalloc/internal/
Dchunk.h23 #define CHUNK_CEILING(s) \ macro
Djemalloc_internal.h757 alignment = CHUNK_CEILING(alignment); in sa2u()
Djemalloc_internal.h.in757 alignment = CHUNK_CEILING(alignment);