Home
last modified time | relevance | path

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

/external/jemalloc_new/src/
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()
Dextent_mmap.c24 void *ret = pages_map(new_addr, size, ALIGNMENT_CEILING(alignment, in extent_alloc_mmap()
Dpages.c63 assert(ALIGNMENT_CEILING(size, os_page) == size); in os_pages_map()
144 assert(ALIGNMENT_CEILING(size, os_page) == size); in os_pages_unmap()
182 size_t leadsize = ALIGNMENT_CEILING((uintptr_t)pages, alignment) in pages_map_slow()
Dextent_dss.c151 void *ret = (void *)ALIGNMENT_CEILING( in extent_alloc_dss()
Dextent.c381 uintptr_t next_align = ALIGNMENT_CEILING((uintptr_t)base, in extents_fit_alignment()
960 size_t leadsize = ALIGNMENT_CEILING((uintptr_t)extent_base_get(*extent), in extent_split_interior()
/external/jemalloc_new/test/unit/
Dbase.c142 size_t align_ceil = ALIGNMENT_CEILING(alignment, in TEST_BEGIN()
148 (void *)(ALIGNMENT_CEILING((uintptr_t)p, in TEST_BEGIN()
204 (void *)(ALIGNMENT_CEILING((uintptr_t)p, in TEST_BEGIN()
Dpages.c14 hugepage = (void *)(ALIGNMENT_CEILING((uintptr_t)pages, HUGEPAGE)); in TEST_BEGIN()
/external/jemalloc_new/include/jemalloc/internal/
Djemalloc_internal_types.h164 #define ALIGNMENT_CEILING(s, alignment) \ macro
Dsz.h283 usize = sz_s2u(ALIGNMENT_CEILING(size, alignment)); in sz_sa2u()