Lines Matching defs:align
139 memalign(size_t align, size_t size_arg)
149 if (size_arg == 0 || align == 0 || (align & (align - 1)) != 0) {
157 if (align <= UMEM_ALIGN ||
158 (align <= UMEM_SECOND_ALIGN && size_arg >= UMEM_SECOND_ALIGN))
167 ASSERT(overhead <= align);
170 phase = align - overhead;
182 buf = vmem_xalloc(umem_memalign_arena, size, align, phase,
186 if ((size_arg + align) <= UMEM_MAXBUF)
212 ASSERT(P2PHASE((uintptr_t)ret, align) == 0);