Lines Matching refs:iPage
262 * @returns NIL_RTHCPHYS if the iPage is out of range.
265 * @param iPage The page number within the object.
273 RTR0DECL(RTHCPHYS) RTR0MemObjGetPagePhysAddr(RTR0MEMOBJ MemObj, size_t iPage)
285 if (iPage >= cPages)
287 /* permit: while (RTR0MemObjGetPagePhysAddr(pMem, iPage++) != NIL_RTHCPHYS) {} */
288 if (iPage == cPages)
290 AssertReturn(iPage < (pMem->cb >> PAGE_SHIFT), NIL_RTHCPHYS);
297 return pMem->u.Cont.Phys + iPage * PAGE_SIZE;
299 return pMem->u.Phys.PhysBase + iPage * PAGE_SIZE;
304 return rtR0MemObjNativeGetPagePhysAddr(pMem, iPage);