Lines Matching defs:pBuffer
221 PVBOXUHGSMI_BUFFER pBuffer;
275 PVBOXUHGSMI_BUFFER pBuffer = (PVBOXUHGSMI_BUFFER)data;
276 pBuffer->pfnDestroy(pBuffer);
394 pBuf = pHdr->pBuffer;
539 if (!conn->pBuffer || (conn->cbBuffer<len))
542 crMemcpy(buf, conn->pBuffer, len);
545 conn->pBuffer = conn->cbBuffer>0 ? (uint8_t*)conn->pBuffer+len : NULL;
759 parms.pBuffer.type = VMMDevHGCMParmType_LinAddr_In;
760 parms.pBuffer.u.Pointer.size = len;
761 parms.pBuffer.u.Pointer.u.linearAddr = (uintptr_t) buf;
776 parms.pBuffer.type = VMMDevHGCMParmType_LinAddr_In;
777 parms.pBuffer.u.Pointer.size = len;
778 parms.pBuffer.u.Pointer.u.linearAddr = (uintptr_t) buf;
813 CRASSERT(!conn->pBuffer); //make sure there's no data to process
814 parms.pBuffer.type = VMMDevHGCMParmType_LinAddr_Out;
815 parms.pBuffer.u.Pointer.size = conn->cbHostBufferAllocated;
816 parms.pBuffer.u.Pointer.u.linearAddr = (uintptr_t) conn->pHostBuffer;
831 //conn->pBuffer = (uint8_t*) parms.pBuffer.u.Pointer.u.linearAddr;
832 conn->pBuffer = conn->pHostBuffer;
856 parms.pBuffer.type = VMMDevHGCMParmType_LinAddr_In;
857 parms.pBuffer.u.Pointer.size = len;
858 parms.pBuffer.u.Pointer.u.linearAddr = (uintptr_t) buf;
860 CRASSERT(!conn->pBuffer); //make sure there's no data to process
890 wbParms.pBuffer.type = VMMDevHGCMParmType_LinAddr_In;
891 wbParms.pBuffer.u.Pointer.size = MIN(CR_HGCM_SPLIT_BUFFER_SIZE, len);
892 wbParms.pBuffer.u.Pointer.u.linearAddr = (uintptr_t) buf;
900 while (wbParms.pBuffer.u.Pointer.size)
902 crDebug("SHCRGL_GUEST_FN_WRITE_BUFFER, offset=%u, size=%u", wbParms.ui32Offset.u.value32, wbParms.pBuffer.u.Pointer.size);
907 crError("SHCRGL_GUEST_FN_WRITE_BUFFER (%i) failed with %x %x\n", wbParms.pBuffer.u.Pointer.size, rc, wbParms.hdr.result);
911 wbParms.ui32Offset.u.value32 += wbParms.pBuffer.u.Pointer.size;
912 wbParms.pBuffer.u.Pointer.u.linearAddr += (uintptr_t) wbParms.pBuffer.u.Pointer.size;
913 wbParms.pBuffer.u.Pointer.size = MIN(CR_HGCM_SPLIT_BUFFER_SIZE, len-wbParms.ui32Offset.u.value32);
967 //conn->pBuffer = (uint8_t*) parms.pWriteback.u.Pointer.u.linearAddr;
968 conn->pBuffer = conn->pHostBuffer;
1051 CRASSERT(!conn->pBuffer);
1058 parms.pBuffer.type = VMMDevHGCMParmType_LinAddr_Out;
1059 parms.pBuffer.u.Pointer.size = conn->cbHostBufferAllocated;
1060 parms.pBuffer.u.Pointer.u.linearAddr = (uintptr_t) conn->pHostBuffer;
1075 conn->pBuffer = (uint8_t*) parms.pBuffer.u.Pointer.u.linearAddr;
1151 CRASSERT(conn->pBuffer);
1165 msg->redirptr.pMessage = (CRMessageHeader*) (conn->pBuffer);
1177 conn->pBuffer = NULL;
1502 conn->pBuffer = NULL;
1680 pData->pBuffer = buf;
1774 CRASSERT(!conn->pBuffer); //make sure there's no data to process
1821 conn->pBuffer = pvData;
1856 CRASSERT(!conn->pBuffer); //make sure there's no data to process
1952 conn->pBuffer = pvData;
2533 conn->pBuffer = NULL;
2578 if (!conn->pBuffer)