Searched refs:CHUNK_CEILING (Results 1 – 8 of 8) sorted by relevance
/external/jemalloc/src/ |
D | huge.c | 165 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 …]
|
D | android_je_iterate.c | 41 uintptr_t end = CHUNK_CEILING(base + size); in je_iterate() 71 ptr = CHUNK_CEILING(ptr + extent_node_size_get(node)); in je_iterate()
|
D | arena.c | 380 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 …]
|
D | base.c | 52 csize = CHUNK_CEILING(minsize + nsize); in base_chunk_alloc()
|
D | chunk.c | 193 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/ |
D | chunk.h | 23 #define CHUNK_CEILING(s) \ macro
|
D | jemalloc_internal.h | 757 alignment = CHUNK_CEILING(alignment); in sa2u()
|
D | jemalloc_internal.h.in | 757 alignment = CHUNK_CEILING(alignment);
|