Lines Matching refs:align
973 * care about addr_lo, addr_hi, and align. addr_hi will be dynamically set.
1317 contig_alloc(size_t size, ddi_dma_attr_t *attr, uintptr_t align, int cansleep)
1330 if (align <= PAGESIZE)
1334 addr = vmem_xalloc(heap_arena, asize, align, 0, 0, NULL, NULL,
1337 ASSERT(!((uintptr_t)addr & (align - 1)));
1349 if (pgcnt > 1 || align > PAGESIZE)
1409 kalloca(size_t size, size_t align, int cansleep, int physcontig,
1421 align = MAX(align, hdrsize);
1422 ASSERT((align & (align - 1)) == 0);
1430 rsize = P2ROUNDUP_TYPED(size + align, KA_ALIGN, size_t);
1433 if (addr = contig_alloc(size, attr, align, cansleep)) {
1492 addr = (size_t *)P2ROUNDUP((uintptr_t)raddr + hdrsize, align);