Home
last modified time | relevance | path

Searched refs:CHUNK_CEILING (Results 1 – 6 of 6) sorted by relevance

/redis-3.2.3/deps/jemalloc/src/
H A Dhuge.c158 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()
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()
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()
[all …]
H A Dbase.c52 csize = CHUNK_CEILING(minsize + nsize); in base_chunk_alloc()
H A Darena.c371 ssize_t cactive_diff = CHUNK_CEILING((arena->nactive + add_pages in arena_cactive_update()
372 - sub_pages) << LG_PAGE) - CHUNK_CEILING(arena->nactive << in arena_cactive_update()
904 size_t csize = CHUNK_CEILING(usize); in arena_chunk_alloc_huge()
934 csize = CHUNK_CEILING(usize); in arena_chunk_dalloc_huge()
952 assert(CHUNK_CEILING(oldsize) == CHUNK_CEILING(usize)); in arena_chunk_ralloc_huge_similar()
977 size_t cdiff = CHUNK_CEILING(oldsize) - CHUNK_CEILING(usize); in arena_chunk_ralloc_huge_shrink()
992 CHUNK_CEILING(usize)); in arena_chunk_ralloc_huge_shrink()
1019 } else if (chunk_hooks->merge(chunk, CHUNK_CEILING(oldsize), nchunk, in arena_chunk_ralloc_huge_expand_hard()
1034 void *nchunk = (void *)((uintptr_t)chunk + CHUNK_CEILING(oldsize)); in arena_chunk_ralloc_huge_expand()
1036 size_t cdiff = CHUNK_CEILING(usize) - CHUNK_CEILING(oldsize); in arena_chunk_ralloc_huge_expand()
[all …]
H A Dchunk.c193 assert(size == CHUNK_CEILING(size)); in chunk_first_best_fit()
218 alloc_size = CHUNK_CEILING(s2u(size + alignment - chunksize)); in chunk_recycle()
/redis-3.2.3/deps/jemalloc/include/jemalloc/internal/
H A Dchunk.h19 #define CHUNK_CEILING(s) \ macro
H A Djemalloc_internal.h.in732 alignment = CHUNK_CEILING(alignment);