Lines Matching defs:pvDataRead
353 void *pvDataRead = pvScratchBuf;
363 pvDataRead = RTMemAlloc(cbToRead);
364 if (!pvDataRead)
369 rc = RTFileRead(pFile->hFile, pvDataRead, cbToRead, &cbRead);
378 int rc2 = VbglR3GuestCtrlFileCbRead(pHostCtx, rc, pvDataRead, (uint32_t)cbRead);
380 && pvDataRead)
381 RTMemFree(pvDataRead);
413 void *pvDataRead = pvScratchBuf;
423 pvDataRead = RTMemAlloc(cbToRead);
424 if (!pvDataRead)
429 rc = RTFileReadAt(pFile->hFile, iOffset, pvDataRead, cbToRead, &cbRead);
438 int rc2 = VbglR3GuestCtrlFileCbRead(pHostCtx, rc, pvDataRead, (uint32_t)cbRead);
440 && pvDataRead)
441 RTMemFree(pvDataRead);