Lines Matching defs:pExtents

429     PVMDKEXTENT     pExtents;
2090 pImage->pExtents[i].enmAccess = VMDKACCESS_READWRITE;
2095 pImage->pExtents[i].enmAccess = VMDKACCESS_READONLY;
2100 pImage->pExtents[i].enmAccess = VMDKACCESS_NOACCESS;
2110 &pImage->pExtents[i].cNominalSectors);
2124 pImage->pExtents[i].enmType = VMDKETYPE_HOSTED_SPARSE;
2129 pImage->pExtents[i].enmType = VMDKETYPE_FLAT;
2134 pImage->pExtents[i].enmType = VMDKETYPE_ZERO;
2139 pImage->pExtents[i].enmType = VMDKETYPE_VMFS;
2145 if (pImage->pExtents[i].enmType == VMDKETYPE_ZERO)
2152 pImage->pExtents[i].pszBasename = NULL;
2165 pImage->pExtents[i].pszBasename = pszBasename;
2173 &pImage->pExtents[i].uSectorOffset);
2446 uOffset = VMDK_SECTOR2BYTE(pImage->pExtents[0].uDescriptorSector);
2447 cbLimit = VMDK_SECTOR2BYTE(pImage->pExtents[0].cDescriptorSectors);
2448 pDescFile = pImage->pExtents[0].pFile;
2927 pExtent = &pImage->pExtents[i];
2957 PVMDKEXTENT pExtents = (PVMDKEXTENT)RTMemAllocZ(cExtents * sizeof(VMDKEXTENT));
2958 if (pExtents)
2962 pExtents[i].pFile = NULL;
2963 pExtents[i].pszBasename = NULL;
2964 pExtents[i].pszFullname = NULL;
2965 pExtents[i].pGD = NULL;
2966 pExtents[i].pRGD = NULL;
2967 pExtents[i].pDescData = NULL;
2968 pExtents[i].uVersion = 1;
2969 pExtents[i].uCompression = VMDK_COMPRESSION_NONE;
2970 pExtents[i].uExtent = i;
2971 pExtents[i].pImage = pImage;
2973 pImage->pExtents = pExtents;
3034 pExtent = &pImage->pExtents[0];
3179 pExtent = &pImage->pExtents[i];
3184 || ((pImage->pExtents[i].enmType == VMDKETYPE_FLAT) && (cFlatExtents > 0)))
3201 pExtent = &pImage->pExtents[i];
3318 pExtent = &pImage->pExtents[i];
3335 pExtent = &pImage->pExtents[i];
3336 if ( pImage->pExtents[i].enmType == VMDKETYPE_FLAT
3337 || pImage->pExtents[i].enmType == VMDKETYPE_ZERO)
3371 pExtent = &pImage->pExtents[0];
3462 pExtent = &pImage->pExtents[cExtents++];
3474 pExtent = &pImage->pExtents[cExtents++];
3561 pExtent = &pImage->pExtents[cExtents++];
3625 PVMDKEXTENT pExtent = &pImage->pExtents[i];
3859 PVMDKEXTENT pExtent = &pImage->pExtents[0];
3999 PVMDKEXTENT pExtent = &pImage->pExtents[i];
4086 pImage->pExtents[0].cDescriptorSectors = VMDK_BYTE2SECTOR(RT_ALIGN_64( pImage->Descriptor.aLines[pImage->Descriptor.cLines]
4088 rc = vmdkWriteMetaSparseExtent(pImage, &pImage->pExtents[0], 0, NULL);
4240 Assert(!pImage->pExtents[i].fUncleanShutdown);
4248 if ( ( pImage->pExtents[i].enmType == VMDKETYPE_HOSTED_SPARSE
4250 || pImage->pExtents[i].enmType == VMDKETYPE_ESX_SPARSE
4253 && pImage->pExtents[i].fUncleanShutdown)
4255 pImage->pExtents[i].fUncleanShutdown = false;
4256 pImage->pExtents[i].fMetaDirty = true;
4260 pImage->pExtents[i].uAppendPosition = 0;
4269 if ( !fDelete && pImage->pExtents
4270 && pImage->pExtents[0].cGTEntries
4271 && pImage->pExtents[0].uAppendPosition)
4273 PVMDKEXTENT pExtent = &pImage->pExtents[0];
4342 if (pImage->pExtents != NULL)
4346 int rc2 = vmdkFreeExtentData(pImage, &pImage->pExtents[i], fDelete);
4350 RTMemFree(pImage->pExtents);
4351 pImage->pExtents = NULL;
4398 pExtent = &pImage->pExtents[i];
4479 if (offSector < pImage->pExtents[i].cNominalSectors)
4481 pExtent = &pImage->pExtents[i];
4482 *puSectorInExtent = offSector + pImage->pExtents[i].uSectorOffset;
4485 offSector -= pImage->pExtents[i].cNominalSectors;
5241 pImage->pExtents = NULL;
5296 pImage->pExtents = NULL;
5392 pImage->pExtents = NULL;
5500 ExtentCopy = pImage->pExtents[0];
5555 PVMDKEXTENT pExtent = &pImage->pExtents[i];
5633 pImage->pExtents = &ExtentCopy;
5647 pImage->pExtents = NULL;
5876 && !pImage->pExtents[0].uAppendPosition
6048 if (pImage->pExtents[i].pFile != NULL)
6050 int rc = vdIfIoIntFileGetSize(pImage->pIfIo, pImage->pExtents[i].pFile->pStorage, &cbFile);