Lines Matching refs:lock_
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
347 struct debug_lock *lock = lock_; in evthread_is_debug_lock_held_()
359 evthread_debug_get_real_lock_(void *lock_) in evthread_debug_get_real_lock_() argument
361 struct debug_lock *lock = lock_; in evthread_debug_get_real_lock_()
366 evthread_setup_global_lock_(void *lock_, unsigned locktype, int enable_locks) in evthread_setup_global_lock_() argument
376 EVUTIL_ASSERT(lock_ == NULL); in evthread_setup_global_lock_()
381 EVUTIL_ASSERT(lock_ != NULL); in evthread_setup_global_lock_()
385 original_lock_fns_.free(lock_, locktype); in evthread_setup_global_lock_()
390 original_lock_fns_.free(lock_, locktype); in evthread_setup_global_lock_()
393 lock->lock = lock_; in evthread_setup_global_lock_()
400 EVUTIL_ASSERT(lock_ == NULL); in evthread_setup_global_lock_()
404 struct debug_lock *lock = lock_ ? lock_ : debug_lock_alloc(locktype); in evthread_setup_global_lock_()