Lines Matching refs:cdiff
894 size_t cdiff = CHUNK_CEILING(oldsize) - CHUNK_CEILING(usize); in arena_chunk_ralloc_huge_shrink() local
899 if (cdiff != 0) { in arena_chunk_ralloc_huge_shrink()
900 arena->stats.mapped -= cdiff; in arena_chunk_ralloc_huge_shrink()
906 if (cdiff != 0) { in arena_chunk_ralloc_huge_shrink()
912 chunk_dalloc_cache(arena, nchunk, cdiff); in arena_chunk_ralloc_huge_shrink()
917 cdiff); in arena_chunk_ralloc_huge_shrink()
926 size_t cdiff) in arena_chunk_ralloc_huge_expand_hard() argument
930 err = (chunk_alloc_wrapper(arena, chunk_alloc, nchunk, cdiff, chunksize, in arena_chunk_ralloc_huge_expand_hard()
938 arena->stats.mapped -= cdiff; in arena_chunk_ralloc_huge_expand_hard()
954 size_t cdiff = CHUNK_CEILING(usize) - CHUNK_CEILING(oldsize); in arena_chunk_ralloc_huge_expand() local
961 arena->stats.mapped += cdiff; in arena_chunk_ralloc_huge_expand()
967 err = (chunk_alloc_cache(arena, nchunk, cdiff, chunksize, zero, in arena_chunk_ralloc_huge_expand()
974 oldsize, usize, zero, nchunk, udiff, cdiff); in arena_chunk_ralloc_huge_expand()