Lines Matching defs:align
149 memalign(size_t align, size_t size_arg)
159 if (size_arg == 0 || align == 0 || (align & (align - 1)) != 0) {
167 if (align <= UMEM_ALIGN ||
168 (align <= UMEM_SECOND_ALIGN && size_arg >= UMEM_SECOND_ALIGN))
177 ASSERT(overhead <= align);
180 phase = align - overhead;
192 buf = vmem_xalloc(umem_memalign_arena, size, align, phase,
196 if ((size_arg + align) <= UMEM_MAXBUF)
222 ASSERT(P2PHASE((uintptr_t)ret, align) == 0);