Lines Matching defs:cbAlign
555 * @param cbAlign The alignment of the returned block.
559 RTR3DECL(int) RTTestGuardedAlloc(RTTEST hTest, size_t cb, uint32_t cbAlign, bool fHead, void **ppvUser)
563 if (cbAlign == 0)
564 cbAlign = 1;
565 AssertReturn(cbAlign <= PAGE_SIZE, VERR_INVALID_PARAMETER);
566 AssertReturn(cbAlign == (UINT32_C(1) << (ASMBitFirstSetU32(cbAlign) - 1)), VERR_INVALID_PARAMETER);
589 off = PAGE_SIZE - RT_ALIGN_Z(off, cbAlign);
638 int rc = RTTestGuardedAlloc(hTest, cb, 1 /* cbAlign */, false /* fHead */, &pvUser);
657 int rc = RTTestGuardedAlloc(hTest, cb, 1 /* cbAlign */, true /* fHead */, &pvUser);