/vbox/src/VBox/Runtime/generic/ |
H A D | memsafer-generic.cpp | 68 ("*pvStart=%#zx cb=%#zx\n", *(size_t *)((char *)pv- RTMEMSAFER_PAD_BEFORE), cb)); 88 ("*pvStart=%#zx cb=%#zx\n", *(size_t *)((char *)pv - RTMEMSAFER_PAD_BEFORE), cb)); 151 void *pvStart = (char *)pv - RTMEMSAFER_PAD_BEFORE; variable 152 AssertMsg(*(size_t *)pvStart == cb, ("*pvStart=%#zx cb=%#zx\n", *(size_t *)pvStart, cb)); 154 RTMemFree(pvStart); variable 175 ("*pvStart=%#zx cbOld=%#zx\n", *(size_t *)((char *)pvOld - RTMEMSAFER_PAD_BEFORE), cbOld));
|
/vbox/src/VBox/HostDrivers/VBoxNetFlt/darwin/ |
H A D | VBoxNetFlt-darwin.cpp | 581 void *pvStart = mbuf_datastart(pMBuf); local 582 uintptr_t offSeg = (uintptr_t)pvSeg - (uintptr_t)pvStart; 584 Assert(pvStart && pvSeg && offSeg < mbuf_maxlen(pMBuf) && offSegEnd <= mbuf_maxlen(pMBuf)); NOREF(offSegEnd); 585 uintptr_t offFrame = (uintptr_t)pvFrame - (uintptr_t)pvStart; 592 AssertMsgFailed(("pvFrame=%p pvStart=%p pvSeg=%p offSeg=%p cbSeg=%#zx offSegEnd=%p offFrame=%p maxlen=%#zx\n", 593 pvFrame, pvStart, pvSeg, offSeg, cbSeg, offSegEnd, offFrame, mbuf_maxlen(pMBuf)));
|
/vbox/src/VBox/Runtime/r0drv/haiku/ |
H A D | memobj-r0drv-haiku.c | 303 * @param pvStart The starting address. 311 static int rtR0MemObjNativeLockInMap(PPRTR0MEMOBJINTERNAL ppMem, void *pvStart, size_t cb, uint32_t fAccess, argument 318 LogFlowFunc(("ppMem=%p pvStart=%p cb=%u fAccess=%x R0Process=%d fFlags=%x\n", ppMem, pvStart, cb, fAccess, R0Process, 322 PRTR0MEMOBJHAIKU pMemHaiku = (PRTR0MEMOBJHAIKU)rtR0MemObjNew(sizeof(*pMemHaiku), RTR0MEMOBJTYPE_LOCK, pvStart, cb); 328 rc = lock_memory_etc(TeamId, pvStart, cb, fFlags);
|
/vbox/src/VBox/VMM/VMMR3/ |
H A D | MMHyper.cpp | 1133 * @param pvStart The hyper heap page address. Must be page 1138 VMMR3DECL(int) MMR3HyperSetGuard(PVM pVM, void *pvStart, size_t cb, bool fSet) argument 1143 AssertReturn(!((uintptr_t)pvStart & PAGE_OFFSET_MASK), VERR_INVALID_POINTER); 1146 PMMLOOKUPHYPER pLookup = mmR3HyperLookupR3(pVM, pvStart); 1159 uint32_t off = (uint32_t)((uint8_t *)pvStart - pbR3); 1163 rc = PGMMapSetPage(pVM, MMHyperR3ToRC(pVM, pvStart), cb, 0); 1168 rc = PGMMapSetPage(pVM, MMHyperR3ToRC(pVM, pvStart), cb, X86_PTE_P | X86_PTE_A | X86_PTE_D | X86_PTE_RW);
|
/vbox/src/VBox/HostDrivers/Support/ |
H A D | SUPLib.cpp | 942 * @param pvStart Start of virtual memory range. 948 SUPR3DECL(int) supR3PageLock(void *pvStart, size_t cPages, PSUPPAGE paPages) argument 953 AssertPtr(pvStart); 954 AssertMsg(RT_ALIGN_P(pvStart, PAGE_SIZE) == pvStart, ("pvStart (%p) must be page aligned\n", pvStart)); local 960 RTHCPHYS Phys = (uintptr_t)pvStart + PAGE_SIZE * 1024; 980 pReq->u.In.pvR3 = pvStart; 1007 * @param pvStart Star 1010 supR3PageUnlock(void *pvStart) argument 1016 AssertMsg(RT_ALIGN_P(pvStart, PAGE_SIZE) == pvStart, ("pvStart (%p) must be page aligned\\n", pvStart)); local [all...] |
/vbox/src/recompiler/ |
H A D | VBoxREMWrapper.cpp | 1785 static const struct { void *pvStart, *pvEnd; } s_aTemplates[] = member in struct:__anon17380 1802 const size_t cb = (uintptr_t)s_aTemplates[i].pvEnd - (uintptr_t)s_aTemplates[i].pvStart; 1805 memcpy(pb, s_aTemplates[i].pvStart, cb); 1814 static const struct { const char *pszName; PFNRT pvStart, pvEnd; } s_aTemplates[] = member in struct:__anon17381 1825 const size_t cb = (uintptr_t)s_aTemplates[i].pvEnd - (uintptr_t)s_aTemplates[i].pvStart; 1828 memcpy(pb, s_aTemplates[i].pvStart, cb); 1862 static const struct { void *pvStart, *pvEnd; } s_aTemplates[] = member in struct:__anon17382 1882 const size_t cb = (uintptr_t)s_aTemplates[i].pvEnd - (uintptr_t)s_aTemplates[i].pvStart; 1885 memcpy(pDesc->pvWrapper, s_aTemplates[i].pvStart, cb); 1905 static const struct { const char *pszName; PFNRT pvStart, pvEn member in struct:__anon17383 [all...] |