Lines Matching defs:cbSub
649 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)
769 AssertReturn(!(cbSub & PAGE_OFFSET_MASK), VERR_INVALID_PARAMETER);
770 AssertReturn(cbSub <= pMemObj->cb, VERR_INVALID_PARAMETER);
771 AssertReturn(offSub + cbSub <= pMemObj->cb, VERR_INVALID_PARAMETER);
776 rc = rtR0MemObjNativeProtect(pMemObj, offSub, cbSub, fProt);