Lines Matching refs:CHUNK_CEILING
158 ptr, CHUNK_CEILING(oldsize), usize, sdiff); in huge_ralloc_no_move_similar()
204 cdiff = CHUNK_CEILING(oldsize) - CHUNK_CEILING(usize); in huge_ralloc_no_move_shrink()
205 if (cdiff != 0 && chunk_hooks.split(ptr, CHUNK_CEILING(oldsize), in huge_ralloc_no_move_shrink()
206 CHUNK_CEILING(usize), cdiff, true, arena->ind)) in huge_ralloc_no_move_shrink()
218 CHUNK_CEILING(oldsize), in huge_ralloc_no_move_shrink()
267 CHUNK_CEILING(oldsize) - oldsize); in huge_ralloc_no_move_expand()
271 CHUNK_CEILING(oldsize)), 0, usize - in huge_ralloc_no_move_expand()
272 CHUNK_CEILING(oldsize)); in huge_ralloc_no_move_expand()
293 if (CHUNK_CEILING(usize_max) > CHUNK_CEILING(oldsize)) { in huge_ralloc_no_move()
298 if (usize_min < usize_max && CHUNK_CEILING(usize_min) > in huge_ralloc_no_move()
299 CHUNK_CEILING(oldsize) && huge_ralloc_no_move_expand(ptr, in huge_ralloc_no_move()
308 if (CHUNK_CEILING(oldsize) >= CHUNK_CEILING(usize_min) in huge_ralloc_no_move()
309 && CHUNK_CEILING(oldsize) <= CHUNK_CEILING(usize_max)) { in huge_ralloc_no_move()
316 if (CHUNK_CEILING(oldsize) > CHUNK_CEILING(usize_max)) in huge_ralloc_no_move()