Lines Matching defs:uOffset
1565 static int vdiRead(void *pBackendData, uint64_t uOffset, size_t cbToRead,
1568 LogFlowFunc(("pBackendData=%#p uOffset=%llu pIoCtx=%#p cbToRead=%zu pcbActuallyRead=%#p\n",
1569 pBackendData, uOffset, pIoCtx, cbToRead, pcbActuallyRead));
1576 Assert(!(uOffset % 512));
1579 if ( uOffset + cbToRead > getImageDiskSize(&pImage->Header)
1588 uBlock = (unsigned)(uOffset >> pImage->uShiftOffset2Index);
1589 offRead = (unsigned)uOffset & pImage->uBlockMask;
1632 static int vdiWrite(void *pBackendData, uint64_t uOffset, size_t cbToWrite,
1636 LogFlowFunc(("pBackendData=%#p uOffset=%llu pIoCtx=%#p cbToWrite=%zu pcbWriteProcess=%#p pcbPreRead=%#p pcbPostRead=%#p\n",
1637 pBackendData, uOffset, pIoCtx, cbToWrite, pcbWriteProcess, pcbPreRead, pcbPostRead));
1644 Assert(!(uOffset % 512));
1664 uBlock = (unsigned)(uOffset >> pImage->uShiftOffset2Index);
1665 offWrite = (unsigned)uOffset & pImage->uBlockMask;
2854 uint64_t uOffset, size_t cbDiscard,
2867 LogFlowFunc(("pBackendData=%#p pIoCtx=%#p uOffset=%llu cbDiscard=%zu pcbPreAllocated=%#p pcbPostAllocated=%#p pcbActuallyDiscarded=%#p ppbmAllocationBitmap=%#p fDiscard=%#x\n",
2868 pBackendData, pIoCtx, uOffset, cbDiscard, pcbPreAllocated, pcbPostAllocated, pcbActuallyDiscarded, ppbmAllocationBitmap, fDiscard));
2871 Assert(!(uOffset % 512));
2876 AssertMsgReturn( uOffset + cbDiscard <= getImageDiskSize(&pImage->Header)
2878 ("Invalid parameters uOffset=%llu cbDiscard=%zu\n",
2879 uOffset, cbDiscard),
2893 uBlock = (unsigned)(uOffset >> pImage->uShiftOffset2Index);
2894 offDiscard = (unsigned)uOffset & pImage->uBlockMask;