Searched refs:RTSEMEVENT_MAGIC (Results 1 - 10 of 10) sorted by relevance

/vbox/src/VBox/Runtime/r0drv/freebsd/
H A Dsemevent-r0drv-freebsd.c57 /** Magic value (RTSEMEVENT_MAGIC). */
83 pThis->u32Magic = RTSEMEVENT_MAGIC;
124 AssertMsgReturn(pThis->u32Magic == RTSEMEVENT_MAGIC, ("pThis->u32Magic=%RX32 pThis=%p\n", pThis->u32Magic, pThis), VERR_INVALID_HANDLE);
130 ASMAtomicWriteU32(&pThis->u32Magic, ~RTSEMEVENT_MAGIC);
145 AssertMsgReturn(pThis->u32Magic == RTSEMEVENT_MAGIC, ("pThis->u32Magic=%RX32 pThis=%p\n", pThis->u32Magic, pThis), VERR_INVALID_HANDLE);
175 AssertMsgReturn(pThis->u32Magic == RTSEMEVENT_MAGIC, ("%p u32Magic=%RX32\n", pThis, pThis->u32Magic), VERR_INVALID_PARAMETER);
196 if (RT_UNLIKELY(pThis->u32Magic != RTSEMEVENT_MAGIC))
203 if (RT_UNLIKELY(pThis->u32Magic != RTSEMEVENT_MAGIC))
/vbox/src/VBox/Runtime/r0drv/linux/
H A Dsemevent-r0drv-linux.c54 /** Magic value (RTSEMEVENT_MAGIC). */
83 pThis->u32Magic = RTSEMEVENT_MAGIC;
126 AssertMsgReturn(pThis->u32Magic == RTSEMEVENT_MAGIC, ("pThis->u32Magic=%RX32 pThis=%p\n", pThis->u32Magic, pThis), VERR_INVALID_HANDLE);
132 ASMAtomicWriteU32(&pThis->u32Magic, ~RTSEMEVENT_MAGIC);
149 AssertMsgReturn(pThis->u32Magic == RTSEMEVENT_MAGIC, ("pThis->u32Magic=%RX32 pThis=%p\n", pThis->u32Magic, pThis), VERR_INVALID_HANDLE);
182 AssertMsgReturn(pThis->u32Magic == RTSEMEVENT_MAGIC, ("%p u32Magic=%RX32\n", pThis, pThis->u32Magic), VERR_INVALID_PARAMETER);
205 if (RT_UNLIKELY(pThis->u32Magic != RTSEMEVENT_MAGIC))
212 if (RT_UNLIKELY(pThis->u32Magic != RTSEMEVENT_MAGIC))
/vbox/src/VBox/Runtime/r3/linux/
H A Dsemevent-linux.cpp139 pThis->iMagic = RTSEMEVENT_MAGIC;
179 AssertReturn(pThis->iMagic == RTSEMEVENT_MAGIC, VERR_INVALID_HANDLE);
184 ASMAtomicXchgSize(&pThis->iMagic, RTSEMEVENT_MAGIC | UINT32_C(0x80000000));
212 AssertReturn(pThis->iMagic == RTSEMEVENT_MAGIC, VERR_INVALID_HANDLE);
232 if (RT_UNLIKELY(pThis->iMagic != RTSEMEVENT_MAGIC))
248 AssertReturn(pThis->iMagic == RTSEMEVENT_MAGIC, VERR_INVALID_HANDLE);
302 if (RT_UNLIKELY(pThis->iMagic != RTSEMEVENT_MAGIC))
373 AssertReturnVoid(pThis->iMagic == RTSEMEVENT_MAGIC);
386 AssertReturnVoid(pThis->iMagic == RTSEMEVENT_MAGIC);
399 AssertReturnVoid(pThis->iMagic == RTSEMEVENT_MAGIC);
[all...]
/vbox/src/VBox/Runtime/r3/win/
H A Dsemevent-win.cpp53 /** Magic value (RTSEMEVENT_MAGIC). */
95 pThis->u32Magic = RTSEMEVENT_MAGIC;
136 AssertReturn(pThis->u32Magic == RTSEMEVENT_MAGIC, VERR_INVALID_HANDLE);
142 AssertReturn(ASMAtomicCmpXchgU32(&pThis->u32Magic, ~RTSEMEVENT_MAGIC, RTSEMEVENT_MAGIC), VERR_INVALID_HANDLE);
172 AssertReturn(pThis->u32Magic == RTSEMEVENT_MAGIC, VERR_INVALID_HANDLE);
229 AssertReturn(pThis->u32Magic == RTSEMEVENT_MAGIC, VERR_INVALID_HANDLE);
267 AssertReturnVoid(pThis->u32Magic == RTSEMEVENT_MAGIC);
280 AssertReturnVoid(pThis->u32Magic == RTSEMEVENT_MAGIC);
293 AssertReturnVoid(pThis->u32Magic == RTSEMEVENT_MAGIC);
[all...]
/vbox/src/VBox/Runtime/r0drv/darwin/
H A Dsemevent-r0drv-darwin.cpp74 /** Magic value (RTSEMEVENT_MAGIC). */
107 pThis->u32Magic = RTSEMEVENT_MAGIC;
148 Assert(pThis->u32Magic != RTSEMEVENT_MAGIC);
160 AssertMsgReturn(pThis->u32Magic == RTSEMEVENT_MAGIC, ("pThis=%p u32Magic=%#x\n", pThis, pThis->u32Magic), VERR_INVALID_HANDLE);
165 ASMAtomicWriteU32(&pThis->u32Magic, ~RTSEMEVENT_MAGIC); /* make the handle invalid */
187 AssertMsgReturn(pThis->u32Magic == RTSEMEVENT_MAGIC,
240 AssertMsgReturn(pThis->u32Magic == RTSEMEVENT_MAGIC, ("%p u32Magic=%RX32\n", pThis, pThis->u32Magic), VERR_INVALID_PARAMETER);
325 if (RT_LIKELY(pThis->u32Magic == RTSEMEVENT_MAGIC))
349 AssertMsg(pThis->u32Magic == ~RTSEMEVENT_MAGIC, ("%#x\n", pThis->u32Magic));
/vbox/src/VBox/Runtime/r0drv/solaris/
H A Dsemevent-r0drv-solaris.c79 /** Magic value (RTSEMEVENT_MAGIC). */
113 pThis->u32Magic = RTSEMEVENT_MAGIC;
145 Assert(pThis->u32Magic != RTSEMEVENT_MAGIC);
173 AssertMsgReturn(pThis->u32Magic == RTSEMEVENT_MAGIC, ("u32Magic=%RX32 pThis=%p\n", pThis->u32Magic, pThis), VERR_INVALID_HANDLE);
182 ASMAtomicWriteU32(&pThis->u32Magic, ~RTSEMEVENT_MAGIC);
210 AssertMsgReturn(pThis->u32Magic == RTSEMEVENT_MAGIC, ("u32Magic=%RX32 pThis=%p\n", pThis->u32Magic, pThis), VERR_INVALID_HANDLE);
261 AssertMsgReturn(pThis->u32Magic == RTSEMEVENT_MAGIC, ("%p u32Magic=%RX32\n", pThis, pThis->u32Magic), VERR_INVALID_PARAMETER);
290 if (RT_UNLIKELY(pThis->u32Magic != RTSEMEVENT_MAGIC))
295 if (RT_UNLIKELY(pThis->u32Magic != RTSEMEVENT_MAGIC))
/vbox/src/VBox/Runtime/r0drv/haiku/
H A Dsemevent-r0drv-haiku.c52 /** Magic value (RTSEMEVENT_MAGIC). */
78 pThis->u32Magic = RTSEMEVENT_MAGIC;
125 AssertMsgReturn(pThis->u32Magic == RTSEMEVENT_MAGIC, ("pThis->u32Magic=%RX32 pThis=%p\n", pThis->u32Magic, pThis), VERR_INVALID_HANDLE);
131 ASMAtomicWriteU32(&pThis->u32Magic, ~RTSEMEVENT_MAGIC);
146 AssertMsgReturn(pThis->u32Magic == RTSEMEVENT_MAGIC, ("pThis->u32Magic=%RX32 pThis=%p\n", pThis->u32Magic, pThis), VERR_INVALID_HANDLE);
180 AssertMsgReturn(pThis->u32Magic == RTSEMEVENT_MAGIC, ("%p u32Magic=%RX32\n", pThis, pThis->u32Magic), VERR_INVALID_PARAMETER);
/vbox/src/VBox/Runtime/r0drv/nt/
H A Dsemevent-r0drv-nt.cpp54 /** Magic value (RTSEMEVENT_MAGIC). */
78 pThis->u32Magic = RTSEMEVENT_MAGIC;
122 AssertMsgReturn(pThis->u32Magic == RTSEMEVENT_MAGIC, ("pThis->u32Magic=%RX32 pThis=%p\n", pThis->u32Magic, pThis), VERR_INVALID_HANDLE);
141 AssertMsgReturn(pThis->u32Magic == RTSEMEVENT_MAGIC, ("pThis->u32Magic=%RX32 pThis=%p\n", pThis->u32Magic, pThis), VERR_INVALID_HANDLE);
173 AssertMsgReturn(pThis->u32Magic == RTSEMEVENT_MAGIC, ("%p u32Magic=%RX32\n", pThis, pThis->u32Magic), VERR_INVALID_PARAMETER);
221 if (pThis->u32Magic == RTSEMEVENT_MAGIC)
/vbox/src/VBox/Runtime/r0drv/os2/
H A Dsemevent-r0drv-os2.cpp56 /** Magic value (RTSEMEVENT_MAGIC). */
86 pThis->u32Magic = RTSEMEVENT_MAGIC;
103 AssertMsgReturn(pThis->u32Magic == RTSEMEVENT_MAGIC, ("u32Magic=%RX32 pThis=%p\n", pThis->u32Magic, pThis), VERR_INVALID_HANDLE);
133 AssertMsgReturn(pThis->u32Magic == RTSEMEVENT_MAGIC, ("u32Magic=%RX32 pThis=%p\n", pThis->u32Magic, pThis), VERR_INVALID_HANDLE);
177 AssertMsgReturn(pThis->u32Magic == RTSEMEVENT_MAGIC, ("u32Magic=%RX32 pThis=%p\n", pThis->u32Magic, pThis), VERR_INVALID_HANDLE);
212 && pThis->u32Magic != RTSEMEVENT_MAGIC)
/vbox/src/VBox/Runtime/include/internal/
H A Dmagics.h144 #define RTSEMEVENT_MAGIC UINT32_C(0x19601110) macro

Completed in 75 milliseconds