Searched refs:cbLeftToWrite (Results 1 - 3 of 3) sorted by relevance
/vbox/src/VBox/Runtime/common/dvm/ |
H A D | dvmvfs.cpp | 167 size_t cbLeftToWrite; local 172 *pcbWritten = cbLeftToWrite = (size_t)(RTDvmVolumeGetSize(pThis->hVol) - offUnsigned); 176 cbLeftToWrite = pSgBuf->paSegs[0].cbSeg; 178 *pcbWritten = cbLeftToWrite; 184 if (cbLeftToWrite > 0) 186 rc = RTDvmVolumeWrite(pThis->hVol, (uint64_t)off, pSgBuf->paSegs[0].pvSeg, cbLeftToWrite); 188 offUnsigned += cbLeftToWrite;
|
/vbox/src/VBox/Runtime/common/vfs/ |
H A D | vfsmemory.cpp | 456 size_t cbLeftToWrite = pSgBuf->paSegs[0].cbSeg; 457 if (!cbLeftToWrite) 460 if (offUnsigned + cbLeftToWrite >= (uint64_t)RTFOFF_MAX) 477 uint8_t const *pbSrcNZ = (uint8_t const *)ASMMemIsAll8(pbSrc, cbLeftToWrite, 0); 478 size_t cbZeros = pbSrcNZ ? pbSrcNZ - pbSrc : cbLeftToWrite; 485 cbLeftToWrite -= cbZeros; 486 if (!cbLeftToWrite) 498 pExtent = rtVfsMemFile_AllocExtent(pThis, offUnsigned, cbLeftToWrite, pExtent); 512 if (cbThisWrite > cbLeftToWrite) 513 cbThisWrite = (uint32_t)cbLeftToWrite; [all...] |
/vbox/src/VBox/Storage/ |
H A D | VDVfs.cpp | 302 size_t cbLeftToWrite; local 307 *pcbWritten = cbLeftToWrite = (size_t)(VDGetSize(pThis->pDisk, VD_LAST_IMAGE) - offUnsigned); 311 cbLeftToWrite = pSgBuf->paSegs[0].cbSeg; 313 *pcbWritten = cbLeftToWrite; 319 if (cbLeftToWrite > 0) 321 rc = vdWriteHelper(pThis->pDisk, (uint64_t)off, pSgBuf->paSegs[0].pvSeg, cbLeftToWrite); 323 offUnsigned += cbLeftToWrite;
|
Completed in 171 milliseconds