Lines Matching refs:flagz
351 void __tsan_mutex_create(void *m, unsigned flagz) { in __tsan_mutex_create() argument
353 MutexCreate(thr, pc, (uptr)m, flagz & MutexCreationFlagMask); in __tsan_mutex_create()
357 void __tsan_mutex_destroy(void *m, unsigned flagz) { in __tsan_mutex_destroy() argument
359 MutexDestroy(thr, pc, (uptr)m, flagz); in __tsan_mutex_destroy()
363 void __tsan_mutex_pre_lock(void *m, unsigned flagz) { in __tsan_mutex_pre_lock() argument
365 if (!(flagz & MutexFlagTryLock)) { in __tsan_mutex_pre_lock()
366 if (flagz & MutexFlagReadLock) in __tsan_mutex_pre_lock()
376 void __tsan_mutex_post_lock(void *m, unsigned flagz, int rec) { in __tsan_mutex_post_lock() argument
380 if (!(flagz & MutexFlagTryLockFailed)) { in __tsan_mutex_post_lock()
381 if (flagz & MutexFlagReadLock) in __tsan_mutex_post_lock()
382 MutexPostReadLock(thr, pc, (uptr)m, flagz); in __tsan_mutex_post_lock()
384 MutexPostLock(thr, pc, (uptr)m, flagz, rec); in __tsan_mutex_post_lock()
389 int __tsan_mutex_pre_unlock(void *m, unsigned flagz) { in __tsan_mutex_pre_unlock() argument
392 if (flagz & MutexFlagReadLock) { in __tsan_mutex_pre_unlock()
393 CHECK(!(flagz & MutexFlagRecursiveUnlock)); in __tsan_mutex_pre_unlock()
396 ret = MutexUnlock(thr, pc, (uptr)m, flagz); in __tsan_mutex_pre_unlock()
404 void __tsan_mutex_post_unlock(void *m, unsigned flagz) { in __tsan_mutex_post_unlock() argument
411 void __tsan_mutex_pre_signal(void *addr, unsigned flagz) { in __tsan_mutex_pre_signal() argument
418 void __tsan_mutex_post_signal(void *addr, unsigned flagz) { in __tsan_mutex_post_signal() argument
425 void __tsan_mutex_pre_divert(void *addr, unsigned flagz) { in __tsan_mutex_pre_divert() argument
433 void __tsan_mutex_post_divert(void *addr, unsigned flagz) { in __tsan_mutex_post_divert() argument