Lines Matching refs:pSgBuf
2137 RTDECL(int) RTVfsIoStrmSgRead(RTVFSIOSTREAM hVfsIos, PCRTSGBUF pSgBuf, bool fBlocking, size_t *pcbRead)
2145 AssertPtr(pSgBuf);
2152 rc = pThis->pOps->pfnRead(pThis->Base.pvThis, -1 /*off*/, pSgBuf, fBlocking, pcbRead);
2158 for (uint32_t iSeg = 0; iSeg < pSgBuf->cSegs; iSeg++)
2161 RTSgBufInit(&SgBuf, &pSgBuf->paSegs[iSeg], 1);
2163 size_t cbReadSeg = pcbRead ? 0 : pSgBuf->paSegs[iSeg].cbSeg;
2180 RTDECL(int) RTVfsIoStrmSgWrite(RTVFSIOSTREAM hVfsIos, PCRTSGBUF pSgBuf, bool fBlocking, size_t *pcbWritten)
2188 AssertPtr(pSgBuf);
2195 rc = pThis->pOps->pfnWrite(pThis->Base.pvThis, -1 /*off*/, pSgBuf, fBlocking, pcbWritten);
2201 for (uint32_t iSeg = 0; iSeg < pSgBuf->cSegs; iSeg++)
2204 RTSgBufInit(&SgBuf, &pSgBuf->paSegs[iSeg], 1);