/vbox/include/iprt/ |
H A D | sg.h | 79 * @param pSgBuf Pointer to the S/G buffer to initialize. 83 RTDECL(void) RTSgBufInit(PRTSGBUF pSgBuf, PCRTSGSEG paSegs, size_t cSegs); 89 * @param pSgBuf The S/G buffer to reset. 91 RTDECL(void) RTSgBufReset(PRTSGBUF pSgBuf); variable 109 * @param pSgBuf The S/G buffer. 118 RTDECL(void *) RTSgBufGetNextSegment(PRTSGBUF pSgBuf, size_t *pcbSeg); 165 * @param pSgBuf The S/G buffer. 171 RTDECL(size_t) RTSgBufSet(PRTSGBUF pSgBuf, uint8_t ubFill, size_t cbSet); 177 * @param pSgBuf The S/G buffer to copy from. 183 RTDECL(size_t) RTSgBufCopyToBuf(PRTSGBUF pSgBuf, voi [all...] |
/vbox/src/VBox/Storage/testcase/ |
H A D | VDIoBackendMem.cpp | 146 PRTSGBUF pSgBuf, PFNVDIOCOMPLETE pfnComplete, void *pvUser) 156 RTSgBufSegArrayCreate(pSgBuf, NULL, &cSegs, cbTransfer); 178 RTSgBufSegArrayCreate(pSgBuf, &pReq->aSegs[0], &cSegs, cbTransfer); 144 VDIoBackendMemTransfer(PVDIOBACKENDMEM pIoBackend, PVDMEMDISK pMemDisk, VDIOTXDIR enmTxDir, uint64_t off, size_t cbTransfer, PRTSGBUF pSgBuf, PFNVDIOCOMPLETE pfnComplete, void *pvUser) argument
|
H A D | VDIoBackend.cpp | 184 size_t cbTransfer, PRTSGBUF pSgBuf, void *pvUser, bool fSync) 193 enmTxDir, off, cbTransfer, pSgBuf, pIoStorage->pfnComplete, 201 rc = VDMemDiskRead(pIoStorage->u.pMemDisk, off, cbTransfer, pSgBuf); 204 rc = VDMemDiskWrite(pIoStorage->u.pMemDisk, off, cbTransfer, pSgBuf); 220 rc = RTAioMgrFileRead(pIoStorage->u.File.hAioMgrFile, off, pSgBuf, cbTransfer, pvUser); 223 rc = RTAioMgrFileWrite(pIoStorage->u.File.hAioMgrFile, off, pSgBuf, cbTransfer, pvUser); 239 rc = RTFileSgReadAt(pIoStorage->u.File.hFile, off, pSgBuf, cbTransfer, NULL); 242 rc = RTFileSgWriteAt(pIoStorage->u.File.hFile, off, pSgBuf, cbTransfer, NULL); 183 VDIoBackendTransfer(PVDIOSTORAGE pIoStorage, VDIOTXDIR enmTxDir, uint64_t off, size_t cbTransfer, PRTSGBUF pSgBuf, void *pvUser, bool fSync) argument
|
H A D | VDMemDisk.cpp | 96 int VDMemDiskWrite(PVDMEMDISK pMemDisk, uint64_t off, size_t cbWrite, PRTSGBUF pSgBuf) argument 100 LogFlowFunc(("pMemDisk=%#p off=%llu cbWrite=%zu pSgBuf=%#p\n", 101 pMemDisk, off, cbWrite, pSgBuf)); 104 AssertPtrReturn(pSgBuf, VERR_INVALID_POINTER); 163 size_t cbCopied = RTSgBufCopyToBuf(pSgBuf, (uint8_t *)pSeg->pvSeg + offSeg, cbRange); 183 int VDMemDiskRead(PVDMEMDISK pMemDisk, uint64_t off, size_t cbRead, PRTSGBUF pSgBuf) argument 185 LogFlowFunc(("pMemDisk=%#p off=%llu cbRead=%zu pSgBuf=%#p\n", 186 pMemDisk, off, cbRead, pSgBuf)); 189 AssertPtrReturn(pSgBuf, VERR_INVALID_POINTER); 218 RTSgBufSet(pSgBuf, 346 VDMemDiskCmp(PVDMEMDISK pMemDisk, uint64_t off, size_t cbCmp, PRTSGBUF pSgBuf) argument [all...] |
/vbox/src/VBox/Devices/Network/ |
H A D | DrvNetSniffer.cpp | 115 static DECLCALLBACK(int) drvNetSnifferUp_FreeBuf(PPDMINETWORKUP pInterface, PPDMSCATTERGATHER pSgBuf) argument 120 return pThis->pIBelowNet->pfnFreeBuf(pThis->pIBelowNet, pSgBuf); 127 static DECLCALLBACK(int) drvNetSnifferUp_SendBuf(PPDMINETWORKUP pInterface, PPDMSCATTERGATHER pSgBuf, bool fOnWorkerThread) argument 135 if (!pSgBuf->pvUser) 137 pSgBuf->aSegs[0].pvSeg, 138 pSgBuf->cbUsed, 139 RT_MIN(pSgBuf->cbUsed, pSgBuf->aSegs[0].cbSeg)); 141 PcapFileGsoFrame(pThis->hFile, pThis->StartNanoTS, (PCPDMNETWORKGSO)pSgBuf->pvUser, 142 pSgBuf [all...] |
H A D | DrvUDPTunnel.cpp | 137 PPDMSCATTERGATHER pSgBuf = (PPDMSCATTERGATHER)RTMemAlloc( RT_ALIGN_Z(sizeof(*pSgBuf), 16) local 140 if (!pSgBuf) 146 pSgBuf->fFlags = PDMSCATTERGATHER_FLAGS_MAGIC | PDMSCATTERGATHER_FLAGS_OWNER_1; 147 pSgBuf->cbUsed = 0; 148 pSgBuf->cbAvailable = RT_ALIGN_Z(cbMin, 16); 149 pSgBuf->pvAllocator = NULL; 151 pSgBuf->pvUser = NULL; 154 pSgBuf->pvUser = (uint8_t *)(pSgBuf 172 drvUDPTunnelUp_FreeBuf(PPDMINETWORKUP pInterface, PPDMSCATTERGATHER pSgBuf) argument 189 drvUDPTunnelUp_SendBuf(PPDMINETWORKUP pInterface, PPDMSCATTERGATHER pSgBuf, bool fOnWorkerThread) argument [all...] |
H A D | DrvVDE.cpp | 146 PPDMSCATTERGATHER pSgBuf = (PPDMSCATTERGATHER)RTMemAlloc( RT_ALIGN_Z(sizeof(*pSgBuf), 16) local 149 if (!pSgBuf) 155 pSgBuf->fFlags = PDMSCATTERGATHER_FLAGS_MAGIC | PDMSCATTERGATHER_FLAGS_OWNER_1; 156 pSgBuf->cbUsed = 0; 157 pSgBuf->cbAvailable = RT_ALIGN_Z(cbMin, 16); 158 pSgBuf->pvAllocator = NULL; 160 pSgBuf->pvUser = NULL; 163 pSgBuf->pvUser = (uint8_t *)(pSgBuf 181 drvVDENetworkUp_FreeBuf(PPDMINETWORKUP pInterface, PPDMSCATTERGATHER pSgBuf) argument 198 drvVDENetworkUp_SendBuf(PPDMINETWORKUP pInterface, PPDMSCATTERGATHER pSgBuf, bool fOnWorkerThread) argument [all...] |
H A D | DevINIP.cpp | 259 PPDMSCATTERGATHER pSgBuf; local 265 rc = g_pDevINIPData->pDrv->pfnAllocBuf(g_pDevINIPData->pDrv, DEVINIP_MAX_FRAME, NULL /*pGso*/, &pSgBuf); 272 uint8_t *pbBuf = pSgBuf ? (uint8_t *)pSgBuf->aSegs[0].pvSeg : NULL; 293 pSgBuf->cbUsed = cbBuf; 294 rc = g_pDevINIPData->pDrv->pfnSendBuf(g_pDevINIPData->pDrv, pSgBuf, true /* fOnWorkerThread */); 297 rc = g_pDevINIPData->pDrv->pfnFreeBuf(g_pDevINIPData->pDrv, pSgBuf);
|
H A D | DrvDedicatedNic.cpp | 252 PDMBOTHCBDECL(int) drvDedicatedNicUp_FreeBuf(PPDMINETWORKUP pInterface, PPDMSCATTERGATHER pSgBuf) argument 255 Assert(pSgBuf->fFlags == (PDMSCATTERGATHER_FLAGS_MAGIC | PDMSCATTERGATHER_FLAGS_OWNER_1)); 256 Assert(pSgBuf->cbUsed <= pSgBuf->cbAvailable); 259 if (pSgBuf) 264 Assert(pSgBuf == &pThis->XmitSg); 265 Assert((pSgBuf->fFlags & PDMSCATTERGATHER_FLAGS_MAGIC_MASK) == PDMSCATTERGATHER_FLAGS_MAGIC); 266 pSgBuf->fFlags = 0; 277 PDMBOTHCBDECL(int) drvDedicatedNicUp_SendBuf(PPDMINETWORKUP pInterface, PPDMSCATTERGATHER pSgBuf, bool fOnWorkerThread) argument 282 AssertPtr(pSgBuf); [all...] |
H A D | DrvNetShaper.cpp | 148 PDMBOTHCBDECL(int) drvNetShaperUp_FreeBuf(PPDMINETWORKUP pInterface, PPDMSCATTERGATHER pSgBuf) argument 153 return pThis->CTX_SUFF(pIBelowNet)->pfnFreeBuf(pThis->CTX_SUFF(pIBelowNet), pSgBuf); 160 PDMBOTHCBDECL(int) drvNetShaperUp_SendBuf(PPDMINETWORKUP pInterface, PPDMSCATTERGATHER pSgBuf, bool fOnWorkerThread) argument 166 return pThis->CTX_SUFF(pIBelowNet)->pfnSendBuf(pThis->CTX_SUFF(pIBelowNet), pSgBuf, fOnWorkerThread);
|
H A D | DrvTAP.cpp | 177 PPDMSCATTERGATHER pSgBuf = (PPDMSCATTERGATHER)RTMemAlloc( RT_ALIGN_Z(sizeof(*pSgBuf), 16) local 180 if (!pSgBuf) 186 pSgBuf->fFlags = PDMSCATTERGATHER_FLAGS_MAGIC | PDMSCATTERGATHER_FLAGS_OWNER_1; 187 pSgBuf->cbUsed = 0; 188 pSgBuf->cbAvailable = RT_ALIGN_Z(cbMin, 16); 189 pSgBuf->pvAllocator = NULL; 191 pSgBuf->pvUser = NULL; 194 pSgBuf->pvUser = (uint8_t *)(pSgBuf 212 drvTAPNetworkUp_FreeBuf(PPDMINETWORKUP pInterface, PPDMSCATTERGATHER pSgBuf) argument 229 drvTAPNetworkUp_SendBuf(PPDMINETWORKUP pInterface, PPDMSCATTERGATHER pSgBuf, bool fOnWorkerThread) argument [all...] |
H A D | DrvIntNet.cpp | 374 PPDMSCATTERGATHER pSgBuf = (PPDMSCATTERGATHER)RTMemCacheAlloc(pThis->hSgCache); local 375 if (!pSgBuf) 378 PPDMSCATTERGATHER pSgBuf = &pThis->u.Sg; 379 if (RT_UNLIKELY(pSgBuf->fFlags != 0)) 393 &pHdr, &pSgBuf->aSegs[0].pvSeg); 396 &pHdr, &pSgBuf->aSegs[0].pvSeg); 404 &pHdr, &pSgBuf->aSegs[0].pvSeg); 407 &pHdr, &pSgBuf->aSegs[0].pvSeg); 415 pSgBuf->fFlags = PDMSCATTERGATHER_FLAGS_MAGIC | PDMSCATTERGATHER_FLAGS_OWNER_1; 416 pSgBuf 456 drvIntNetUp_FreeBuf(PPDMINETWORKUP pInterface, PPDMSCATTERGATHER pSgBuf) argument 485 drvIntNetUp_SendBuf(PPDMINETWORKUP pInterface, PPDMSCATTERGATHER pSgBuf, bool fOnWorkerThread) argument [all...] |
/vbox/src/VBox/Storage/ |
H A D | VDIfVfs.cpp | 85 static DECLCALLBACK(int) vdIfVfsIos_Read(void *pvThis, RTFOFF off, PCRTSGBUF pSgBuf, bool fBlocking, size_t *pcbRead) argument 88 Assert(pSgBuf->cSegs == 1); NOREF(fBlocking); 98 rc = vdIfIoFileReadSync(pThis->pVDIfsIo, pThis->pStorage, off, pSgBuf[0].pvSegCur, pSgBuf->paSegs[0].cbSeg, pcbRead); 101 rc = vdIfIoIntFileReadSync(pThis->pVDIfsIoInt, (PVDIOSTORAGE)pThis->pStorage, off, pSgBuf[0].pvSegCur, pSgBuf->paSegs[0].cbSeg); 103 *pcbRead = RT_SUCCESS(rc) ? pSgBuf->paSegs[0].cbSeg : 0; 107 size_t cbAdvance = pcbRead ? *pcbRead : pSgBuf->paSegs[0].cbSeg; 119 static DECLCALLBACK(int) vdIfVfsIos_Write(void *pvThis, RTFOFF off, PCRTSGBUF pSgBuf, bool fBlocking, size_t *pcbWritten) argument 122 Assert(pSgBuf [all...] |
H A D | VDVfs.cpp | 224 static DECLCALLBACK(int) vdVfsFile_Read(void *pvThis, RTFOFF off, PCRTSGBUF pSgBuf, bool fBlocking, size_t *pcbRead) argument 229 Assert(pSgBuf->cSegs == 1); 248 if (offUnsigned + pSgBuf->paSegs[0].cbSeg > VDGetSize(pThis->pDisk, VD_LAST_IMAGE)) 256 cbLeftToRead = pSgBuf->paSegs[0].cbSeg; 266 rc = vdReadHelper(pThis->pDisk, (uint64_t)off, pSgBuf->paSegs[0].pvSeg, cbLeftToRead); 279 static DECLCALLBACK(int) vdVfsFile_Write(void *pvThis, RTFOFF off, PCRTSGBUF pSgBuf, bool fBlocking, size_t *pcbWritten) argument 284 Assert(pSgBuf->cSegs == 1); 303 if (offUnsigned + pSgBuf->paSegs[0].cbSeg > VDGetSize(pThis->pDisk, VD_LAST_IMAGE)) 311 cbLeftToWrite = pSgBuf->paSegs[0].cbSeg; 321 rc = vdWriteHelper(pThis->pDisk, (uint64_t)off, pSgBuf [all...] |
/vbox/src/VBox/Runtime/common/checksum/ |
H A D | manifest3.cpp | 294 * @param pSgBuf The scather/gather buffer. 297 static void rtManifestPtIos_UpdateHashes(PRTMANIFESTPTIOS pThis, PCRTSGBUF pSgBuf, size_t cbLeft) argument 299 for (uint32_t iSeg = 0; iSeg < pSgBuf->cSegs; iSeg++) 301 size_t cbSeg = pSgBuf->paSegs[iSeg].cbSeg; 304 rtManifestHashesUpdate(pThis->pHashes, pSgBuf->paSegs[iSeg].pvSeg, cbSeg); 314 static DECLCALLBACK(int) rtManifestPtIos_Read(void *pvThis, RTFOFF off, PCRTSGBUF pSgBuf, bool fBlocking, size_t *pcbRead) argument 317 int rc = RTVfsIoStrmSgRead(pThis->hVfsIos, pSgBuf, fBlocking, pcbRead); 319 rtManifestPtIos_UpdateHashes(pThis, pSgBuf, pcbRead ? *pcbRead : ~(size_t)0); 328 static DECLCALLBACK(int) rtManifestPtIos_Write(void *pvThis, RTFOFF off, PCRTSGBUF pSgBuf, bool fBlocking, size_t *pcbWritten) argument 331 int rc = RTVfsIoStrmSgWrite(pThis->hVfsIos, pSgBuf, fBlockin [all...] |
/vbox/src/VBox/Runtime/common/dvm/ |
H A D | dvmvfs.cpp | 89 static DECLCALLBACK(int) rtDvmVfsFile_Read(void *pvThis, RTFOFF off, PCRTSGBUF pSgBuf, bool fBlocking, size_t *pcbRead) argument 94 Assert(pSgBuf->cSegs == 1); 113 if (offUnsigned + pSgBuf->paSegs[0].cbSeg > RTDvmVolumeGetSize(pThis->hVol)) 121 cbLeftToRead = pSgBuf->paSegs[0].cbSeg; 131 rc = RTDvmVolumeRead(pThis->hVol, (uint64_t)off, pSgBuf->paSegs[0].pvSeg, cbLeftToRead); 144 static DECLCALLBACK(int) rtDvmVfsFile_Write(void *pvThis, RTFOFF off, PCRTSGBUF pSgBuf, bool fBlocking, size_t *pcbWritten) argument 149 Assert(pSgBuf->cSegs == 1); 168 if (offUnsigned + pSgBuf->paSegs[0].cbSeg > RTDvmVolumeGetSize(pThis->hVol)) 176 cbLeftToWrite = pSgBuf->paSegs[0].cbSeg; 186 rc = RTDvmVolumeWrite(pThis->hVol, (uint64_t)off, pSgBuf [all...] |
/vbox/include/VBox/vmm/ |
H A D | pdmnetifs.h | 96 * @param pSgBuf . 99 DECLINLINE(void) PDMScatterGatherSetOwner(PPDMSCATTERGATHER pSgBuf, uint32_t uNewOwner) argument 101 pSgBuf->fFlags = (pSgBuf->fFlags & ~PDMSCATTERGATHER_FLAGS_OWNER_MASK) | uNewOwner; 260 * @param pSgBuf A buffer from PDMINETWORKUP::pfnAllocBuf or 266 DECLR3CALLBACKMEMBER(int, pfnFreeBuf,(PPDMINETWORKUP pInterface, PPDMSCATTERGATHER pSgBuf)); 272 * @retval VERR_NET_DOWN if the NIC is not connected to a network. pSgBuf will 274 * @retval VERR_NET_NO_BUFFER_SPACE if we're out of resources. pSgBuf will be 279 * @param pSgBuf The buffer containing the data to send. The buffer 288 DECLR3CALLBACKMEMBER(int, pfnSendBuf,(PPDMINETWORKUP pInterface, PPDMSCATTERGATHER pSgBuf, boo [all...] |
/vbox/src/VBox/Runtime/common/vfs/ |
H A D | vfsmemory.cpp | 250 static DECLCALLBACK(int) rtVfsMemFile_Read(void *pvThis, RTFOFF off, PCRTSGBUF pSgBuf, bool fBlocking, size_t *pcbRead) argument 254 Assert(pSgBuf->cSegs == 1); 274 if (offUnsigned + pSgBuf->paSegs[0].cbSeg > (uint64_t)pThis->Base.ObjInfo.cbObject) 282 cbLeftToRead = pSgBuf->paSegs[0].cbSeg; 292 uint8_t *pbDst = (uint8_t *)pSgBuf->paSegs[0].pvSeg; 445 static DECLCALLBACK(int) rtVfsMemFile_Write(void *pvThis, RTFOFF off, PCRTSGBUF pSgBuf, bool fBlocking, size_t *pcbWritten) argument 449 Assert(pSgBuf->cSegs == 1); 456 size_t cbLeftToWrite = pSgBuf->paSegs[0].cbSeg; 464 uint8_t const *pbSrc = (uint8_t const *)pSgBuf->paSegs[0].pvSeg; 539 *pcbWritten = pSgBuf [all...] |
H A D | vfsstdfile.cpp | 132 static DECLCALLBACK(int) rtVfsStdFile_Read(void *pvThis, RTFOFF off, PCRTSGBUF pSgBuf, bool fBlocking, size_t *pcbRead) argument 138 if (pSgBuf->cSegs == 1) 141 rc = RTFileRead( pThis->hFile, pSgBuf->paSegs[0].pvSeg, pSgBuf->paSegs[0].cbSeg, pcbRead); 143 rc = RTFileReadAt(pThis->hFile, off, pSgBuf->paSegs[0].pvSeg, pSgBuf->paSegs[0].cbSeg, pcbRead); 145 rc = rtVfsStdFile_ReadFixRC(pThis, off, pSgBuf->paSegs[0].cbSeg, *pcbRead); 154 for (uint32_t iSeg = 0; iSeg < pSgBuf->cSegs; iSeg++) 156 void *pvSeg = pSgBuf->paSegs[iSeg].pvSeg; 157 cbSeg = pSgBuf 188 rtVfsStdFile_Write(void *pvThis, RTFOFF off, PCRTSGBUF pSgBuf, bool fBlocking, size_t *pcbWritten) argument [all...] |
/vbox/src/VBox/Runtime/common/zip/ |
H A D | pkzip.cpp | 89 static DECLCALLBACK(int) memFssIos_Read(void *pvThis, RTFOFF off, PCRTSGBUF pSgBuf, bool fBlocking, size_t *pcbRead) argument 92 Assert(pSgBuf->cSegs == 1); 100 size_t cbToRead = pSgBuf->paSegs[0].cbSeg; 108 memcpy(pSgBuf->paSegs[0].pvSeg, pThis->pu8Buf + off, cbToRead); 119 static DECLCALLBACK(int) memFssIos_Write(void *pvThis, RTFOFF off, PCRTSGBUF pSgBuf, bool fBlocking, size_t *pcbWritten) argument
|
H A D | gzipvfs.cpp | 374 static DECLCALLBACK(int) rtZipGzip_Read(void *pvThis, RTFOFF off, PCRTSGBUF pSgBuf, bool fBlocking, size_t *pcbRead) argument 378 Assert(pSgBuf->cSegs == 1); 383 return rtZipGzip_ReadOneSeg(pThis, pSgBuf->paSegs[0].pvSeg, pSgBuf->paSegs[0].cbSeg, fBlocking, pcbRead); 508 static DECLCALLBACK(int) rtZipGzip_Write(void *pvThis, RTFOFF off, PCRTSGBUF pSgBuf, bool fBlocking, size_t *pcbWritten) argument 512 Assert(pSgBuf->cSegs == 1); NOREF(fBlocking); 523 uint8_t const *pbSrc = (uint8_t const *)pSgBuf->paSegs[0].pvSeg; 524 size_t cbLeft = pSgBuf->paSegs[0].cbSeg;
|
/vbox/src/VBox/Runtime/common/misc/ |
H A D | sg.cpp | 37 static void *sgBufGet(PRTSGBUF pSgBuf, size_t *pcbData) argument 43 if (RT_UNLIKELY( pSgBuf->idxSeg == pSgBuf->cSegs 44 && !pSgBuf->cbSegLeft)) 51 AssertReleaseMsg( pSgBuf->cbSegLeft <= 32 * _1M 52 && (uintptr_t)pSgBuf->pvSegCur >= (uintptr_t)pSgBuf->paSegs[pSgBuf->idxSeg].pvSeg 53 && (uintptr_t)pSgBuf->pvSegCur + pSgBuf 83 RTSgBufInit(PRTSGBUF pSgBuf, PCRTSGSEG paSegs, size_t cSegs) argument 98 RTSgBufReset(PRTSGBUF pSgBuf) argument 121 RTSgBufGetNextSegment(PRTSGBUF pSgBuf, size_t *pcbSeg) argument 272 RTSgBufSet(PRTSGBUF pSgBuf, uint8_t ubFill, size_t cbSet) argument 295 RTSgBufCopyToBuf(PRTSGBUF pSgBuf, void *pvBuf, size_t cbCopy) argument 320 RTSgBufCopyFromBuf(PRTSGBUF pSgBuf, const void *pvBuf, size_t cbCopy) argument 345 RTSgBufAdvance(PRTSGBUF pSgBuf, size_t cbAdvance) argument 368 RTSgBufSegArrayCreate(PRTSGBUF pSgBuf, PRTSGSEG paSeg, unsigned *pcSeg, size_t cbData) argument 427 RTSgBufIsZero(PRTSGBUF pSgBuf, size_t cbCheck) argument [all...] |
/vbox/src/VBox/Runtime/r3/ |
H A D | fileio.cpp | 220 * @param pSgBuf Pointer to the S/G buffer to read into. 225 RTR3DECL(int) RTFileSgReadAt(RTFILE hFile, RTFOFF off, PRTSGBUF pSgBuf, size_t cbToRead, size_t *pcbRead) argument 234 void *pvBuf = RTSgBufGetNextSegment(pSgBuf, &cbBuf); 284 * @param pSgBuf What to write. 289 RTR3DECL(int) RTFileSgWriteAt(RTFILE hFile, RTFOFF off, PRTSGBUF pSgBuf, size_t cbToWrite, size_t *pcbWritten) argument 298 void *pvBuf = RTSgBufGetNextSegment(pSgBuf, &cbBuf);
|
H A D | tcp.cpp | 1080 RTR3DECL(int) RTTcpSgWrite(RTSOCKET Sock, PCRTSGBUF pSgBuf) argument 1082 return RTSocketSgWrite(Sock, pSgBuf); 1114 RTR3DECL(int) RTTcpSgWriteNB(RTSOCKET Sock, PCRTSGBUF pSgBuf, size_t *pcbWritten) argument 1116 return RTSocketSgWriteNB(Sock, pSgBuf, pcbWritten);
|
/vbox/src/VBox/Storage/Debug/ |
H A D | VDDbgIoLog.cpp | 231 * @param pSgBuf The S/G buffer to write. 234 static int vddbgIoLogWriteSgBuf(PVDIOLOGGERINT pIoLogger, uint64_t off, PCRTSGBUF pSgBuf, size_t cbSgBuf) argument 239 RTSgBufClone(&SgBuf, pSgBuf); 378 VBOXDDU_DECL(int) VDDbgIoLogStart(VDIOLOGGER hIoLogger, bool fAsync, VDDBGIOLOGREQ enmTxDir, uint64_t off, size_t cbIo, PCRTSGBUF pSgBuf, argument 416 rc = vddbgIoLogWriteSgBuf(pIoLogger, pIoLogger->offWriteNext, pSgBuf, cbIo); 525 VBOXDDU_DECL(int) VDDbgIoLogComplete(VDIOLOGGER hIoLogger, VDIOLOGENT hIoLogEntry, int rcReq, PCRTSGBUF pSgBuf) argument 553 rc = vddbgIoLogWriteSgBuf(pIoLogger, pIoLogger->offWriteNext, pSgBuf, pIoLogEntry->cbIo);
|