/vbox/include/VBox/ |
H A D | vd-filter-backend.h | 82 * @param uOffset Start offset of the read. 86 DECLR3CALLBACKMEMBER(int, pfnFilterRead, (void *pvBackendData, uint64_t uOffset, size_t cbRead, 95 * @param uOffset Start offset of the write. 99 DECLR3CALLBACKMEMBER(int, pfnFilterWrite, (void *pvBackendData, uint64_t uOffset, size_t cbWrite,
|
H A D | vd-ifs-internal.h | 53 * @param uOffset Offset of first reading byte from start of disk. 59 DECLR3CALLBACKMEMBER(int, pfnParentRead, (void *pvUser, uint64_t uOffset, void *pvBuffer, size_t cbBuffer)); 217 * @param uOffset The offset to start reading from. 222 uint64_t uOffset, PVDIOCTX pIoCtx, 231 * @param uOffset The offset to start writing to. 238 uint64_t uOffset, PVDIOCTX pIoCtx, 250 * @param uOffset Offset to start reading from. 266 uint64_t uOffset, void *pvBuffer, 278 * @param uOffset Offset to start writing to. 288 uint64_t uOffset, cons 487 vdIfIoIntFileWriteSync(PVDINTERFACEIOINT pIfIoInt, PVDIOSTORAGE pStorage, uint64_t uOffset, const void *pvBuffer, size_t cbBuffer) argument 495 vdIfIoIntFileReadSync(PVDINTERFACEIOINT pIfIoInt, PVDIOSTORAGE pStorage, uint64_t uOffset, void *pvBuffer, size_t cbBuffer) argument 508 vdIfIoIntFileReadUser(PVDINTERFACEIOINT pIfIoInt, PVDIOSTORAGE pStorage, uint64_t uOffset, PVDIOCTX pIoCtx, size_t cbRead) argument 515 vdIfIoIntFileWriteUser(PVDINTERFACEIOINT pIfIoInt, PVDIOSTORAGE pStorage, uint64_t uOffset, PVDIOCTX pIoCtx, size_t cbWrite, PFNVDXFERCOMPLETED pfnComplete, void *pvCompleteUser) argument 525 vdIfIoIntFileReadMeta(PVDINTERFACEIOINT pIfIoInt, PVDIOSTORAGE pStorage, uint64_t uOffset, void *pvBuffer, size_t cbBuffer, PVDIOCTX pIoCtx, PPVDMETAXFER ppMetaXfer, PFNVDXFERCOMPLETED pfnComplete, void *pvCompleteUser) argument 537 vdIfIoIntFileWriteMeta(PVDINTERFACEIOINT pIfIoInt, PVDIOSTORAGE pStorage, uint64_t uOffset, void *pvBuffer, size_t cbBuffer, PVDIOCTX pIoCtx, PFNVDXFERCOMPLETED pfnComplete, void *pvCompleteUser) argument [all...] |
H A D | vd-cache-backend.h | 133 * @param uOffset The offset of the virtual disk to read from. 138 DECLR3CALLBACKMEMBER(int, pfnRead, (void *pBackendData, uint64_t uOffset, size_t cbRead, 146 * @param uOffset The offset of the virtual disk to write to. 156 DECLR3CALLBACKMEMBER(int, pfnWrite, (void *pBackendData, uint64_t uOffset, size_t cbWrite, 176 * @param uOffset The offset of the first byte to discard. 180 uint64_t uOffset, size_t cbDiscard,
|
H A D | vd-image-backend.h | 185 * @param uOffset The offset of the virtual disk to read from. 190 DECLR3CALLBACKMEMBER(int, pfnRead, (void *pBackendData, uint64_t uOffset, size_t cbRead, 198 * @param uOffset The offset of the virtual disk to write to. 214 DECLR3CALLBACKMEMBER(int, pfnWrite, (void *pBackendData, uint64_t uOffset, size_t cbWrite, 236 * @param uOffset The offset of the first byte to discard. 253 uint64_t uOffset, size_t cbDiscard,
|
H A D | vd.h | 978 * @param uOffset Offset of first reading byte from start of disk. 984 VBOXDDU_DECL(int) VDRead(PVBOXHDD pDisk, uint64_t uOffset, void *pvBuffer, size_t cbBuffer); 992 * @param uOffset Offset of first writing byte from start of disk. 998 VBOXDDU_DECL(int) VDWrite(PVBOXHDD pDisk, uint64_t uOffset, const void *pvBuffer, size_t cbBuffer); 1306 * @param uOffset The offset of the virtual disk to read from. 1312 VBOXDDU_DECL(int) VDAsyncRead(PVBOXHDD pDisk, uint64_t uOffset, size_t cbRead, 1323 * @param uOffset The offset of the virtual disk to write to. 1329 VBOXDDU_DECL(int) VDAsyncWrite(PVBOXHDD pDisk, uint64_t uOffset, size_t cbWrite,
|
H A D | vd-ifs.h | 442 * @param uOffset The offset to start from. 447 DECLR3CALLBACKMEMBER(int, pfnWriteSync, (void *pvUser, void *pStorage, uint64_t uOffset, 456 * @param uOffset The offset to start from. 461 DECLR3CALLBACKMEMBER(int, pfnReadSync, (void *pvUser, void *pStorage, uint64_t uOffset, 479 * @param uOffset The offset to start reading from. 486 DECLR3CALLBACKMEMBER(int, pfnReadAsync, (void *pvUser, void *pStorage, uint64_t uOffset, 497 * @param uOffset The offset to start writing to. 504 DECLR3CALLBACKMEMBER(int, pfnWriteAsync, (void *pvUser, void *pStorage, uint64_t uOffset, 591 uint64_t uOffset, const void *pvBuffer, size_t cbBuffer, 594 return pIfIo->pfnWriteSync(pIfIo->Core.pvUser, pStorage, uOffset, 590 vdIfIoFileWriteSync(PVDINTERFACEIO pIfIo, void *pStorage, uint64_t uOffset, const void *pvBuffer, size_t cbBuffer, size_t *pcbWritten) argument 598 vdIfIoFileReadSync(PVDINTERFACEIO pIfIo, void *pStorage, uint64_t uOffset, void *pvBuffer, size_t cbBuffer, size_t *pcbRead) argument [all...] |
/vbox/src/VBox/Devices/Storage/VSCSI/ |
H A D | VSCSIIoReq.cpp | 55 VSCSIIOREQTXDIR enmTxDir, uint64_t uOffset, 61 LogFlowFunc(("pVScsiLun=%#p pVScsiReq=%#p enmTxDir=%u uOffset=%llu cbTransfer=%u\n", 62 pVScsiLun, pVScsiReq, enmTxDir, uOffset, cbTransfer)); 71 pVScsiIoReq->u.Io.uOffset = uOffset; 195 *puOffset = pVScsiIoReq->u.Io.uOffset; 54 vscsiIoReqTransferEnqueue(PVSCSILUNINT pVScsiLun, PVSCSIREQINT pVScsiReq, VSCSIIOREQTXDIR enmTxDir, uint64_t uOffset, size_t cbTransfer) argument
|
H A D | VSCSIInternal.h | 141 uint64_t uOffset; member in struct:VSCSIIOREQINT::__anon15957::__anon15958 338 * @param uOffset Start offset of the transfer. 342 VSCSIIOREQTXDIR enmTxDir, uint64_t uOffset,
|
/vbox/src/VBox/Storage/ |
H A D | VD.cpp | 186 * The uOffset + cbDiscard range is the search key. */ 377 volatile uint64_t uOffset; member in struct:VDIOCTX::__anon16785::__anon16786 992 * @param uOffset The start offset of the write. 996 static int vdFilterChainApplyWrite(PVBOXHDD pDisk, uint64_t uOffset, size_t cbWrite, argument 1006 rc = pFilter->pBackend->pfnFilterWrite(pFilter->pvBackendData, uOffset, cbWrite, pIoCtx); 1021 * @param uOffset The start offset of the read. 1025 static int vdFilterChainApplyRead(PVBOXHDD pDisk, uint64_t uOffset, size_t cbRead, argument 1038 rc = pFilter->pBackend->pfnFilterRead(pFilter->pvBackendData, uOffset, cbRead, pIoCtx); 1064 uint64_t uOffset, size_t cbTransfer, PVDIMAGE pImageStart, 1071 pIoCtx->Req.Io.uOffset 1063 vdIoCtxInit(PVDIOCTX pIoCtx, PVBOXHDD pDisk, VDIOCTXTXDIR enmTxDir, uint64_t uOffset, size_t cbTransfer, PVDIMAGE pImageStart, PCRTSGBUF pcSgBuf, void *pvAllocation, PFNVDIOCTXTRANSFER pfnIoCtxTransfer, uint32_t fFlags) argument 1115 vdCacheReadHelper(PVDCACHE pCache, uint64_t uOffset, size_t cbRead, PVDIOCTX pIoCtx, size_t *pcbRead) argument 1143 vdCacheWriteHelper(PVDCACHE pCache, uint64_t uOffset, size_t cbWrite, PVDIOCTX pIoCtx, size_t *pcbWritten) argument 1322 vdDiscardSetRangeAllocated(PVBOXHDD pDisk, uint64_t uOffset, size_t cbRange) argument 1364 vdIoCtxAlloc(PVBOXHDD pDisk, VDIOCTXTXDIR enmTxDir, uint64_t uOffset, size_t cbTransfer, PVDIMAGE pImageStart,PCRTSGBUF pcSgBuf, void *pvAllocation, PFNVDIOCTXTRANSFER pfnIoCtxTransfer, uint32_t fFlags) argument 1382 vdIoCtxRootAlloc(PVBOXHDD pDisk, VDIOCTXTXDIR enmTxDir, uint64_t uOffset, size_t cbTransfer, PVDIMAGE pImageStart, PCRTSGBUF pcSgBuf, PFNVDASYNCTRANSFERCOMPLETE pfnComplete, void *pvUser1, void *pvUser2, void *pvAllocation, PFNVDIOCTXTRANSFER pfnIoCtxTransfer, uint32_t fFlags) argument 1456 vdIoCtxChildAlloc(PVBOXHDD pDisk, VDIOCTXTXDIR enmTxDir, uint64_t uOffset, size_t cbTransfer, PVDIMAGE pImageStart, PCRTSGBUF pcSgBuf, PVDIOCTX pIoCtxParent, size_t cbTransferParent, size_t cbWriteParent, void *pvAllocation, PFNVDIOCTXTRANSFER pfnIoCtxTransfer) argument 1550 vdMetaXferAlloc(PVDIOSTORAGE pIoStorage, uint64_t uOffset, size_t cb) argument 1969 vdDiskReadHelper(PVBOXHDD pDisk, PVDIMAGE pImage, PVDIMAGE pImageParentOverride, uint64_t uOffset, size_t cbRead, PVDIOCTX pIoCtx, size_t *pcbThisRead) argument 2014 uint64_t uOffset = pIoCtx->Req.Io.uOffset; local 2163 vdParentRead(void *pvUser, uint64_t uOffset, void *pvBuf, size_t cbRead) argument 2217 vdReadHelperEx(PVBOXHDD pDisk, PVDIMAGE pImage, PVDIMAGE pImageParentOverride, uint64_t uOffset, void *pvBuf, size_t cbRead, bool fZeroFreeBlocks, bool fUpdateCache, unsigned cImagesRead) argument 2257 vdReadHelper(PVBOXHDD pDisk, PVDIMAGE pImage, uint64_t uOffset, void *pvBuf, size_t cbRead, bool fUpdateCache) argument 2316 vdWriteHelperEx(PVBOXHDD pDisk, PVDIMAGE pImage, PVDIMAGE pImageParentOverride, uint64_t uOffset, const void *pvBuf, size_t cbWrite, uint32_t fFlags, unsigned cImagesRead) argument 2356 vdWriteHelper(PVBOXHDD pDisk, PVDIMAGE pImage, uint64_t uOffset, const void *pvBuf, size_t cbWrite, uint32_t fFlags) argument 2374 uint64_t uOffset = 0; local 2723 uint64_t uOffset = pIoCtx->Type.Child.uOffsetSaved; local 2893 uint64_t uOffset = pIoCtx->Type.Child.uOffsetSaved; local 2955 uint64_t uOffset = pIoCtx->Req.Io.uOffset; local 4002 vdIOWriteSyncFallback(void *pvUser, void *pvStorage, uint64_t uOffset, const void *pvBuf, size_t cbWrite, size_t *pcbWritten) argument 4013 vdIOReadSyncFallback(void *pvUser, void *pvStorage, uint64_t uOffset, void *pvBuf, size_t cbRead, size_t *pcbRead) argument 4034 vdIOReadAsyncFallback(void *pvUser, void *pStorage, uint64_t uOffset, PCRTSGSEG paSegments, size_t cSegments, size_t cbRead, void *pvCompletion, void **ppTask) argument 4045 vdIOWriteAsyncFallback(void *pvUser, void *pStorage, uint64_t uOffset, PCRTSGSEG paSegments, size_t cSegments, size_t cbWrite, void *pvCompletion, void **ppTask) argument 4619 vdIOIntReadUser(void *pvUser, PVDIOSTORAGE pIoStorage, uint64_t uOffset, PVDIOCTX pIoCtx, size_t cbRead) argument 4716 vdIOIntWriteUser(void *pvUser, PVDIOSTORAGE pIoStorage, uint64_t uOffset, PVDIOCTX pIoCtx, size_t cbWrite, PFNVDXFERCOMPLETED pfnComplete, void *pvCompleteUser) argument 4816 vdIOIntReadMeta(void *pvUser, PVDIOSTORAGE pIoStorage, uint64_t uOffset, void *pvBuf, size_t cbRead, PVDIOCTX pIoCtx, PPVDMETAXFER ppMetaXfer, PFNVDXFERCOMPLETED pfnComplete, void *pvCompleteUser) argument 4938 vdIOIntWriteMeta(void *pvUser, PVDIOSTORAGE pIoStorage, uint64_t uOffset, const void *pvBuf, size_t cbWrite, PVDIOCTX pIoCtx, PFNVDXFERCOMPLETED pfnComplete, void *pvCompleteUser) argument 5428 vdIOIntWriteUserLimited(void *pvUser, PVDIOSTORAGE pStorage, uint64_t uOffset, PVDIOCTX pIoCtx, size_t cbWrite, PFNVDXFERCOMPLETED pfnComplete, void *pvCompleteUser) argument 5444 vdIOIntReadUserLimited(void *pvUser, PVDIOSTORAGE pStorage, uint64_t uOffset, PVDIOCTX pIoCtx, size_t cbRead) argument 5456 vdIOIntWriteMetaLimited(void *pvUser, PVDIOSTORAGE pStorage, uint64_t uOffset, const void *pvBuffer, size_t cbBuffer, PVDIOCTX pIoCtx, PFNVDXFERCOMPLETED pfnComplete, void *pvCompleteUser) argument 5471 vdIOIntReadMetaLimited(void *pvUser, PVDIOSTORAGE pStorage, uint64_t uOffset, void *pvBuffer, size_t cbBuffer, PVDIOCTX pIoCtx, PPVDMETAXFER ppMetaXfer, PFNVDXFERCOMPLETED pfnComplete, void *pvCompleteUser) argument 7678 uint64_t uOffset = 0; local 7807 uint64_t uOffset = 0; local 8732 uint64_t uOffset = 0; local 9175 VDRead(PVBOXHDD pDisk, uint64_t uOffset, void *pvBuf, size_t cbRead) argument 9244 VDWrite(PVBOXHDD pDisk, uint64_t uOffset, const void *pvBuf, size_t cbWrite) argument 10730 VDAsyncRead(PVBOXHDD pDisk, uint64_t uOffset, size_t cbRead, PCRTSGBUF pcSgBuf, PFNVDASYNCTRANSFERCOMPLETE pfnComplete, void *pvUser1, void *pvUser2) argument 10803 VDAsyncWrite(PVBOXHDD pDisk, uint64_t uOffset, size_t cbWrite, PCRTSGBUF pcSgBuf, PFNVDASYNCTRANSFERCOMPLETE pfnComplete, void *pvUser1, void *pvUser2) argument [all...] |
H A D | Parallels.cpp | 617 static int parallelsRead(void *pBackendData, uint64_t uOffset, size_t cbToRead, argument 620 LogFlowFunc(("pBackendData=%#p uOffset=%llu pIoCtx=%#p cbToRead=%zu pcbActuallyRead=%#p\n", 621 pBackendData, uOffset, pIoCtx, cbToRead, pcbActuallyRead)); 629 Assert(uOffset % 512 == 0); 633 rc = vdIfIoIntFileReadUser(pImage->pIfIo, pImage->pStorage, uOffset, 638 uSector = uOffset / 512; 662 static int parallelsWrite(void *pBackendData, uint64_t uOffset, size_t cbToWrite, argument 666 LogFlowFunc(("pBackendData=%#p uOffset=%llu pIoCtx=%#p cbToWrite=%zu pcbWriteProcess=%#p\n", 667 pBackendData, uOffset, pIoCtx, cbToWrite, pcbWriteProcess)); 675 Assert(uOffset [all...] |
H A D | DMG.cpp | 536 DECLINLINE(int) dmgFileInflateSync(PDMGIMAGE pImage, uint64_t uOffset, size_t cbToRead, argument 546 InflateState.uFileOffset = uOffset; 1895 static DECLCALLBACK(int) dmgRead(void *pBackendData, uint64_t uOffset, size_t cbToRead, argument 1898 LogFlowFunc(("pBackendData=%#p uOffset=%llu pIoCtx=%#p cbToRead=%zu pcbActuallyRead=%#p\n", 1899 pBackendData, uOffset, pIoCtx, cbToRead, pcbActuallyRead)); 1905 Assert(uOffset % DMG_SECTOR_SIZE == 0); 1908 if ( uOffset + cbToRead > pThis->cbSize 1915 pExtent = dmgExtentGetFromOffset(pThis, DMG_BYTE2BLOCK(uOffset)); 1919 uint64_t uExtentRel = DMG_BYTE2BLOCK(uOffset) - pExtent->uSectorExtent; 1983 static DECLCALLBACK(int) dmgWrite(void *pBackendData, uint64_t uOffset, size_ argument [all...] |
H A D | VHDX.cpp | 1904 static int vhdxRead(void *pBackendData, uint64_t uOffset, size_t cbToRead, argument 1907 LogFlowFunc(("pBackendData=%#p uOffset=%llu pIoCtx=%#p cbToRead=%zu pcbActuallyRead=%#p\n", 1908 pBackendData, uOffset, pIoCtx, cbToRead, pcbActuallyRead)); 1913 Assert(uOffset % 512 == 0); 1916 if ( uOffset + cbToRead > pImage->cbSize 1921 uint32_t idxBat = (uint32_t)(uOffset / pImage->cbBlock); Assert(idxBat == uOffset / pImage->cbBlock); 1922 uint32_t offRead = uOffset % pImage->cbBlock; 1962 static int vhdxWrite(void *pBackendData, uint64_t uOffset, size_t cbToWrite, argument 1966 LogFlowFunc(("pBackendData=%#p uOffset [all...] |
/vbox/src/VBox/Devices/Storage/ |
H A D | DrvSCSI.cpp | 153 uint64_t uOffset = 0; local 159 rc = VSCSIIoReqParamsGet(hVScsiIoReq, &uOffset, &cbTransfer, &cSeg, &cbSeg, 167 Log(("%s: uOffset=%llu cbProcess=%u\n", __FUNCTION__, uOffset, cbProcess)); 172 rc = pThis->pDrvBlock->pfnRead(pThis->pDrvBlock, uOffset, 182 rc = pThis->pDrvBlock->pfnWrite(pThis->pDrvBlock, uOffset, 191 uOffset += cbProcess; 204 uOffset, 301 uint64_t uOffset = 0; local 307 VSCSIIoReqParamsGet(hVScsiIoReq, &uOffset, 374 uint64_t uOffset = 0; local [all...] |
H A D | DrvDiskIntegrity.cpp | 859 static DECLCALLBACK(int) drvdiskintStartRead(PPDMIMEDIAASYNC pInterface, uint64_t uOffset, argument 863 LogFlow(("%s: uOffset=%llu paSeg=%#p cSeg=%u cbRead=%d pvUser=%#p\n", __FUNCTION__, 864 uOffset, paSeg, cSeg, cbRead, pvUser)); 866 PDRVDISKAIOREQ pIoReq = drvdiskintIoReqAlloc(DRVDISKAIOTXDIR_READ, uOffset, paSeg, cSeg, cbRead, pvUser); 874 int rc2 = VDDbgIoLogStart(pThis->hIoLogger, true, VDDBGIOLOGREQ_READ, uOffset, 879 int rc = pThis->pDrvMediaAsync->pfnStartRead(pThis->pDrvMediaAsync, uOffset, paSeg, cSeg, 886 int rc2 = drvdiskintReadVerify(pThis, paSeg, cSeg, uOffset, cbRead); 911 static DECLCALLBACK(int) drvdiskintStartWrite(PPDMIMEDIAASYNC pInterface, uint64_t uOffset, argument 915 LogFlow(("%s: uOffset=%#llx paSeg=%#p cSeg=%u cbWrite=%d pvUser=%#p\n", __FUNCTION__, 916 uOffset, paSe [all...] |
H A D | DrvVD.cpp | 425 static DECLCALLBACK(int) drvvdAsyncIOReadSync(void *pvUser, void *pStorage, uint64_t uOffset, argument 438 int rc = PDMR3AsyncCompletionEpRead(pStorageBackend->pEndpoint, uOffset, &DataSeg, 1, cbRead, NULL, &pTask); 457 static DECLCALLBACK(int) drvvdAsyncIOWriteSync(void *pvUser, void *pStorage, uint64_t uOffset, argument 470 int rc = PDMR3AsyncCompletionEpWrite(pStorageBackend->pEndpoint, uOffset, &DataSeg, 1, cbWrite, NULL, &pTask); 517 static DECLCALLBACK(int) drvvdAsyncIOReadAsync(void *pvUser, void *pStorage, uint64_t uOffset, argument 525 int rc = PDMR3AsyncCompletionEpRead(pStorageBackend->pEndpoint, uOffset, paSegments, (unsigned)cSegments, cbRead, 533 static DECLCALLBACK(int) drvvdAsyncIOWriteAsync(void *pvUser, void *pStorage, uint64_t uOffset, argument 541 int rc = PDMR3AsyncCompletionEpWrite(pStorageBackend->pEndpoint, uOffset, paSegments, (unsigned)cSegments, cbWrite, 2028 static DECLCALLBACK(int) drvvdStartRead(PPDMIMEDIAASYNC pInterface, uint64_t uOffset, argument 2032 LogFlowFunc(("uOffset 2061 drvvdStartWrite(PPDMIMEDIAASYNC pInterface, uint64_t uOffset, PCRTSGSEG paSeg, unsigned cSeg, size_t cbWrite, void *pvUser) argument [all...] |
/vbox/src/VBox/Devices/VirtIO/ |
H A D | Virtio.cpp | 201 unsigned int i, uOffset, cbReserved = uReserved; local 205 for (i = uOffset = 0; i < pElem->nIn && uOffset < uLen - uReserved; i++) 207 uint32_t cbSegLen = RT_MIN(uLen - cbReserved - uOffset, pElem->aSegsIn[i].cb - cbReserved); 216 uOffset += cbSegLen; 219 Assert((uReserved + uOffset) == uLen || pElem->nIn == 0); 599 * @param uOffset The register offset. 603 DECLINLINE(void) vpciCfgSetU8(PCIDEVICE& refPciDev, uint32_t uOffset, uint8_t u8Value) argument 605 Assert(uOffset < sizeof(refPciDev.config)); 606 refPciDev.config[uOffset] [all...] |
/vbox/src/VBox/Storage/testcase/ |
H A D | vbox-img.cpp | 564 static int convInRead(void *pvUser, void *pStorage, uint64_t uOffset, argument 571 AssertReturn(uOffset >= pFS->off, VERR_INVALID_PARAMETER); 603 while (uOffset > pFS->offBuffer + pFS->cbBuffer - 1) 632 pFS->cbBuffer - uOffset % sizeof(pFS->abBuffer)); 633 memcpy(pvBuffer, &pFS->abBuffer[uOffset % sizeof(pFS->abBuffer)], 635 uOffset += cbThisRead; 646 pFS->off = uOffset; 651 static int convInWrite(void *pvUser, void *pStorage, uint64_t uOffset, argument 657 NOREF(uOffset); 767 static int convOutRead(void *pvUser, void *pStorage, uint64_t uOffset, argument 779 convOutWrite(void *pvUser, void *pStorage, uint64_t uOffset, const void *pvBuffer, size_t cbBuffer, size_t *pcbWritten) argument [all...] |
/vbox/src/VBox/Main/src-server/ |
H A D | ApplianceImplIO.cpp | 295 static int fileWriteSyncCallback(void * /* pvUser */, void *pvStorage, uint64_t uOffset, argument 303 return RTFileWriteAt(pInt->file, uOffset, pvBuf, cbWrite, pcbWritten); 306 static int fileReadSyncCallback(void * /* pvUser */, void *pvStorage, uint64_t uOffset, argument 316 return RTFileReadAt(pInt->file, uOffset, pvBuf, cbRead, pcbRead); 416 static DECLCALLBACK(int) tarWriter_WriteSync(void *pvUser, void *pvStorage, uint64_t uOffset, argument 427 return RTTarFileWriteAt(pInt->hTarFile, uOffset, pvBuf, cbWrite, pcbWritten); 430 static DECLCALLBACK(int) tarWriter_ReadSync(void *pvUser, void *pvStorage, uint64_t uOffset, argument 443 return RTTarFileReadAt(pInt->hTarFile, uOffset, pvBuf, cbRead, pcbRead); 1061 * file (or our buffer) in setSize or when uOffset in writeSync is 1309 static int shaWriteSyncCallback(void *pvUser, void *pvStorage, uint64_t uOffset, argument 1405 shaReadSyncCallback(void *pvUser, void *pvStorage, uint64_t uOffset, void *pvBuf, size_t cbRead, size_t *pcbRead) argument [all...] |
/vbox/src/VBox/Main/include/ |
H A D | GuestFileImpl.h | 59 int i_readDataAt(uint64_t uOffset, uint32_t uSize, uint32_t uTimeoutMS, 69 int i_writeDataAt(uint64_t uOffset, uint32_t uTimeoutMS, void *pvData, uint32_t cbData, uint32_t *pcbWritten);
|
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/include/ |
H A D | shtypes.idl | 74 [case(STRRET_OFFSET)] UINT uOffset; /* Offset into SHITEMID (ANSI) */
|
/vbox/src/VBox/Main/testcase/ |
H A D | tstGuestCtrlParseBuffer.cpp | 232 uint32_t uOffset = stream.GetOffset(); local 233 size_t uToWrite = aTestBlock[iTest].cbData - uOffset; 242 RTStrmWriteEx(g_pStdOut, &aTestBlock[iTest].pbData[uOffset], uToWrite - 1, NULL);
|
/vbox/src/VBox/Devices/Network/ |
H A D | DevVirtioNet.cpp | 832 unsigned int uOffset = 0; local 834 for (nElem = 0; uOffset < cb; nElem++) 874 while (nSeg < elem.nIn && uOffset < cb) 877 cb - uOffset); 878 elem.aSegsIn[nSeg++].pv = (uint8_t*)pvBuf + uOffset; 879 uOffset += uSize; 902 if (uOffset < cb) 1136 DECLINLINE(void) vnetCompleteChecksum(uint8_t *pBuf, unsigned cbSize, uint16_t uStart, uint16_t uOffset) argument 1138 *(uint16_t*)(pBuf + uStart + uOffset) = vnetCSum16(pBuf + uStart, cbSize - uStart); 1188 unsigned int uOffset local 1550 unsigned int uOffset = 0; local [all...] |
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/ |
H A D | shtypes.idl | 77 [case(STRRET_OFFSET)] UINT uOffset; /* Offset into SHITEMID (ANSI) */
|
/vbox/src/VBox/Frontends/VirtualBox/src/ |
H A D | UIVMLogViewer.cpp | 465 ULONG uOffset = 0; local 469 QVector<BYTE> data = m_machine.ReadLog(i, uOffset, _1M); 473 uOffset += data.size(); 476 if (uOffset > 0)
|
/vbox/src/VBox/Additions/common/VBoxService/ |
H A D | VBoxServiceControlSession.cpp | 210 uint64_t uOffset = 0; local 225 &uOffset); 226 VBoxServiceVerbose(4, "[File %s]: szAccess=%s, szDisposition=%s, szSharing=%s, uOffset=%RU64, rc=%Rrc\n", 227 szFile, szAccess, szDisposition, szSharing, uOffset, rc); 251 && uOffset) 255 rc = RTFileSeek(pFile->hFile, (int64_t)uOffset, RTFILE_SEEK_BEGIN, NULL /* Current offset */); 258 pFile->szName, uOffset, rc); 564 uint64_t uOffset; /* Will be converted to int64_t. */ local 569 &uSeekMethod, &uOffset); 597 rc = RTFileSeek(pFile->hFile, (int64_t)uOffset, [all...] |