Lines Matching refs:alignment
22 * n: alignment
39 /* Use MALLOCX_ALIGN_GET() if alignment may not be specified in flags. */
85 #define ALIGNMENT_ADDR2BASE(a, alignment) \
86 ((void *)((uintptr_t)(a) & ((~(alignment)) + 1)))
89 #define ALIGNMENT_ADDR2OFFSET(a, alignment) \
90 ((size_t)((uintptr_t)(a) & (alignment - 1)))
92 /* Return the smallest alignment multiple that is >= s. */
93 #define ALIGNMENT_CEILING(s, alignment) \
94 (((s) + (alignment - 1)) & ((~(alignment)) + 1))