Lines Matching refs:CHUNK_CEILING
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()
1067 void *nchunk = (void *)((uintptr_t)chunk + CHUNK_CEILING(oldsize)); in arena_chunk_ralloc_huge_expand()
1069 size_t cdiff = CHUNK_CEILING(usize) - CHUNK_CEILING(oldsize); in arena_chunk_ralloc_huge_expand()
1089 } else if (chunk_hooks.merge(chunk, CHUNK_CEILING(oldsize), nchunk, in arena_chunk_ralloc_huge_expand()