Lines Matching refs:align
932 * Allocate size bytes at offset phase from an align boundary such that the
943 uintptr_t align = (align_arg != 0) ? align_arg : vmp->vm_quantum;
949 if ((align | phase | nocross) & (vmp->vm_quantum - 1))
956 (align > nocross || P2ROUNDUP(phase + size, align) > nocross))
962 if (phase >= align || !ISP2(align) || !ISP2(nocross))
1036 taddr = P2PHASEUP(start, align, phase);
1039 P2ROUNDUP(P2NPHASE(taddr, nocross), align);
1059 if ((align > aquantum) &&
1062 align - vmp->vm_quantum : align - aquantum;
1093 align <= vmp->vm_source->vm_quantum)
1106 &asize, align, vmflag & VM_KMFLAGS);
1111 IS_P2ALIGNED(vaddr, align));
1118 aneeded = size + align - vmp->vm_quantum;
1139 addr = P2PHASEUP(vbest->vs_start, align, phase);
1175 addr += ((vbest->vs_end - (addr + size)) / align) *
1176 align;
1182 ASSERT(P2PHASE(addr, align) == phase);