Lines Matching refs:uFileOffset
4179 uint64_t uFileOffset = pExtent->uAppendPosition;
4180 if (!uFileOffset)
4183 uFileOffset = RT_ALIGN_64(uFileOffset, 512);
4191 rc = vdIfIoIntFileWriteSync(pImage->pIfIo, pExtent->pFile->pStorage, uFileOffset,
4194 uFileOffset += 512;
4199 pExtent->pGD[uGDEntry] = VMDK_BYTE2SECTOR(uFileOffset);
4209 rc = vdIfIoIntFileWriteSync(pImage->pIfIo, pExtent->pFile->pStorage, uFileOffset,
4212 uFileOffset += VMDK_GT_CACHELINE_SIZE * sizeof(uint32_t);
4216 Assert(!(uFileOffset % 512));
4217 pExtent->uAppendPosition = RT_ALIGN_64(uFileOffset, 512);
4284 uint64_t uFileOffset = pExtent->uAppendPosition;
4285 if (!uFileOffset)
4287 uFileOffset = RT_ALIGN_64(uFileOffset, 512);
4298 rc = vdIfIoIntFileWriteSync(pImage->pIfIo, pExtent->pFile->pStorage, uFileOffset,
4301 uFileOffset += 512;
4309 uFileOffset, pExtent->pGD,
4313 pExtent->uSectorGD = VMDK_BYTE2SECTOR(uFileOffset);
4314 pExtent->uSectorRGD = VMDK_BYTE2SECTOR(uFileOffset);
4315 uFileOffset = RT_ALIGN_64( uFileOffset
4324 uFileOffset, aMarker, sizeof(aMarker));
4327 uFileOffset += 512;
4328 rc = vmdkWriteMetaSparseExtent(pImage, pExtent, uFileOffset, NULL);
4331 uFileOffset += 512;
4335 uFileOffset, aMarker, sizeof(aMarker));
4412 uint64_t uFileOffset = pExtent->uAppendPosition;
4415 if (!uFileOffset)
4417 uFileOffset = RT_ALIGN_64(uFileOffset, 512);
4419 uFileOffset, pIoCtx);
4635 uint64_t uFileOffset;
4636 uFileOffset = pExtent->uAppendPosition;
4637 if (!uFileOffset)
4640 uFileOffset = RT_ALIGN_64(uFileOffset, 512);
4651 pImage->pGTCache->aGTCache[uCacheLine].aGTData[uCacheEntry] = VMDK_BYTE2SECTOR(uFileOffset);
4671 rc = vmdkFileDeflateSync(pImage, pExtent, uFileOffset, pData,
4817 uint64_t uFileOffset;
4849 uFileOffset = pExtent->uAppendPosition;
4850 if (!uFileOffset)
4852 Assert(!(uFileOffset % 512));
4854 uFileOffset = RT_ALIGN_64(uFileOffset, 512);
4855 uGTSector = VMDK_BYTE2SECTOR(uFileOffset);
4890 uFileOffset = pExtent->uAppendPosition;
4891 if (!uFileOffset)
4893 Assert(!(uFileOffset % 512));
4894 uRGTSector = VMDK_BYTE2SECTOR(uFileOffset);
4961 uFileOffset = pExtent->uAppendPosition;
4962 if (!uFileOffset)
4964 Assert(!(uFileOffset % 512));
4966 pGrainAlloc->uGrainOffset = uFileOffset;
4991 rc = vmdkFileDeflateSync(pImage, pExtent, uFileOffset,
5005 uFileOffset, pIoCtx, cbWrite,