Searched refs:__align_up (Results 1 – 6 of 6) sorted by relevance
/picolibc-latest/newlib/libc/stdlib/ |
D | nano-malloc.c | 75 align_p = __align_up(p + MALLOC_HEAD, MALLOC_CHUNK_ALIGN) - MALLOC_HEAD; in __malloc_sbrk_aligned() 224 assert (__align_up(chunk_to_ptr(r), MALLOC_CHUNK_ALIGN) == chunk_to_ptr(r)); in __malloc_validate_block() 225 assert (__align_up(r, MALLOC_HEAD_ALIGN) == r); in __malloc_validate_block() 228 assert (__align_up(_size(r), MALLOC_HEAD_ALIGN) == _size(r)); in __malloc_validate_block()
|
D | nano-memalign.c | 66 s = __align_up(MAX(s,1), MALLOC_CHUNK_ALIGN); in memalign() 78 aligned_p = __align_up(allocated, align); in memalign()
|
D | nano-pvalloc.c | 40 return valloc(__align_up(s, MALLOC_PAGE_ALIGN)); in pvalloc()
|
D | nano-malloc.h | 108 #define MALLOC_MINSIZE __align_up(MALLOC_HEAD + sizeof(chunk_t), MALLOC_HEAD_ALIGN) 198 malloc_size = __align_up(malloc_size, MALLOC_CHUNK_ALIGN); in chunk_size()
|
/picolibc-latest/test/ |
D | tls.c | 219 char *non_tls_bss_start_latest = __align_up( in check_tls()
|
/picolibc-latest/newlib/libc/include/sys/ |
D | cdefs.h | 829 #define __align_up(x, y) __builtin_align_up(x, y) macro
|