Searched refs:cbSub (Results 1 - 16 of 16) sorted by relevance

/vbox/include/iprt/
H A Dmemobj.h485 * This is the same as calling RTR0MemObjMapKernelEx with cbSub and offSub set
502 * This is the same as calling RTR0MemObjMapKernelEx with cbSub and offSub set
535 * the value must be page aligned and cbSub must be
537 * @param cbSub The size of the part of the object to be mapped. If
541 #define RTR0MemObjMapKernelEx(pMemObj, MemObjToMap, pvFixed, uAlignment, fProt, offSub, cbSub) \
542 RTR0MemObjMapKernelExTag((pMemObj), (MemObjToMap), (pvFixed), (uAlignment), (fProt), (offSub), (cbSub), RTMEM_TAG)
562 * the value must be page aligned and cbSub must be
564 * @param cbSub The size of the part of the object to be mapped. If
570 unsigned fProt, size_t offSub, size_t cbSub, const char *pszTag);
616 * @param cbSub Numbe
[all...]
/vbox/src/VBox/Runtime/r0drv/
H A Dmemobj-r0drv.cpp649 unsigned fProt, size_t offSub, size_t cbSub, const char *pszTag)
673 AssertReturn(!(cbSub & PAGE_OFFSET_MASK), VERR_INVALID_PARAMETER);
674 AssertReturn(cbSub <= pMemToMap->cb, VERR_INVALID_PARAMETER);
675 AssertReturn((!offSub && !cbSub) || (offSub + cbSub) <= pMemToMap->cb, VERR_INVALID_PARAMETER);
679 if (offSub == 0 && cbSub == pMemToMap->cb)
680 cbSub = 0;
683 rc = rtR0MemObjNativeMapKernel(&pNew, pMemToMap, pvFixed, uAlignment, fProt, offSub, cbSub);
756 RTR0DECL(int) RTR0MemObjProtect(RTR0MEMOBJ hMemObj, size_t offSub, size_t cbSub, uint32_t fProt) argument
769 AssertReturn(!(cbSub
648 RTR0MemObjMapKernelExTag(PRTR0MEMOBJ pMemObj, RTR0MEMOBJ MemObjToMap, void *pvFixed, size_t uAlignment, unsigned fProt, size_t offSub, size_t cbSub, const char *pszTag) argument
[all...]
/vbox/src/VBox/Runtime/include/internal/
H A Dmemobj.h427 * the value must be page aligned and cbSub must be
429 * @param cbSub The size of the part of the object to be mapped. If
434 unsigned fProt, size_t offSub, size_t cbSub);
457 * @param cbSub Number of bytes to change the protection of. Page
461 DECLHIDDEN(int) rtR0MemObjNativeProtect(PRTR0MEMOBJINTERNAL pMem, size_t offSub, size_t cbSub, uint32_t fProt);
/vbox/src/VBox/Runtime/r0drv/darwin/
H A Dmemobj-r0drv-darwin.cpp849 unsigned fProt, size_t offSub, size_t cbSub)
871 cbSub);
877 cbSub);
895 // IOAddressRange Range = { (mach_vm_address_t)pv, cbSub };
908 rtR0MemObjDarwinTouchPages(pv, cbSub);
922 pv, cbSub);
1012 DECLHIDDEN(int) rtR0MemObjNativeProtect(PRTR0MEMOBJINTERNAL pMem, size_t offSub, size_t cbSub, uint32_t fProt) argument
1056 cbSub,
1066 pVmMap, (void *)Start, (void *)cbSub, fMachProt, krc);
1094 rtR0MemObjDarwinTouchPages((void *)Start, cbSub);
848 rtR0MemObjNativeMapKernel(PPRTR0MEMOBJINTERNAL ppMem, RTR0MEMOBJ pMemToMap, void *pvFixed, size_t uAlignment, unsigned fProt, size_t offSub, size_t cbSub) argument
[all...]
/vbox/src/VBox/Runtime/r0drv/freebsd/
H A Dmemobj-r0drv-freebsd.c653 unsigned fProt, size_t offSub, size_t cbSub)
655 // AssertMsgReturn(!offSub && !cbSub, ("%#x %#x\n", offSub, cbSub), VERR_NOT_SUPPORTED);
679 if (cbSub == 0)
680 cbSub = pMemToMap->cb - offSub;
687 cbSub, /* Size of the mapping */
698 rc = vm_map_wire(kernel_map, Addr, Addr + cbSub, VM_MAP_WIRE_SYSTEM|VM_MAP_WIRE_NOHOLES);
704 cbSub);
712 rc = vm_map_remove(kernel_map, Addr, Addr + cbSub);
809 DECLHIDDEN(int) rtR0MemObjNativeProtect(PRTR0MEMOBJINTERNAL pMem, size_t offSub, size_t cbSub, uint32_ argument
652 rtR0MemObjNativeMapKernel(PPRTR0MEMOBJINTERNAL ppMem, RTR0MEMOBJ pMemToMap, void *pvFixed, size_t uAlignment, unsigned fProt, size_t offSub, size_t cbSub) argument
[all...]
/vbox/src/VBox/Runtime/r0drv/solaris/
H A Dmemobj-r0drv-solaris.c945 unsigned fProt, size_t offSub, size_t cbSub)
955 if (!cbSub)
956 cbSub = pMemToMap->cb;
957 void *pv = vmem_xalloc(heap_arena, cbSub, uAlignment, 0 /* phase */, 0 /* nocross */,
976 while (off < cbSub)
993 PRTR0MEMOBJSOL pMemSolaris = (PRTR0MEMOBJSOL)rtR0MemObjNew(sizeof(*pMemSolaris), RTR0MEMOBJTYPE_MAPPING, pv, cbSub);
1007 vmem_xfree(heap_arena, pv, cbSub);
1116 DECLHIDDEN(int) rtR0MemObjNativeProtect(PRTR0MEMOBJINTERNAL pMem, size_t offSub, size_t cbSub, uint32_t fProt) argument
1120 NOREF(cbSub);
944 rtR0MemObjNativeMapKernel(PPRTR0MEMOBJINTERNAL ppMem, RTR0MEMOBJ pMemToMap, void *pvFixed, size_t uAlignment, unsigned fProt, size_t offSub, size_t cbSub) argument
/vbox/src/VBox/Runtime/r0drv/haiku/
H A Dmemobj-r0drv-haiku.c400 unsigned fProt, size_t offSub, size_t cbSub)
409 AssertMsgReturn(!offSub && !cbSub, ("%#x %#x\n", offSub, cbSub), VERR_NOT_SUPPORTED);
414 fProt, offSub, cbSub);
586 int rtR0MemObjNativeProtect(PRTR0MEMOBJINTERNAL pMem, size_t offSub, size_t cbSub, uint32_t fProt) argument
399 rtR0MemObjNativeMapKernel(PPRTR0MEMOBJINTERNAL ppMem, RTR0MEMOBJ pMemToMap, void *pvFixed, size_t uAlignment, unsigned fProt, size_t offSub, size_t cbSub) argument
/vbox/src/VBox/Runtime/r0drv/nt/
H A Dmemobj-r0drv-nt.cpp806 unsigned fProt, size_t offSub, size_t cbSub)
808 AssertMsgReturn(!offSub && !cbSub, ("%#x %#x\n", offSub, cbSub), VERR_NOT_SUPPORTED);
820 DECLHIDDEN(int) rtR0MemObjNativeProtect(PRTR0MEMOBJINTERNAL pMem, size_t offSub, size_t cbSub, uint32_t fProt) argument
824 NOREF(cbSub);
805 rtR0MemObjNativeMapKernel(PPRTR0MEMOBJINTERNAL ppMem, RTR0MEMOBJ pMemToMap, void *pvFixed, size_t uAlignment, unsigned fProt, size_t offSub, size_t cbSub) argument
/vbox/src/VBox/Runtime/r0drv/os2/
H A Dmemobj-r0drv-os2.cpp319 unsigned fProt, size_t offSub, size_t cbSub)
321 AssertMsgReturn(!offSub && !cbSub, ("%#x %#x\n", offSub, cbSub), VERR_NOT_SUPPORTED);
489 DECLHIDDEN(int) rtR0MemObjNativeProtect(PRTR0MEMOBJINTERNAL pMem, size_t offSub, size_t cbSub, uint32_t fProt) argument
493 NOREF(cbSub);
318 rtR0MemObjNativeMapKernel(PPRTR0MEMOBJINTERNAL ppMem, RTR0MEMOBJ pMemToMap, void *pvFixed, size_t uAlignment, unsigned fProt, size_t offSub, size_t cbSub) argument
/vbox/src/VBox/Additions/common/VBoxGuest/
H A DVBoxGuest-haiku-stubs.c205 RTR0DECL(int) RTR0MemObjMapKernelExTag(PRTR0MEMOBJ pMemObj, RTR0MEMOBJ MemObjToMap, void *pvFixed, size_t uAlignment, unsigned fProt, size_t offSub, size_t cbSub, const char *pszTag) argument
207 return g_VBoxGuest->_RTR0MemObjMapKernelExTag(pMemObj, MemObjToMap, pvFixed, uAlignment, fProt, offSub, cbSub, pszTag);
217 RTR0DECL(int) RTR0MemObjProtect(RTR0MEMOBJ hMemObj, size_t offSub, size_t cbSub, uint32_t fProt) argument
219 return g_VBoxGuest->_RTR0MemObjProtect(hMemObj, offSub, cbSub, fProt);
H A DVBoxGuest-haiku.h145 unsigned fProt, size_t offSub, size_t cbSub, const char *pszTag);
150 int (*_RTR0MemObjProtect)(RTR0MEMOBJ hMemObj, size_t offSub, size_t cbSub, uint32_t fProt);
/vbox/src/VBox/HostDrivers/Support/
H A DSUPDrv.cpp1896 REQ_CHECK_EXPR_FMT(pReq->u.In.cbSub && !(pReq->u.In.cbSub & PAGE_OFFSET_MASK),
1897 ("SUP_IOCTL_PAGE_MAP_KERNEL: cbSub=%#x\n", pReq->u.In.cbSub));
1900 pReq->Hdr.rc = SUPR0PageMapKernel(pSession, pReq->u.In.pvR3, pReq->u.In.offSub, pReq->u.In.cbSub,
1915 REQ_CHECK_EXPR_FMT(pReq->u.In.cbSub && !(pReq->u.In.cbSub & PAGE_OFFSET_MASK),
1916 ("SUP_IOCTL_PAGE_PROTECT: cbSub=%#x\n", pReq->u.In.cbSub));
1919 pReq->Hdr.rc = SUPR0PageProtect(pSession, pReq->u.In.pvR3, pReq->u.In.pvR0, pReq->u.In.offSub, pReq->u.In.cbSub, pRe
3412 SUPR0PageMapKernel(PSUPDRVSESSION pSession, RTR3PTR pvR3, uint32_t offSub, uint32_t cbSub, uint32_t fFlags, PRTR0PTR ppvR0) argument
3498 SUPR0PageProtect(PSUPDRVSESSION pSession, RTR3PTR pvR3, RTR0PTR pvR0, uint32_t offSub, uint32_t cbSub, uint32_t fProt) argument
[all...]
H A DSUPDrvIOC.h699 uint32_t cbSub; member in struct:SUPPAGEMAPKERNEL::__anon16310::__anon16311
742 uint32_t cbSub; member in struct:SUPPAGEPROTECT::__anon16313::__anon16314
H A DSUPLib.cpp1207 Req.u.In.cbSub = cb;
1251 Req.u.In.cbSub = cb;
/vbox/src/VBox/Runtime/r0drv/linux/
H A Dmemobj-r0drv-linux.c1252 unsigned fProt, size_t offSub, size_t cbSub)
1259 AssertMsgReturn(!offSub && !cbSub, ("%#x %#x\n", offSub, cbSub), VERR_NOT_SUPPORTED);
1584 DECLHIDDEN(int) rtR0MemObjNativeProtect(PRTR0MEMOBJINTERNAL pMem, size_t offSub, size_t cbSub, uint32_t fProt) argument
1588 NOREF(cbSub);
1250 rtR0MemObjNativeMapKernel(PPRTR0MEMOBJINTERNAL ppMem, RTR0MEMOBJ pMemToMap, void *pvFixed, size_t uAlignment, unsigned fProt, size_t offSub, size_t cbSub) argument
/vbox/include/VBox/
H A Dsup.h1820 SUPR0DECL(int) SUPR0PageMapKernel(PSUPDRVSESSION pSession, RTR3PTR pvR3, uint32_t offSub, uint32_t cbSub, uint32_t fFlags, PRTR0PTR ppvR0);
1821 SUPR0DECL(int) SUPR0PageProtect(PSUPDRVSESSION pSession, RTR3PTR pvR3, RTR0PTR pvR0, uint32_t offSub, uint32_t cbSub, uint32_t fProt);

Completed in 104 milliseconds