Lines Matching defs:pvAlloc
112 void *pvAlloc;
149 rc = MMHyperAlloc(pVM, aOps[i].cb, aOps[i].uAlignment, MM_TAG_VM, &aOps[i].pvAlloc);
155 memset(aOps[i].pvAlloc, szFill[i], aOps[i].cb);
156 if (RT_ALIGN_P(aOps[i].pvAlloc, (aOps[i].uAlignment ? aOps[i].uAlignment : 8)) != aOps[i].pvAlloc)
158 RTPrintf("Failure: MMHyperAlloc(, %#x, %#x,) -> %p, invalid alignment!\n", aOps[i].cb, aOps[i].uAlignment, aOps[i].pvAlloc);
166 if ( !aOps[i].pvAlloc
170 rc = MMHyperFree(pVM, aOps[i].pvAlloc);
173 RTPrintf("Failure: MMHyperFree(, %p,) -> %d i=%d\n", aOps[i].pvAlloc, rc, i);
184 if (pv != aOps[i].pvAlloc)
186 RTPrintf("Failure: Free+Alloc returned different address. new=%p old=%p i=%d (doesn't work with delayed free)\n", pv, aOps[i].pvAlloc, i);
189 aOps[i].pvAlloc = pv;
208 || !aOps[j].pvAlloc)
210 RTPrintf("j=%d i=%d free=%d cb=%d pv=%p\n", j, i, MMHyperHeapGetFreeSize(pVM), aOps[j].cb, aOps[j].pvAlloc);
215 rc = MMHyperFree(pVM, aOps[j].pvAlloc);
218 RTPrintf("Failure: MMHyperFree(, %p,) -> %d j=%d i=%d\n", aOps[j].pvAlloc, rc, i, j);
222 aOps[j].pvAlloc = NULL;