Lines Matching defs:pIoCtxParent

418     PVDIOCTX                     pIoCtxParent;
1087 pIoCtx->pIoCtxParent = NULL;
1396 pIoCtx->pIoCtxParent = NULL;
1429 pIoCtx->pIoCtxParent = NULL;
1459 PVDIOCTX pIoCtxParent, size_t cbTransferParent,
1464 pcSgBuf, pvAllocation, pfnIoCtxTransfer, pIoCtxParent->fFlags & ~VDIOCTX_FLAGS_DONT_FREE);
1466 AssertPtr(pIoCtxParent);
1467 Assert(!pIoCtxParent->pIoCtxParent);
1471 pIoCtx->pIoCtxParent = pIoCtxParent;
1542 AssertPtr(pIoCtx->pIoCtxParent);
1588 Assert(!pIoCtx->pIoCtxParent && !(pIoCtx->fFlags & VDIOCTX_FLAGS_BLOCKED));
1838 Assert(!pTmp->pIoCtxParent);
2028 && ( !pIoCtx->pIoCtxParent
2029 || pIoCtx->pIoCtxParent != pDisk->pIoCtxLockOwner))
2341 IoCtx.pIoCtxParent = NULL;
2623 PVDIOCTX pIoCtxParent = pIoCtx->pIoCtxParent;
2627 AssertPtr(pIoCtxParent);
2628 Assert(!pIoCtxParent->pIoCtxParent);
2636 if (!RTSgBufCmp(&pIoCtx->Req.Io.SgBuf, &pIoCtxParent->Req.Io.SgBuf, cbThisWrite))
2640 RTSgBufClone(&SgBufSrcTmp, &pIoCtxParent->Req.Io.SgBuf);
2649 RTSgBufAdvance(&pIoCtxParent->Req.Io.SgBuf, cbThisWrite);
2657 vdIoCtxCopy(pIoCtx, pIoCtxParent, cbThisWrite);
2671 RTSgBufClone(&SgBufParentTmp, &pIoCtxParent->Req.Io.SgBuf);
2734 AssertPtr(pIoCtx->pIoCtxParent);
2735 Assert(!pIoCtx->pIoCtxParent->pIoCtxParent);
2810 PVDIOCTX pIoCtxParent = pIoCtx->pIoCtxParent;
2814 vdIoCtxCopy(pIoCtx, pIoCtxParent, cbThisWrite);
2830 RTSgBufClone(&SgBufParentTmp, &pIoCtxParent->Req.Io.SgBuf);
2904 AssertPtr(pIoCtx->pIoCtxParent);
2905 Assert(!pIoCtx->pIoCtxParent->pIoCtxParent);
4085 if (pIoCtx->pIoCtxParent)
4087 PVDIOCTX pIoCtxParent = pIoCtx->pIoCtxParent;
4089 Assert(!pIoCtxParent->pIoCtxParent);
4091 ASMAtomicCmpXchgS32(&pIoCtxParent->rcReq, pIoCtx->rcReq, VINF_SUCCESS);
4093 ASMAtomicDecU32(&pIoCtxParent->cDataTransfersPending);
4097 LogFlowFunc(("I/O context transferred %u bytes for the parent pIoCtxParent=%p\n",
4098 pIoCtx->Type.Child.cbTransferParent, pIoCtxParent));
4101 Assert(pIoCtxParent->Req.Io.cbTransferLeft >= pIoCtx->Type.Child.cbTransferParent);
4102 ASMAtomicSubU32(&pIoCtxParent->Req.Io.cbTransferLeft, (uint32_t)pIoCtx->Type.Child.cbTransferParent);
4111 vdIoCtxUnlockDisk(pDisk, pIoCtxParent, false /* fProcessDeferredReqs */);
4114 pIoCtxParent->fFlags &= ~VDIOCTX_FLAGS_BLOCKED;
4116 rc = vdIoCtxProcessLocked(pIoCtxParent);
4119 && ASMAtomicCmpXchgBool(&pIoCtxParent->fComplete, true, false))
4121 LogFlowFunc(("Parent I/O context completed pIoCtxParent=%#p rcReq=%Rrc\n", pIoCtxParent, pIoCtxParent->rcReq));
4122 vdIoCtxRootComplete(pDisk, pIoCtxParent);
4124 vdIoCtxFree(pDisk, pIoCtxParent);