Lines Matching defs:poff
2692 * poff fault_offset |
2709 ulong_t poff;
2731 poff = ((base + offset) & ~(pg - 1));
2732 uvaddr = dhp->dh_uvaddr + (poff - base);
2733 if ((poff >= base) &&
2734 ((poff + pg) <= (base + dhp->dh_len)) &&
2735 VA_PA_ALIGNED((uintptr_t)uvaddr, poff, pg))
2740 "devmap_roundup: base=%lx poff=%lx dhp=%p",
2741 base, poff, dhp);
2742 DEBUGF(2, (CE_CONT, "devmap_roundup: base %lx poff %lx pfn %lx\n",
2743 base, poff, dhp->dh_pfn));
2745 ASSERT(VA_PA_ALIGNED((uintptr_t)uvaddr, poff, pg));
2749 *opfn = dhp->dh_pfn + btop(poff - base);
2751 rlen = len + offset - (poff - base + pg);