Lines Matching refs:pGrainAlloc

4690                                   PVMDKGRAINALLOCASYNC pGrainAlloc)
4697 uint64_t uSector = pGrainAlloc->uSector;
4700 LogFlowFunc(("pImage=%#p pExtent=%#p pCache=%#p pIoCtx=%#p pGrainAlloc=%#p\n",
4701 pImage, pExtent, pCache, pIoCtx, pGrainAlloc));
4703 uGTSector = pGrainAlloc->uGTSector;
4704 uRGTSector = pGrainAlloc->uRGTSector;
4720 &pMetaXfer, vmdkAllocGrainComplete, pGrainAlloc);
4723 pGrainAlloc->cIoXfersPending++;
4724 pGrainAlloc->fGTUpdateNeeded = true;
4744 pGrainAlloc->fGTUpdateNeeded = false;
4746 aGTDataTmp[uGTBlockIndex] = RT_H2LE_U32(VMDK_BYTE2SECTOR(pGrainAlloc->uGrainOffset));
4747 pGTCacheEntry->aGTData[uGTBlockIndex] = VMDK_BYTE2SECTOR(pGrainAlloc->uGrainOffset);
4752 vmdkAllocGrainComplete, pGrainAlloc);
4754 pGrainAlloc->cIoXfersPending++;
4763 vmdkAllocGrainComplete, pGrainAlloc);
4765 pGrainAlloc->cIoXfersPending++;
4789 PVMDKGRAINALLOCASYNC pGrainAlloc = (PVMDKGRAINALLOCASYNC)pvUser;
4790 PVMDKEXTENT pExtent = pGrainAlloc->pExtent;
4795 pGrainAlloc->cIoXfersPending--;
4796 if (!pGrainAlloc->cIoXfersPending && pGrainAlloc->fGTUpdateNeeded)
4797 rc = vmdkAllocGrainGTUpdate(pImage, pGrainAlloc->pExtent, pIoCtx, pGrainAlloc);
4799 if (!pGrainAlloc->cIoXfersPending)
4802 RTMemFree(pGrainAlloc);
4818 PVMDKGRAINALLOCASYNC pGrainAlloc = NULL;
4824 pGrainAlloc = (PVMDKGRAINALLOCASYNC)RTMemAllocZ(sizeof(VMDKGRAINALLOCASYNC));
4825 if (!pGrainAlloc)
4828 pGrainAlloc->pExtent = pExtent;
4829 pGrainAlloc->uSector = uSector;
4834 RTMemFree(pGrainAlloc);
4876 vmdkAllocGrainComplete, pGrainAlloc);
4878 pGrainAlloc->cIoXfersPending++;
4911 vmdkAllocGrainComplete, pGrainAlloc);
4913 pGrainAlloc->cIoXfersPending++;
4933 vmdkAllocGrainComplete, pGrainAlloc);
4935 pGrainAlloc->cIoXfersPending++;
4944 vmdkAllocGrainComplete, pGrainAlloc);
4946 pGrainAlloc->cIoXfersPending++;
4958 pGrainAlloc->uGTSector = uGTSector;
4959 pGrainAlloc->uRGTSector = uRGTSector;
4966 pGrainAlloc->uGrainOffset = uFileOffset;
5006 vmdkAllocGrainComplete, pGrainAlloc);
5008 pGrainAlloc->cIoXfersPending++;
5015 rc = vmdkAllocGrainGTUpdate(pImage, pExtent, pIoCtx, pGrainAlloc);
5017 if (!pGrainAlloc->cIoXfersPending)
5020 RTMemFree(pGrainAlloc);