Lines Matching defs:pFree
453 PVCIBLKRANGEDESC pFree = (PVCIBLKRANGEDESC)RTMemAllocZ(sizeof(VCIBLKRANGEDESC));
457 if (pBlkMap && pFree)
464 pFree->pPrev = NULL;
465 pFree->pNext = NULL;
466 pFree->offAddrStart = 0;
467 pFree->cBlocks = cBlocks;
468 pFree->fFree = true;
470 pBlkMap->pRangesHead = pFree;
471 pBlkMap->pRangesTail = pFree;
481 if (pFree)
482 RTMemFree(pFree);
838 PVCIBLKRANGEDESC pFree = (PVCIBLKRANGEDESC)RTMemAllocZ(sizeof(VCIBLKRANGEDESC));
840 if (pFree)
842 pFree->fFree = true;
843 pFree->cBlocks = pBestFit->cBlocks - cBlocks;
844 pBestFit->cBlocks -= pFree->cBlocks;
845 pFree->offAddrStart = pBestFit->offAddrStart + cBlocks;
848 pFree->pNext = pBestFit->pNext;
849 pBestFit->pNext = pFree;
850 pFree->pPrev = pBestFit;
851 if (!pFree->pNext)
852 pBlkMap->pRangesTail = pFree;