Lines Matching refs:align
810 * Allocate size bytes at offset phase from an align boundary such that the
815 vmem_xalloc(vmem_t *vmp, size_t size, size_t align, size_t phase,
825 if (phase > 0 && phase >= align)
828 (void *)vmp, size, align, phase, nocross,
831 if (align == 0)
832 align = vmp->vm_quantum;
834 if ((align | phase | nocross) & (vmp->vm_quantum - 1)) {
837 (void *)vmp, size, align, phase, nocross,
842 (align > nocross || P2ROUNDUP(phase + size, align) > nocross)) {
845 (void *)vmp, size, align, phase, nocross,
919 taddr = P2PHASEUP(start, align, phase);
922 P2ROUNDUP(P2NPHASE(taddr, nocross), align);
938 MAX(align, vmp->vm_source->vm_quantum));
966 addr = P2PHASEUP(vbest->vs_start, align, phase);
986 ASSERT(P2PHASE(addr, align) == phase);
997 (void *)vmp, size, align, phase, nocross,