Lines Matching refs:cdiff
985 size_t cdiff = CHUNK_CEILING(oldsize) - CHUNK_CEILING(usize); in arena_chunk_ralloc_huge_shrink() local
990 if (cdiff != 0) in arena_chunk_ralloc_huge_shrink()
991 arena->stats.mapped -= cdiff; in arena_chunk_ralloc_huge_shrink()
995 if (cdiff != 0) { in arena_chunk_ralloc_huge_shrink()
1000 chunk_dalloc_cache(arena, &chunk_hooks, nchunk, cdiff, true); in arena_chunk_ralloc_huge_shrink()
1008 size_t udiff, size_t cdiff) in arena_chunk_ralloc_huge_expand_hard() argument
1013 err = (chunk_alloc_wrapper(arena, chunk_hooks, nchunk, cdiff, chunksize, in arena_chunk_ralloc_huge_expand_hard()
1021 arena->stats.mapped -= cdiff; in arena_chunk_ralloc_huge_expand_hard()
1026 cdiff, true, arena->ind)) { in arena_chunk_ralloc_huge_expand_hard()
1027 chunk_dalloc_wrapper(arena, chunk_hooks, nchunk, cdiff, *zero, in arena_chunk_ralloc_huge_expand_hard()
1042 size_t cdiff = CHUNK_CEILING(usize) - CHUNK_CEILING(oldsize); in arena_chunk_ralloc_huge_expand() local
1049 arena->stats.mapped += cdiff; in arena_chunk_ralloc_huge_expand()
1053 err = (chunk_alloc_cache(arena, &chunk_hooks, nchunk, cdiff, chunksize, in arena_chunk_ralloc_huge_expand()
1059 cdiff); in arena_chunk_ralloc_huge_expand()
1061 cdiff, true, arena->ind)) { in arena_chunk_ralloc_huge_expand()
1062 chunk_dalloc_wrapper(arena, &chunk_hooks, nchunk, cdiff, *zero, in arena_chunk_ralloc_huge_expand()