Lines Matching refs:align
12 static void *z_heap_aligned_alloc(struct k_heap *heap, size_t align, size_t size) in z_heap_aligned_alloc() argument
27 __align = align | sizeof(heap_ref); in z_heap_aligned_alloc()
37 __ASSERT(align == 0 || ((uintptr_t)mem & (align - 1)) == 0, in z_heap_aligned_alloc()
38 "misaligned memory at %p (align = %zu)", mem, align); in z_heap_aligned_alloc()
65 void *k_aligned_alloc(size_t align, size_t size) in k_aligned_alloc() argument
67 __ASSERT(align / sizeof(void *) >= 1 in k_aligned_alloc()
68 && (align % sizeof(void *)) == 0, in k_aligned_alloc()
71 __ASSERT((align & (align - 1)) == 0, in k_aligned_alloc()
76 void *ret = z_heap_aligned_alloc(_SYSTEM_HEAP, align, size); in k_aligned_alloc()
160 void *z_thread_aligned_alloc(size_t align, size_t size) in z_thread_aligned_alloc() argument
172 ret = z_heap_aligned_alloc(heap, align, size); in z_thread_aligned_alloc()