/vbox/include/iprt/cpp/ |
H A D | lock.h | 72 RTCLockMtx(RT_SRC_POS_DECL, uint32_t uSubClass = RTLOCKVAL_SUB_CLASS_NONE) 77 uSubClass, NULL); 79 NOREF(uSubClass);
|
/vbox/include/iprt/ |
H A D | lockvalidator.h | 143 uint32_t volatile uSubClass; member in struct:RTLOCKVALRECEXCL 200 uint32_t volatile uSubClass; member in struct:RTLOCKVALRECSHRD 257 * @param uSubClass The sub-class. This is used to define lock 267 RTDECL(void) RTLockValidatorRecExclInit(PRTLOCKVALRECEXCL pRec, RTLOCKVALCLASS hClass, uint32_t uSubClass, 278 * @param uSubClass The sub-class. This is used to define lock 288 RTDECL(void) RTLockValidatorRecExclInitV(PRTLOCKVALRECEXCL pRec, RTLOCKVALCLASS hClass, uint32_t uSubClass, 309 * @param uSubClass The sub-class. This is used to define lock 319 RTDECL(int) RTLockValidatorRecExclCreate(PRTLOCKVALRECEXCL *ppRec, RTLOCKVALCLASS hClass, uint32_t uSubClass, 333 * @param uSubClass The sub-class. This is used to define lock 343 RTDECL(int) RTLockValidatorRecExclCreateV(PRTLOCKVALRECEXCL *ppRec, RTLOCKVALCLASS hClass, uint32_t uSubClass, [all...] |
H A D | critsect.h | 131 * @param uSubClass The sub-class. This is used to define lock order 139 RTLOCKVALCLASS hClass, uint32_t uSubClass, const char *pszNameFmt, ...); 151 * @param uSubClass The new sub-class value. 153 RTDECL(uint32_t) RTCritSectSetSubClass(PRTCRITSECT pCritSect, uint32_t uSubClass); 479 * @param uSubClass The sub-class. This is used to define lock order 487 RTLOCKVALCLASS hClass, uint32_t uSubClass, const char *pszNameFmt, ...); 499 * @param uSubClass The new sub-class value. 501 RTDECL(uint32_t) RTCritSectRwSetSubClass(PRTCRITSECTRW pThis, uint32_t uSubClass);
|
H A D | semaphore.h | 476 * @param uSubClass The sub-class. This is used to define lock 484 RTLOCKVALCLASS hClass, uint32_t uSubClass, const char *pszNameFmt, ...); 512 * @param uSubClass The new sub-class value. 514 RTDECL(uint32_t) RTSemMutexSetSubClass(RTSEMMUTEX hMutexSem, uint32_t uSubClass); 840 * @param uSubClass The sub-class. This is used to define lock 848 RTLOCKVALCLASS hClass, uint32_t uSubClass, const char *pszNameFmt, ...); 875 * @param uSubClass The new sub-class value. 877 RTDECL(uint32_t) RTSemRWSetSubClass(RTSEMRW hRWSem, uint32_t uSubClass);
|
/vbox/src/VBox/Runtime/r3/win/ |
H A D | semmutex-win.cpp | 77 RTLOCKVALCLASS hClass, uint32_t uSubClass, const char *pszNameFmt, ...) 99 RTLockValidatorRecExclInit(&pThis->ValidatorRec, hClass, uSubClass, pThis, 107 RTLockValidatorRecExclInitV(&pThis->ValidatorRec, hClass, uSubClass, pThis, 157 RTDECL(uint32_t) RTSemMutexSetSubClass(RTSEMMUTEX hMutexSem, uint32_t uSubClass) argument 167 return RTLockValidatorRecExclSetSubClass(&pThis->ValidatorRec, uSubClass); 76 RTSemMutexCreateEx(PRTSEMMUTEX phMutexSem, uint32_t fFlags, RTLOCKVALCLASS hClass, uint32_t uSubClass, const char *pszNameFmt, ...) argument
|
/vbox/src/VBox/Runtime/common/misc/ |
H A D | lockvalidator.cpp | 424 * @param uSubClass My sub-class. 428 static void rtLockValComplainAboutClass(const char *pszPrefix, RTLOCKVALCLASSINT *pClass, uint32_t uSubClass, bool fVerbose) argument 436 if (uSubClass < RTLOCKVAL_SUB_CLASS_USER) 437 switch (uSubClass) 442 RTStrPrintf(szSubClass, sizeof(szSubClass), "invl-%u", uSubClass); 448 RTStrPrintf(szSubClass, sizeof(szSubClass), "%u", uSubClass); 554 * @param uSubClass The name. 557 static const char *rtLockValComplainGetSubClassName(uint32_t uSubClass, char *pszBuf) argument 559 if (uSubClass < RTLOCKVAL_SUB_CLASS_USER) 560 switch (uSubClass) 2210 rtLockValidatorStackCheckLockingOrder2(RTLOCKVALCLASSINT * const pClass, uint32_t const uSubClass, PRTTHREADINT pThreadSelf, PRTLOCKVALRECUNION const pRec, PCRTLOCKVALSRCPOS const pSrcPos, RTLOCKVALCLASSINT * const pFirstBadClass, PRTLOCKVALRECUNION const pFirstBadRec, PRTLOCKVALRECUNION const pFirstBadDown) argument 2364 rtLockValidatorStackCheckLockingOrder(RTLOCKVALCLASSINT * const pClass, uint32_t const uSubClass, PRTTHREADINT pThreadSelf, PRTLOCKVALRECUNION const pRec, PCRTLOCKVALSRCPOS pSrcPos) argument 2924 RTLockValidatorRecExclInitV(PRTLOCKVALRECEXCL pRec, RTLOCKVALCLASS hClass, uint32_t uSubClass, void *hLock, bool fEnabled, const char *pszNameFmt, va_list va) argument 2961 RTLockValidatorRecExclInit(PRTLOCKVALRECEXCL pRec, RTLOCKVALCLASS hClass, uint32_t uSubClass, void *hLock, bool fEnabled, const char *pszNameFmt, ...) argument 2971 RTLockValidatorRecExclCreateV(PRTLOCKVALRECEXCL *ppRec, RTLOCKVALCLASS hClass, uint32_t uSubClass, void *pvLock, bool fEnabled, const char *pszNameFmt, va_list va) argument 2984 RTLockValidatorRecExclCreate(PRTLOCKVALRECEXCL *ppRec, RTLOCKVALCLASS hClass, uint32_t uSubClass, void *pvLock, bool fEnabled, const char *pszNameFmt, ...) argument 3026 RTLockValidatorRecExclSetSubClass(PRTLOCKVALRECEXCL pRec, uint32_t uSubClass) argument 3394 RTLockValidatorRecSharedInitV(PRTLOCKVALRECSHRD pRec, RTLOCKVALCLASS hClass, uint32_t uSubClass, void *hLock, bool fSignaller, bool fEnabled, const char *pszNameFmt, va_list va) argument 3431 RTLockValidatorRecSharedInit(PRTLOCKVALRECSHRD pRec, RTLOCKVALCLASS hClass, uint32_t uSubClass, void *hLock, bool fSignaller, bool fEnabled, const char *pszNameFmt, ...) argument 3441 RTLockValidatorRecSharedCreateV(PRTLOCKVALRECSHRD *ppRec, RTLOCKVALCLASS hClass, uint32_t uSubClass, void *pvLock, bool fSignaller, bool fEnabled, const char *pszNameFmt, va_list va) argument 3454 RTLockValidatorRecSharedCreate(PRTLOCKVALRECSHRD *ppRec, RTLOCKVALCLASS hClass, uint32_t uSubClass, void *pvLock, bool fSignaller, bool fEnabled, const char *pszNameFmt, ...) argument 3518 RTLockValidatorRecSharedSetSubClass(PRTLOCKVALRECSHRD pRec, uint32_t uSubClass) argument 4361 RTLockValidatorHoldsLocksInSubClass(RTTHREAD hCurrentThread, RTLOCKVALCLASS hClass, uint32_t uSubClass) argument [all...] |
/vbox/src/VBox/Runtime/r3/linux/ |
H A D | semmutex-linux.cpp | 109 RTLOCKVALCLASS hClass, uint32_t uSubClass, const char *pszNameFmt, ...) 127 RTLockValidatorRecExclInit(&pThis->ValidatorRec, hClass, uSubClass, pThis, 135 RTLockValidatorRecExclInitV(&pThis->ValidatorRec, hClass, uSubClass, pThis, 185 RTDECL(uint32_t) RTSemMutexSetSubClass(RTSEMMUTEX hMutexSem, uint32_t uSubClass) argument 195 return RTLockValidatorRecExclSetSubClass(&pThis->ValidatorRec, uSubClass); 108 RTSemMutexCreateEx(PRTSEMMUTEX phMutexSem, uint32_t fFlags, RTLOCKVALCLASS hClass, uint32_t uSubClass, const char *pszNameFmt, ...) argument
|
/vbox/src/VBox/Runtime/r3/posix/ |
H A D | semmutex-posix.cpp | 114 RTLOCKVALCLASS hClass, uint32_t uSubClass, const char *pszNameFmt, ...) 144 RTLockValidatorRecExclInit(&pThis->ValidatorRec, hClass, uSubClass, pThis, 152 RTLockValidatorRecExclInitV(&pThis->ValidatorRec, hClass, uSubClass, pThis, 208 RTDECL(uint32_t) RTSemMutexSetSubClass(RTSEMMUTEX hMutexSem, uint32_t uSubClass) argument 218 return RTLockValidatorRecExclSetSubClass(&pThis->ValidatorRec, uSubClass); 113 RTSemMutexCreateEx(PRTSEMMUTEX phMutexSem, uint32_t fFlags, RTLOCKVALCLASS hClass, uint32_t uSubClass, const char *pszNameFmt, ...) argument
|
H A D | semrw-posix.cpp | 100 RTLOCKVALCLASS hClass, uint32_t uSubClass, const char *pszNameFmt, ...) 132 RTLockValidatorRecExclInit(&pThis->ValidatorWrite, hClass, uSubClass, pThis, 134 RTLockValidatorRecSharedInit(&pThis->ValidatorRead, hClass, uSubClass, pThis, 141 RTLockValidatorRecExclInitV(&pThis->ValidatorWrite, hClass, uSubClass, pThis, 145 RTLockValidatorRecSharedInitV(&pThis->ValidatorRead, hClass, uSubClass, pThis, 208 RTDECL(uint32_t) RTSemRWSetSubClass(RTSEMRW hRWSem, uint32_t uSubClass) argument 218 RTLockValidatorRecSharedSetSubClass(&pThis->ValidatorRead, uSubClass); 219 return RTLockValidatorRecExclSetSubClass(&pThis->ValidatorWrite, uSubClass); 99 RTSemRWCreateEx(PRTSEMRW phRWSem, uint32_t fFlags, RTLOCKVALCLASS hClass, uint32_t uSubClass, const char *pszNameFmt, ...) argument
|
/vbox/src/VBox/Runtime/generic/ |
H A D | semrw-generic.cpp | 99 RTLOCKVALCLASS hClass, uint32_t uSubClass, const char *pszNameFmt, ...) 143 RTLockValidatorRecExclInit(&pThis->ValidatorWrite, hClass, uSubClass, pThis, 145 RTLockValidatorRecSharedInit(&pThis->ValidatorRead, hClass, uSubClass, pThis, 152 RTLockValidatorRecExclInitV(&pThis->ValidatorWrite, hClass, uSubClass, pThis, 156 RTLockValidatorRecSharedInitV(&pThis->ValidatorRead, hClass, uSubClass, pThis, 246 RTDECL(uint32_t) RTSemRWSetSubClass(RTSEMRW hRWSem, uint32_t uSubClass) argument 256 RTLockValidatorRecSharedSetSubClass(&pThis->ValidatorRead, uSubClass); 257 return RTLockValidatorRecExclSetSubClass(&pThis->ValidatorWrite, uSubClass); 98 RTSemRWCreateEx(PRTSEMRW phRWSem, uint32_t fFlags, RTLOCKVALCLASS hClass, uint32_t uSubClass, const char *pszNameFmt, ...) argument
|
H A D | critsect-generic.cpp | 51 RTDECL(int) RTCritSectInitEx(PRTCRITSECT pCritSect, uint32_t fFlags, RTLOCKVALCLASS hClass, uint32_t uSubClass, argument 77 rc = RTLockValidatorRecExclCreate(&pCritSect->pValidatorRec, hClass, uSubClass, pCritSect, 85 rc = RTLockValidatorRecExclCreateV(&pCritSect->pValidatorRec, hClass, uSubClass, pCritSect, 119 RTDECL(uint32_t) RTCritSectSetSubClass(PRTCRITSECT pCritSect, uint32_t uSubClass) argument 125 return RTLockValidatorRecExclSetSubClass(pCritSect->pValidatorRec, uSubClass);
|
H A D | critsectrw-generic.cpp | 57 RTLOCKVALCLASS hClass, uint32_t uSubClass, const char *pszNameFmt, ...) 87 rc = RTLockValidatorRecExclCreate(&pThis->pValidatorWrite, hClass, uSubClass, pThis, 90 rc = RTLockValidatorRecSharedCreate(&pThis->pValidatorRead, hClass, uSubClass, pThis, 97 rc = RTLockValidatorRecExclCreateV(&pThis->pValidatorWrite, hClass, uSubClass, pThis, 103 RTLockValidatorRecSharedCreateV(&pThis->pValidatorRead, hClass, uSubClass, pThis, 136 RTDECL(uint32_t) RTCritSectRwSetSubClass(PRTCRITSECTRW pThis, uint32_t uSubClass) argument 143 RTLockValidatorRecSharedSetSubClass(pThis->pValidatorRead, uSubClass); 144 return RTLockValidatorRecExclSetSubClass(pThis->pValidatorWrite, uSubClass); 146 NOREF(uSubClass); 56 RTCritSectRwInitEx(PRTCRITSECTRW pThis, uint32_t fFlags, RTLOCKVALCLASS hClass, uint32_t uSubClass, const char *pszNameFmt, ...) argument
|
H A D | semrw-lockless-generic.cpp | 121 RTLOCKVALCLASS hClass, uint32_t uSubClass, const char *pszNameFmt, ...) 148 RTLockValidatorRecExclInit(&pThis->ValidatorWrite, hClass, uSubClass, pThis, 150 RTLockValidatorRecSharedInit(&pThis->ValidatorRead, hClass, uSubClass, pThis, 157 RTLockValidatorRecExclInitV(&pThis->ValidatorWrite, hClass, uSubClass, pThis, 161 RTLockValidatorRecSharedInitV(&pThis->ValidatorRead, hClass, uSubClass, pThis, 215 RTDECL(uint32_t) RTSemRWSetSubClass(RTSEMRW hRWSem, uint32_t uSubClass) argument 225 RTLockValidatorRecSharedSetSubClass(&pThis->ValidatorRead, uSubClass); 226 return RTLockValidatorRecExclSetSubClass(&pThis->ValidatorWrite, uSubClass); 120 RTSemRWCreateEx(PRTSEMRW phRWSem, uint32_t fFlags, RTLOCKVALCLASS hClass, uint32_t uSubClass, const char *pszNameFmt, ...) argument
|
/vbox/src/VBox/Runtime/r3/os2/ |
H A D | sems-os2.cpp | 271 RTLOCKVALCLASS hClass, uint32_t uSubClass, const char *pszNameFmt, ...) 308 RTDECL(uint32_t) RTSemMutexSetSubClass(RTSEMMUTEX hMutexSem, uint32_t uSubClass) argument 318 return RTLockValidatorRecExclSetSubClass(&pThis->ValidatorRec, uSubClass); 270 RTSemMutexCreateEx(PRTSEMMUTEX phMutexSem, uint32_t fFlags, RTLOCKVALCLASS hClass, uint32_t uSubClass, const char *pszNameFmt, ...) argument
|
/vbox/src/VBox/Runtime/r0drv/nt/ |
H A D | semmutex-r0drv-nt.cpp | 71 RTLOCKVALCLASS hClass, uint32_t uSubClass, const char *pszNameFmt, ...) 70 RTSemMutexCreateEx(PRTSEMMUTEX phMutexSem, uint32_t fFlags, RTLOCKVALCLASS hClass, uint32_t uSubClass, const char *pszNameFmt, ...) argument
|
/vbox/src/VBox/VMM/VMMAll/ |
H A D | PDMAllCritSectRw.cpp | 106 * @param uSubClass The new sub-class value. 108 VMMDECL(uint32_t) PDMR3CritSectRwSetSubClass(PPDMCRITSECTRW pThis, uint32_t uSubClass) argument 115 RTLockValidatorRecSharedSetSubClass(pThis->s.Core.pValidatorRead, uSubClass); 116 return RTLockValidatorRecExclSetSubClass(pThis->s.Core.pValidatorWrite, uSubClass); 118 NOREF(uSubClass);
|
/vbox/src/VBox/Runtime/r0drv/darwin/ |
H A D | semmutex-r0drv-darwin.cpp | 79 RTLOCKVALCLASS hClass, uint32_t uSubClass, const char *pszNameFmt, ...) 78 RTSemMutexCreateEx(PRTSEMMUTEX phMutexSem, uint32_t fFlags, RTLOCKVALCLASS hClass, uint32_t uSubClass, const char *pszNameFmt, ...) argument
|