Searched refs:ALIGNMENT_CEILING (Results 1 – 9 of 9) sorted by relevance
/external/jemalloc_new/src/ |
D | base.c | 184 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()
|
D | extent_mmap.c | 24 void *ret = pages_map(new_addr, size, ALIGNMENT_CEILING(alignment, in extent_alloc_mmap()
|
D | pages.c | 63 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()
|
D | extent_dss.c | 151 void *ret = (void *)ALIGNMENT_CEILING( in extent_alloc_dss()
|
D | extent.c | 381 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/ |
D | base.c | 142 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()
|
D | pages.c | 14 hugepage = (void *)(ALIGNMENT_CEILING((uintptr_t)pages, HUGEPAGE)); in TEST_BEGIN()
|
/external/jemalloc_new/include/jemalloc/internal/ |
D | jemalloc_internal_types.h | 164 #define ALIGNMENT_CEILING(s, alignment) \ macro
|
D | sz.h | 283 usize = sz_s2u(ALIGNMENT_CEILING(size, alignment)); in sz_sa2u()
|