Lines Matching defs:pLinPtr
264 VBOXHGCMLINPTR *pLinPtr = &paLinPtrs[iLinPtr];
273 pLinPtr->iParm = iParm;
274 pLinPtr->offFirstPage = GCPtr & PAGE_OFFSET_MASK;
275 pLinPtr->cPages = cPages;
276 pLinPtr->paPages = *ppPages;
300 pLinPtr->paPages[iPage++] = GCPhys;
318 VBOXHGCMLINPTR *pLinPtr = &paLinPtrs[iLinPtr];
320 AssertLogRelReturn(u32Size > 0 && iParm == (uint32_t)pLinPtr->iParm, VERR_INVALID_PARAMETER);
322 RTGCPHYS GCPhysDst = pLinPtr->paPages[0] + pLinPtr->offFirstPage;
325 Log(("vmmdevHGCMWriteLinPtr: parm %d: size %d, cPages = %d\n", iParm, u32Size, pLinPtr->cPages));
329 while (iPage < pLinPtr->cPages)
333 PAGE_SIZE - pLinPtr->offFirstPage:
358 GCPhysDst = pLinPtr->paPages[iPage];
363 AssertLogRelReturn(iPage == pLinPtr->cPages, VERR_INVALID_PARAMETER);
1430 VBOXHGCMLINPTR *pLinPtr = &pCmd->paLinPtrs[iLinPtr];
1433 uint32_t offPage = pLinPtr->offFirstPage;
1436 for (iPage = 0; iPage < pLinPtr->cPages; iPage++)
1440 logRelLoadStateBufferSizeMismatch (size, iPage, pLinPtr->cPages);
1452 pLinPtr->paPages[iPage] + offPage,
1610 VBOXHGCMLINPTR *pLinPtr = &pCmd->paLinPtrs[iLinPtr];
1613 uint32_t offPage = pLinPtr->offFirstPage;
1616 for (iPage = 0; iPage < pLinPtr->cPages; iPage++)
1620 logRelLoadStateBufferSizeMismatch (size, iPage, pLinPtr->cPages);
1632 pLinPtr->paPages[iPage] + offPage,
2465 VBOXHGCMLINPTR *pLinPtr = &pIter->paLinPtrs[i];
2468 rc = SSMR3PutU32(pSSM, (uint32_t)pLinPtr->iParm);
2472 rc = SSMR3PutU32(pSSM, pLinPtr->offFirstPage);
2476 rc = SSMR3PutU32(pSSM, pLinPtr->cPages);
2480 for (iPage = 0; iPage < pLinPtr->cPages; iPage++)
2486 rc = SSMR3PutGCPhys(pSSM, pLinPtr->paPages[iPage]);
2615 VBOXHGCMLINPTR *pLinPtr = &pCmd->paLinPtrs[i];
2617 pLinPtr->paPages = pPages;
2622 pLinPtr->iParm = u32;
2627 pLinPtr->offFirstPage = u32;
2632 pLinPtr->cPages = u32;
2635 for (iPage = 0; iPage < pLinPtr->cPages; iPage++)