Searched refs:CHUNK_CEILING (Results 1 – 8 of 8) sorted by relevance
/external/jemalloc/src/ |
D | huge.c | 182 &chunk_hooks, ptr, CHUNK_CEILING(oldsize), usize, in huge_ralloc_no_move_similar() 232 cdiff = CHUNK_CEILING(oldsize) - CHUNK_CEILING(usize); in huge_ralloc_no_move_shrink() 233 if (cdiff != 0 && chunk_hooks.split(ptr, CHUNK_CEILING(oldsize), in huge_ralloc_no_move_shrink() 234 CHUNK_CEILING(usize), cdiff, true, arena->ind)) in huge_ralloc_no_move_shrink() 246 usize), CHUNK_CEILING(oldsize), in huge_ralloc_no_move_shrink() 301 CHUNK_CEILING(oldsize) - oldsize); in huge_ralloc_no_move_expand() 305 CHUNK_CEILING(oldsize)), 0, usize - in huge_ralloc_no_move_expand() 306 CHUNK_CEILING(oldsize)); in huge_ralloc_no_move_expand() 329 if (CHUNK_CEILING(usize_max) > CHUNK_CEILING(oldsize)) { in huge_ralloc_no_move() 337 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 | 359 size_t cactive_add = CHUNK_CEILING((arena->nactive + in arena_nactive_add() 360 add_pages) << LG_PAGE) - CHUNK_CEILING(arena->nactive << in arena_nactive_add() 373 size_t cactive_sub = CHUNK_CEILING(arena->nactive << LG_PAGE) - in arena_nactive_sub() 374 CHUNK_CEILING((arena->nactive - sub_pages) << LG_PAGE); in arena_nactive_sub() 946 size_t csize = CHUNK_CEILING(usize); in arena_chunk_alloc_huge() 976 csize = CHUNK_CEILING(usize); in arena_chunk_dalloc_huge() 993 assert(CHUNK_CEILING(oldsize) == CHUNK_CEILING(usize)); in arena_chunk_ralloc_huge_similar() 1011 size_t cdiff = CHUNK_CEILING(oldsize) - CHUNK_CEILING(usize); in arena_chunk_ralloc_huge_shrink() 1024 CHUNK_CEILING(usize)); in arena_chunk_ralloc_huge_shrink() 1052 } else if (chunk_hooks->merge(chunk, CHUNK_CEILING(oldsize), nchunk, in arena_chunk_ralloc_huge_expand_hard() [all …]
|
D | base.c | 63 csize = CHUNK_CEILING(minsize + nsize); in base_chunk_alloc()
|
D | chunk.c | 194 assert(size == CHUNK_CEILING(size)); in chunk_first_best_fit() 211 assert(CHUNK_CEILING(size) == size); in chunk_recycle() 222 alloc_size = size + CHUNK_CEILING(alignment) - chunksize; in chunk_recycle()
|
/external/jemalloc/include/jemalloc/internal/ |
D | chunk.h | 23 #define CHUNK_CEILING(s) \ macro
|
D | jemalloc_internal.h | 868 alignment = CHUNK_CEILING(alignment); in sa2u()
|
D | jemalloc_internal.h.in | 868 alignment = CHUNK_CEILING(alignment);
|