Lines Matching defs:SgBuf
386 RTSGBUF SgBuf;
1010 RTSgBufReset(&pIoCtx->Req.Io.SgBuf);
1033 RTSgBufReset(&pIoCtx->Req.Io.SgBuf);
1042 RTSgBufReset(&pIoCtx->Req.Io.SgBuf);
1092 RTSgBufClone(&pIoCtx->Req.Io.SgBuf, pcSgBuf);
1094 memset(&pIoCtx->Req.Io.SgBuf, 0, sizeof(RTSGBUF));
1544 RTSgBufReset(&pIoCtx->Req.Io.SgBuf);
1595 return RTSgBufCopy(&pIoCtxDst->Req.Io.SgBuf, &pIoCtxSrc->Req.Io.SgBuf, cbData);
1600 return RTSgBufCmp(&pIoCtx1->Req.Io.SgBuf, &pIoCtx2->Req.Io.SgBuf, cbData);
1605 return RTSgBufCopyFromBuf(&pIoCtx->Req.Io.SgBuf, pbData, cbData);
1610 return RTSgBufCopyToBuf(&pIoCtx->Req.Io.SgBuf, pbData, cbData);
1615 return RTSgBufSet(&pIoCtx->Req.Io.SgBuf, ch, cbData);
2128 RTSGBUF SgBuf;
2129 RTSgBufClone(&SgBuf, &pIoCtx->Req.Io.SgBuf);
2130 RTSgBufReset(&SgBuf);
2131 RTSgBufSet(&SgBuf, 0, pIoCtx->Req.Io.cbBufClear);
2179 RTSGBUF SgBuf;
2184 RTSgBufInit(&SgBuf, &Segment, 1);
2186 &SgBuf, NULL, NULL, VDIOCTX_FLAGS_SYNC | VDIOCTX_FLAGS_ZERO_FREE_BLOCKS);
2224 RTSGBUF SgBuf;
2239 RTSgBufInit(&SgBuf, &Segment, 1);
2240 vdIoCtxInit(&IoCtx, pDisk, VDIOCTXTXDIR_READ, uOffset, cbRead, pImage, &SgBuf,
2323 RTSGBUF SgBuf;
2335 RTSgBufInit(&SgBuf, &Segment, 1);
2336 vdIoCtxInit(&IoCtx, pDisk, VDIOCTXTXDIR_WRITE, uOffset, cbWrite, pImage, &SgBuf,
2410 RTSGBUF SgBuf;
2415 RTSgBufInit(&SgBuf, &SegmentBuf, 1);
2417 &SgBuf, NULL, NULL, VDIOCTX_FLAGS_SYNC);
2633 RTSgBufAdvance(&pIoCtx->Req.Io.SgBuf, cbPreRead);
2636 if (!RTSgBufCmp(&pIoCtx->Req.Io.SgBuf, &pIoCtxParent->Req.Io.SgBuf, cbThisWrite))
2640 RTSgBufClone(&SgBufSrcTmp, &pIoCtxParent->Req.Io.SgBuf);
2642 RTSgBufAdvance(&pIoCtx->Req.Io.SgBuf, cbThisWrite);
2644 if (!cbWriteCopy || !RTSgBufCmp(&pIoCtx->Req.Io.SgBuf, &SgBufSrcTmp, cbWriteCopy))
2649 RTSgBufAdvance(&pIoCtxParent->Req.Io.SgBuf, cbThisWrite);
2655 RTSgBufReset(&pIoCtx->Req.Io.SgBuf);
2656 RTSgBufAdvance(&pIoCtx->Req.Io.SgBuf, cbPreRead);
2671 RTSgBufClone(&SgBufParentTmp, &pIoCtxParent->Req.Io.SgBuf);
2672 RTSgBufCopy(&pIoCtx->Req.Io.SgBuf, &SgBufParentTmp, cbWriteCopy);
2679 RTSgBufAdvance(&pIoCtx->Req.Io.SgBuf, cbReadImage);
2685 RTSgBufReset(&pIoCtx->Req.Io.SgBuf);
2796 RTSgBufReset(&pIoCtx->Req.Io.SgBuf);
2830 RTSgBufClone(&SgBufParentTmp, &pIoCtxParent->Req.Io.SgBuf);
2831 RTSgBufCopy(&pIoCtx->Req.Io.SgBuf, &SgBufParentTmp, cbWriteCopy);
2852 RTSgBufReset(&pIoCtx->Req.Io.SgBuf);
2860 RTSgBufReset(&pIoCtx->Req.Io.SgBuf);
4642 AssertMsgReturn(pIoCtx->Req.Io.SgBuf.cSegs == 1,
4646 cbTaskRead = RTSgBufSegArrayCreate(&pIoCtx->Req.Io.SgBuf, &Seg, &cSegments, cbRead);
4665 size_t cbTaskRead = RTSgBufSegArrayCreate(&pIoCtx->Req.Io.SgBuf, aSeg, &cSegments, cbRead);
4740 AssertMsgReturn(pIoCtx->Req.Io.SgBuf.cSegs == 1,
4744 cbTaskWrite = RTSgBufSegArrayCreate(&pIoCtx->Req.Io.SgBuf, &Seg, &cSegments, cbWrite);
4765 cbTaskWrite = RTSgBufSegArrayCreate(&pIoCtx->Req.Io.SgBuf, aSeg, &cSegments, cbWrite);
5283 cbCreated = RTSgBufSegArrayCreate(&pIoCtx->Req.Io.SgBuf, paSeg, pcSeg, cbData);
5338 bool fIsZero = RTSgBufIsZero(&pIoCtx->Req.Io.SgBuf, cbCheck);
5340 RTSgBufAdvance(&pIoCtx->Req.Io.SgBuf, cbCheck);
7684 RTSGBUF SgBuf;
7689 RTSgBufInit(&SgBuf, &SegmentBuf, 1);
7691 &SgBuf, NULL, NULL, VDIOCTX_FLAGS_SYNC);
7813 RTSGBUF SgBuf;
7820 RTSgBufInit(&SgBuf, &SegmentBuf, 1);
7822 &SgBuf, NULL, NULL, VDIOCTX_FLAGS_SYNC);
8739 RTSGBUF SgBuf;
8744 RTSgBufInit(&SgBuf, &SegmentBuf, 1);
8746 &SgBuf, NULL, NULL, VDIOCTX_FLAGS_SYNC);
8764 RTSgBufReset(&SgBuf);