/freebsd/contrib/ntp/sntp/libevent/ |
H A D | evthread.c | 217 debug_lock_free(void *lock_, unsigned locktype) in debug_lock_free() argument 219 struct debug_lock *lock = lock_; in debug_lock_free() 250 debug_lock_lock(unsigned mode, void *lock_) in debug_lock_lock() argument 252 struct debug_lock *lock = lock_; in debug_lock_lock() 286 debug_lock_unlock(unsigned mode, void *lock_) in debug_lock_unlock() argument 288 struct debug_lock *lock = lock_; in debug_lock_unlock() 297 debug_cond_wait(void *cond_, void *lock_, const struct timeval *tv) in debug_cond_wait() argument 300 struct debug_lock *lock = lock_; in debug_cond_wait() 303 EVLOCK_ASSERT_LOCKED(lock_); in debug_cond_wait() 345 evthread_is_debug_lock_held_(void *lock_) in evthread_is_debug_lock_held_() argument [all …]
|
H A D | evthread_pthread.c | 61 evthread_posix_lock_free(void *lock_, unsigned locktype) in evthread_posix_lock_free() argument 63 pthread_mutex_t *lock = lock_; in evthread_posix_lock_free() 69 evthread_posix_lock(unsigned mode, void *lock_) in evthread_posix_lock() argument 71 pthread_mutex_t *lock = lock_; in evthread_posix_lock() 79 evthread_posix_unlock(unsigned mode, void *lock_) in evthread_posix_unlock() argument 81 pthread_mutex_t *lock = lock_; in evthread_posix_unlock() 137 evthread_posix_cond_wait(void *cond_, void *lock_, const struct timeval *tv) in evthread_posix_cond_wait() argument 141 pthread_mutex_t *lock = lock_; in evthread_posix_cond_wait()
|
H A D | evthread_win32.c | 64 evthread_win32_lock_free(void *lock_, unsigned locktype) in evthread_win32_lock_free() argument 66 CRITICAL_SECTION *lock = lock_; in evthread_win32_lock_free() 72 evthread_win32_lock(unsigned mode, void *lock_) in evthread_win32_lock() argument 74 CRITICAL_SECTION *lock = lock_; in evthread_win32_lock() 84 evthread_win32_unlock(unsigned mode, void *lock_) in evthread_win32_unlock() argument 86 CRITICAL_SECTION *lock = lock_; in evthread_win32_unlock() 157 evthread_win32_condvar_wait(void *cond_, void *lock_, const struct timeval *tv) in evthread_win32_condvar_wait() argument 160 CRITICAL_SECTION *lock = lock_; in evthread_win32_condvar_wait() 233 evthread_win32_cond_wait(void *cond_, void *lock_, const struct timeval *tv) in evthread_win32_cond_wait() argument 236 CRITICAL_SECTION *lock = lock_; in evthread_win32_cond_wait()
|
H A D | evthread-internal.h | 374 void *evthread_setup_global_lock_(void *lock_, unsigned locktype,
|
/freebsd/contrib/libevent/ |
H A D | evthread.c | 217 debug_lock_free(void *lock_, unsigned locktype) in debug_lock_free() argument 219 struct debug_lock *lock = lock_; in debug_lock_free() 250 debug_lock_lock(unsigned mode, void *lock_) in debug_lock_lock() argument 252 struct debug_lock *lock = lock_; in debug_lock_lock() 286 debug_lock_unlock(unsigned mode, void *lock_) in debug_lock_unlock() argument 288 struct debug_lock *lock = lock_; in debug_lock_unlock() 297 debug_cond_wait(void *cond_, void *lock_, const struct timeval *tv) in debug_cond_wait() argument 300 struct debug_lock *lock = lock_; in debug_cond_wait() 303 EVLOCK_ASSERT_LOCKED(lock_); in debug_cond_wait() 345 evthread_is_debug_lock_held_(void *lock_) in evthread_is_debug_lock_held_() argument [all …]
|
H A D | evthread_pthread.c | 61 evthread_posix_lock_free(void *lock_, unsigned locktype) in evthread_posix_lock_free() argument 63 pthread_mutex_t *lock = lock_; in evthread_posix_lock_free() 69 evthread_posix_lock(unsigned mode, void *lock_) in evthread_posix_lock() argument 71 pthread_mutex_t *lock = lock_; in evthread_posix_lock() 79 evthread_posix_unlock(unsigned mode, void *lock_) in evthread_posix_unlock() argument 81 pthread_mutex_t *lock = lock_; in evthread_posix_unlock() 137 evthread_posix_cond_wait(void *cond_, void *lock_, const struct timeval *tv) in evthread_posix_cond_wait() argument 141 pthread_mutex_t *lock = lock_; in evthread_posix_cond_wait()
|
H A D | evthread_win32.c | 64 evthread_win32_lock_free(void *lock_, unsigned locktype) in evthread_win32_lock_free() argument 66 CRITICAL_SECTION *lock = lock_; in evthread_win32_lock_free() 72 evthread_win32_lock(unsigned mode, void *lock_) in evthread_win32_lock() argument 74 CRITICAL_SECTION *lock = lock_; in evthread_win32_lock() 84 evthread_win32_unlock(unsigned mode, void *lock_) in evthread_win32_unlock() argument 86 CRITICAL_SECTION *lock = lock_; in evthread_win32_unlock() 157 evthread_win32_condvar_wait(void *cond_, void *lock_, const struct timeval *tv) in evthread_win32_condvar_wait() argument 160 CRITICAL_SECTION *lock = lock_; in evthread_win32_condvar_wait() 233 evthread_win32_cond_wait(void *cond_, void *lock_, const struct timeval *tv) in evthread_win32_cond_wait() argument 236 CRITICAL_SECTION *lock = lock_; in evthread_win32_cond_wait()
|
H A D | evthread-internal.h | 374 void *evthread_setup_global_lock_(void *lock_, unsigned locktype,
|
/freebsd/contrib/ntp/sntp/libevent/test/ |
H A D | regress_bufferevent.c | 243 static lock_wrapper *lu_find(void *lock_) in lu_find() argument 248 if (lock->lock == lock_) in lu_find() 264 static void trace_lock_free(void *lock_, unsigned locktype) in trace_lock_free() argument 266 lock_wrapper *lock = lu_find(lock_); in trace_lock_free() 271 lu_base.cbs.free(lock_, locktype); in trace_lock_free() 274 static int trace_lock_lock(unsigned mode, void *lock_) in trace_lock_lock() argument 276 lock_wrapper *lock = lu_find(lock_); in trace_lock_lock() 282 return lu_base.cbs.lock(mode, lock_); in trace_lock_lock() 285 static int trace_lock_unlock(unsigned mode, void *lock_) in trace_lock_unlock() argument 287 lock_wrapper *lock = lu_find(lock_); in trace_lock_unlock() [all …]
|
/freebsd/contrib/libevent/test/ |
H A D | regress_bufferevent.c | 243 static lock_wrapper *lu_find(void *lock_) in lu_find() argument 248 if (lock->lock == lock_) in lu_find() 264 static void trace_lock_free(void *lock_, unsigned locktype) in trace_lock_free() argument 266 lock_wrapper *lock = lu_find(lock_); in trace_lock_free() 271 lu_base.cbs.free(lock_, locktype); in trace_lock_free() 274 static int trace_lock_lock(unsigned mode, void *lock_) in trace_lock_lock() argument 276 lock_wrapper *lock = lu_find(lock_); in trace_lock_lock() 282 return lu_base.cbs.lock(mode, lock_); in trace_lock_lock() 285 static int trace_lock_unlock(unsigned mode, void *lock_) in trace_lock_unlock() argument 287 lock_wrapper *lock = lu_find(lock_); in trace_lock_unlock() [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_rtl.h | 443 ScopedErrorReportLock lock_;
|