Lines Matching defs:paLinPtrs
118 VBOXHGCMLINPTR *paLinPtrs;
259 VBOXHGCMLINPTR *paLinPtrs,
264 VBOXHGCMLINPTR *pLinPtr = &paLinPtrs[iLinPtr];
314 VBOXHGCMLINPTR *paLinPtrs)
318 VBOXHGCMLINPTR *pLinPtr = &paLinPtrs[iLinPtr];
484 pCmd->paLinPtrs = pSavedCmd->paLinPtrs;
486 /* The new allocated command owns the 'paLinPtrs' pointer. */
487 pSavedCmd->paLinPtrs = NULL;
508 pCmd->paLinPtrs = NULL;
582 pCmd->paLinPtrs = NULL;
614 pCmd->paLinPtrs = NULL;
816 pCmd->paLinPtrs = (VBOXHGCMLINPTR *)RTMemAllocZ( sizeof (VBOXHGCMLINPTR) * cLinPtrs
819 if (pCmd->paLinPtrs == NULL)
827 pCmd->paLinPtrs = NULL;
848 RTGCPHYS *pPages = (RTGCPHYS *)((uint8_t *)pCmd->paLinPtrs + sizeof (VBOXHGCMLINPTR) *cLinPtrs);
920 rc = vmmdevHGCMSaveLinPtr (pThis->pDevIns, i, linearAddr, size, iLinPtr, pCmd->paLinPtrs, &pPages);
1061 rc = vmmdevHGCMSaveLinPtr (pThis->pDevIns, i, linearAddr, size, iLinPtr, pCmd->paLinPtrs, &pPages);
1153 if (pCmd->paLinPtrs)
1155 RTMemFree (pCmd->paLinPtrs);
1416 /* The saved command already have the page list in pCmd->paLinPtrs.
1423 || pCmd->paLinPtrs[iLinPtr].iParm != iParm)
1425 logRelLoadStatePointerIndexMismatch (iParm, pCmd->paLinPtrs[iLinPtr].iParm, iLinPtr, pCmd->cLinPtrs);
1430 VBOXHGCMLINPTR *pLinPtr = &pCmd->paLinPtrs[iLinPtr];
1596 /* The saved command already have the page list in pCmd->paLinPtrs.
1603 || pCmd->paLinPtrs[iLinPtr].iParm != iParm)
1605 logRelLoadStatePointerIndexMismatch (iParm, pCmd->paLinPtrs[iLinPtr].iParm, iLinPtr, pCmd->cLinPtrs);
1610 VBOXHGCMLINPTR *pLinPtr = &pCmd->paLinPtrs[iLinPtr];
2049 size, iLinPtr, pCmd->paLinPtrs);
2157 rc = vmmdevHGCMWriteLinPtr (pThis->pDevIns, i, pHostParm->u.pointer.addr, size, iLinPtr, pCmd->paLinPtrs);
2265 rc = vmmdevHGCMWriteLinPtr (pThis->pDevIns, i, pHostParm->u.pointer.addr, size, iLinPtr, pCmd->paLinPtrs);
2367 if (pCmd->paLinPtrs)
2369 RTMemFree (pCmd->paLinPtrs);
2465 VBOXHGCMLINPTR *pLinPtr = &pIter->paLinPtrs[i];
2604 pCmd->paLinPtrs = (VBOXHGCMLINPTR *)RTMemAllocZ ( sizeof (VBOXHGCMLINPTR) * pCmd->cLinPtrs
2606 AssertReturn(pCmd->paLinPtrs, VERR_NO_MEMORY);
2608 RTGCPHYS *pPages = (RTGCPHYS *)((uint8_t *)pCmd->paLinPtrs + sizeof (VBOXHGCMLINPTR) * pCmd->cLinPtrs);
2615 VBOXHGCMLINPTR *pLinPtr = &pCmd->paLinPtrs[i];
2940 if (pCmd->paLinPtrs != NULL)
2942 RTMemFree(pCmd->paLinPtrs);
2954 if (pIter->paLinPtrs != NULL)
2956 RTMemFree(pIter->paLinPtrs);
2983 RTMemFree(pIter->paLinPtrs);