Lines Matching refs:cbAligned

423     const size_t cbAligned = RT_ALIGN_Z(cb, PAGE_SIZE);
427 AssertReturn(cb <= cbAligned, VERR_INVALID_PARAMETER);
431 return rtR0MemObjNativeAllocPage(pMemObj, cbAligned, fExecutable);
439 const size_t cbAligned = RT_ALIGN_Z(cb, PAGE_SIZE);
443 AssertReturn(cb <= cbAligned, VERR_INVALID_PARAMETER);
447 return rtR0MemObjNativeAllocLow(pMemObj, cbAligned, fExecutable);
455 const size_t cbAligned = RT_ALIGN_Z(cb, PAGE_SIZE);
459 AssertReturn(cb <= cbAligned, VERR_INVALID_PARAMETER);
463 return rtR0MemObjNativeAllocCont(pMemObj, cbAligned, fExecutable);
472 const size_t cbAligned = RT_ALIGN_Z(cb + (R3Ptr & PAGE_OFFSET_MASK), PAGE_SIZE);
477 AssertReturn(cb <= cbAligned, VERR_INVALID_PARAMETER);
485 return rtR0MemObjNativeLockUser(pMemObj, R3PtrAligned, cbAligned, fAccess, R0Process);
493 const size_t cbAligned = RT_ALIGN_Z(cb + ((uintptr_t)pv & PAGE_OFFSET_MASK), PAGE_SIZE);
498 AssertReturn(cb <= cbAligned, VERR_INVALID_PARAMETER);
505 return rtR0MemObjNativeLockKernel(pMemObj, pvAligned, cbAligned, fAccess);
513 const size_t cbAligned = RT_ALIGN_Z(cb, PAGE_SIZE);
517 AssertReturn(cb <= cbAligned, VERR_INVALID_PARAMETER);
522 return rtR0MemObjNativeAllocPhys(pMemObj, cbAligned, PhysHighest, PAGE_SIZE /* page aligned */);
530 const size_t cbAligned = RT_ALIGN_Z(cb, PAGE_SIZE);
534 AssertReturn(cb <= cbAligned, VERR_INVALID_PARAMETER);
552 return rtR0MemObjNativeAllocPhys(pMemObj, cbAligned, PhysHighest, uAlignment);
560 const size_t cbAligned = RT_ALIGN_Z(cb, PAGE_SIZE);
564 AssertReturn(cb <= cbAligned, VERR_INVALID_PARAMETER);
569 return rtR0MemObjNativeAllocPhysNC(pMemObj, cbAligned, PhysHighest);
577 const size_t cbAligned = RT_ALIGN_Z(cb + (Phys & PAGE_OFFSET_MASK), PAGE_SIZE);
582 AssertReturn(cb <= cbAligned, VERR_INVALID_PARAMETER);
590 return rtR0MemObjNativeEnterPhys(pMemObj, PhysAligned, cbAligned, uCachePolicy);
598 const size_t cbAligned = RT_ALIGN_Z(cb, PAGE_SIZE);
605 AssertReturn(cb <= cbAligned, VERR_INVALID_PARAMETER);
611 return rtR0MemObjNativeReserveKernel(pMemObj, pvFixed, cbAligned, uAlignment);
620 const size_t cbAligned = RT_ALIGN_Z(cb, PAGE_SIZE);
627 AssertReturn(cb <= cbAligned, VERR_INVALID_PARAMETER);
635 return rtR0MemObjNativeReserveUser(pMemObj, R3PtrFixed, cbAligned, uAlignment, R0Process);