Lines Matching defs:cLinPtrs
110 int cLinPtrs;
113 * Only valid if cLinPtrs > 0. This field simplifies loading of saved state.
482 pCmd->cLinPtrs = pSavedCmd->cLinPtrs;
507 pCmd->cLinPtrs = 0;
581 pCmd->cLinPtrs = 0;
613 pCmd->cLinPtrs = 0;
666 uint32_t cLinPtrs = 0;
698 cLinPtrs++;
762 cLinPtrs++;
811 pCmd->cLinPtrs = cLinPtrs;
814 if (cLinPtrs > 0)
816 pCmd->paLinPtrs = (VBOXHGCMLINPTR *)RTMemAllocZ( sizeof (VBOXHGCMLINPTR) * cLinPtrs
848 RTGCPHYS *pPages = (RTGCPHYS *)((uint8_t *)pCmd->paLinPtrs + sizeof (VBOXHGCMLINPTR) *cLinPtrs);
1164 static void logRelLoadStatePointerIndexMismatch (uint32_t iParm, uint32_t iSavedParm, int iLinPtr, int cLinPtrs)
1167 (int)iParm, (int)iSavedParm, iLinPtr, cLinPtrs));
1210 int32_t cLinPtrs = 0;
1236 cLinPtrs++;
1288 cLinPtrs++;
1323 if ( pSavedCmd->cLinPtrs != cLinPtrs
1327 pSavedCmd->cLinPtrs, cLinPtrs, pSavedCmd->cLinPtrPages, cLinPtrPages));
1422 if ( iLinPtr >= pCmd->cLinPtrs
1425 logRelLoadStatePointerIndexMismatch (iParm, pCmd->paLinPtrs[iLinPtr].iParm, iLinPtr, pCmd->cLinPtrs);
1602 if ( iLinPtr >= pCmd->cLinPtrs
1605 logRelLoadStatePointerIndexMismatch (iParm, pCmd->paLinPtrs[iLinPtr].iParm, iLinPtr, pCmd->cLinPtrs);
2451 rc = SSMR3PutU32(pSSM, (uint32_t)pIter->cLinPtrs);
2454 if (pIter->cLinPtrs > 0)
2462 for (i = 0; i < pIter->cLinPtrs; i++)
2595 pCmd->cLinPtrs = u32;
2597 if (pCmd->cLinPtrs > 0)
2604 pCmd->paLinPtrs = (VBOXHGCMLINPTR *)RTMemAllocZ ( sizeof (VBOXHGCMLINPTR) * pCmd->cLinPtrs
2608 RTGCPHYS *pPages = (RTGCPHYS *)((uint8_t *)pCmd->paLinPtrs + sizeof (VBOXHGCMLINPTR) * pCmd->cLinPtrs);
2612 for (i = 0; i < pCmd->cLinPtrs; i++)
2650 cPages, pCmd->cLinPtrPages, i, pCmd->cLinPtrs));