Searched refs:RTSEMRW_MAGIC (Results 1 - 4 of 4) sorted by relevance

/vbox/src/VBox/Runtime/generic/
H A Dsemrw-generic.cpp59 /** The usual magic. (RTSEMRW_MAGIC) */
136 pThis->u32Magic = RTSEMRW_MAGIC;
191 AssertReturn(pThis->u32Magic == RTSEMRW_MAGIC, VERR_INVALID_HANDLE);
204 ASMAtomicWriteU32(&pThis->u32Magic, ~RTSEMRW_MAGIC);
254 AssertReturn(pThis->u32Magic == RTSEMRW_MAGIC, RTLOCKVAL_SUB_CLASS_INVALID);
272 AssertReturn(pThis->u32Magic == RTSEMRW_MAGIC, VERR_INVALID_HANDLE);
389 if (pThis->u32Magic != RTSEMRW_MAGIC)
487 AssertReturn(pThis->u32Magic == RTSEMRW_MAGIC, VERR_INVALID_HANDLE);
566 AssertReturn(pThis->u32Magic == RTSEMRW_MAGIC, VERR_INVALID_HANDLE);
678 if (RT_UNLIKELY(pThis->u32Magic != RTSEMRW_MAGIC))
[all...]
H A Dsemrw-lockless-generic.cpp52 /** Magic value (RTSEMRW_MAGIC). */
135 pThis->u32Magic = RTSEMRW_MAGIC;
187 AssertReturn(pThis->u32Magic == RTSEMRW_MAGIC, VERR_INVALID_HANDLE);
193 AssertReturn(ASMAtomicCmpXchgU32(&pThis->u32Magic, ~RTSEMRW_MAGIC, RTSEMRW_MAGIC), VERR_INVALID_HANDLE);
223 AssertReturn(pThis->u32Magic == RTSEMRW_MAGIC, RTLOCKVAL_SUB_CLASS_INVALID);
243 AssertReturn(pThis->u32Magic == RTSEMRW_MAGIC, VERR_INVALID_HANDLE);
353 if (pThis->u32Magic != RTSEMRW_MAGIC)
414 if (pThis->u32Magic != RTSEMRW_MAGIC)
477 AssertReturn(pThis->u32Magic == RTSEMRW_MAGIC, VERR_INVALID_HANDL
[all...]
/vbox/src/VBox/Runtime/r3/posix/
H A Dsemrw-posix.cpp69 /** The usual magic. (RTSEMRW_MAGIC) */
121 pThis->u32Magic = RTSEMRW_MAGIC;
175 AssertMsgReturn(pThis->u32Magic == RTSEMRW_MAGIC,
186 AssertReturn(ASMAtomicCmpXchgU32(&pThis->u32Magic, ~RTSEMRW_MAGIC, RTSEMRW_MAGIC), VERR_INVALID_HANDLE);
199 ASMAtomicWriteU32(&pThis->u32Magic, RTSEMRW_MAGIC);
216 AssertReturn(pThis->u32Magic == RTSEMRW_MAGIC, RTLOCKVAL_SUB_CLASS_INVALID);
233 AssertMsgReturn(pThis->u32Magic == RTSEMRW_MAGIC,
372 AssertMsgReturn(pThis->u32Magic == RTSEMRW_MAGIC,
428 AssertMsgReturn(pThis->u32Magic == RTSEMRW_MAGIC,
[all...]
/vbox/src/VBox/Runtime/include/internal/
H A Dmagics.h162 #define RTSEMRW_MAGIC UINT32_C(0x19640707) macro

Completed in 52 milliseconds