Lines Matching defs:pvRet
654 void *pvRet;
661 pvRet = (char *)(&pFree->core + 1) + pFree->cb;
662 AssertMsg(RT_ALIGN_P(pvRet, PAGE_SIZE) == pvRet, ("pvRet=%p cb=%#x pFree=%p pFree->cb=%#x\n", pvRet, cb, pFree, pFree->cb));
673 pvRet = (char *)(&pFree->core + 1) + pFree->cb - cb;
678 if (pvRet != (void *)pFree)
682 pPrev->offNext += (uintptr_t)pvRet - (uintptr_t)pFree;
686 pStat->cbAllocated += (uintptr_t)pvRet - (uintptr_t)pFree;
687 pStat->cbCurAllocated += (uintptr_t)pvRet - (uintptr_t)pFree;
689 Log3(("mmHyperAllocPages: Added %d to %p (page align)\n", (uintptr_t)pvRet - (uintptr_t)pFree, pFree));
705 pHeap->offPageAligned = (uintptr_t)pvRet - (uintptr_t)pHeap->CTX_SUFF(pbHeap);
706 Log3(("mmHyperAllocPages: Returning %p (page aligned)\n", pvRet));
711 return pvRet;