Lines Matching refs:align_amount
688 size_t align_amount;
742 align_amount = ELF_386_MAXPGSZ;
756 align_amount = LEVEL_SIZE(lvl);
758 if ((flags & MAP_ALIGN) && ((uintptr_t)*addrp > align_amount))
759 align_amount = (uintptr_t)*addrp;
761 ASSERT(ISP2(align_amount));
762 ASSERT(align_amount == 0 || align_amount >= PAGESIZE);
764 off = off & (align_amount - 1);
770 if (as_gap_aligned(as, len, &base, &slen, AH_HI, NULL, align_amount,
787 addr = (caddr_t)((uintptr_t)addr & (~(align_amount - 1)));
790 addr -= align_amount;
804 addr -= P2ALIGN(slew, align_amount);
809 ASSERT(((uintptr_t)addr & (align_amount - 1)) ==