Lines Matching defs:uPtr

106 static int                  supdrvMemRelease(PSUPDRVSESSION pSession, RTHCUINTPTR uPtr, SUPDRVMEMREFTYPE eType);
3083 * @param uPtr Pointer to the memory (ring-3 or ring-0).
3085 SUPR0DECL(int) SUPR0ContFree(PSUPDRVSESSION pSession, RTHCUINTPTR uPtr)
3087 LogFlow(("SUPR0ContFree: pSession=%p uPtr=%p\n", pSession, (void *)uPtr));
3089 return supdrvMemRelease(pSession, uPtr, MEMREF_TYPE_CONT);
3171 * @param uPtr Pointer to the memory (ring-3 or ring-0).
3173 SUPR0DECL(int) SUPR0LowFree(PSUPDRVSESSION pSession, RTHCUINTPTR uPtr)
3175 LogFlow(("SUPR0LowFree: pSession=%p uPtr=%p\n", pSession, (void *)uPtr));
3177 return supdrvMemRelease(pSession, uPtr, MEMREF_TYPE_LOW);
3247 * @param uPtr The Ring-0 or Ring-3 address returned by SUPR0MemAlloc().
3250 SUPR0DECL(int) SUPR0MemGetPhys(PSUPDRVSESSION pSession, RTHCUINTPTR uPtr, PSUPPAGE paPages) /** @todo switch this bugger to RTHCPHYS */
3253 LogFlow(("SUPR0MemGetPhys: pSession=%p uPtr=%p paPages=%p\n", pSession, (void *)uPtr, paPages));
3260 AssertReturn(uPtr, VERR_INVALID_PARAMETER);
3275 && ( (RTHCUINTPTR)RTR0MemObjAddress(pBundle->aMem[i].MemObj) == uPtr
3277 && RTR0MemObjAddressR3(pBundle->aMem[i].MapObjR3) == uPtr)
3295 Log(("Failed to find %p!!!\n", (void *)uPtr));
3305 * @param uPtr The Ring-0 or Ring-3 address returned by SUPR0MemAlloc().
3307 SUPR0DECL(int) SUPR0MemFree(PSUPDRVSESSION pSession, RTHCUINTPTR uPtr)
3309 LogFlow(("SUPR0MemFree: pSession=%p uPtr=%p\n", pSession, (void *)uPtr));
3311 return supdrvMemRelease(pSession, uPtr, MEMREF_TYPE_MEM);
4272 * @param uPtr Pointer to memory. This is matched against both the R0 and R3 addresses.
4275 static int supdrvMemRelease(PSUPDRVSESSION pSession, RTHCUINTPTR uPtr, SUPDRVMEMREFTYPE eType)
4282 if (!uPtr)
4284 Log(("Illegal address %p\n", (void *)uPtr));
4301 && ( (RTHCUINTPTR)RTR0MemObjAddress(pBundle->aMem[i].MemObj) == uPtr
4303 && RTR0MemObjAddressR3(pBundle->aMem[i].MapObjR3) == uPtr))
4329 Log(("Failed to find %p!!! (eType=%d)\n", (void *)uPtr, eType));