Home
last modified time | relevance | path

Searched refs:ALIGNMENT_CEILING (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/jemalloc/src/
H A Dbase.c184 assert(alignment == ALIGNMENT_CEILING(alignment, QUANTUM)); in base_extent_bump_alloc_helper()
185 assert(size == ALIGNMENT_CEILING(size, alignment)); in base_extent_bump_alloc_helper()
187 *gap_size = ALIGNMENT_CEILING((uintptr_t)extent_addr_get(extent), in base_extent_bump_alloc_helper()
251 alignment = ALIGNMENT_CEILING(alignment, QUANTUM); in base_block_alloc()
252 size_t usize = ALIGNMENT_CEILING(size, alignment); in base_block_alloc()
254 size_t gap_size = ALIGNMENT_CEILING(header_size, alignment) - in base_block_alloc()
361 size_t base_size = ALIGNMENT_CEILING(sizeof(base_t), base_alignment); in base_new()
424 size_t usize = ALIGNMENT_CEILING(size, alignment); in base_alloc_impl()
H A Dextent_dss.c116 assert(alignment == ALIGNMENT_CEILING(alignment, PAGE)); in extent_alloc_dss()
151 void *ret = (void *)ALIGNMENT_CEILING( in extent_alloc_dss()
H A Dextent_mmap.c24 assert(alignment == ALIGNMENT_CEILING(alignment, PAGE)); in extent_alloc_mmap()
H A Dpages.c58 assert(ALIGNMENT_CEILING(size, os_page) == size); in os_pages_map()
132 assert(ALIGNMENT_CEILING(size, os_page) == size); in os_pages_unmap()
170 size_t leadsize = ALIGNMENT_CEILING((uintptr_t)pages, alignment) in pages_map_slow()
H A Dextent.c422 uintptr_t next_align = ALIGNMENT_CEILING((uintptr_t)base, in extents_fit_alignment()
989 size_t leadsize = ALIGNMENT_CEILING((uintptr_t)extent_base_get(*extent), in extent_split_interior()
1265 ALIGNMENT_CEILING(alignment, PAGE), zero, commit); in extent_alloc_default()
1501 size_t palignment = ALIGNMENT_CEILING(alignment, PAGE); in extent_alloc_wrapper_hard()
/freebsd/contrib/jemalloc/include/jemalloc/internal/
H A Djemalloc_internal_types.h93 #define ALIGNMENT_CEILING(s, alignment) \ macro
H A Dsz.h284 usize = sz_s2u(ALIGNMENT_CEILING(size, alignment)); in sz_sa2u()