Lines Matching refs:original_lock_fns_
64 static struct evthread_lock_callbacks original_lock_fns_ = { variable
80 ? &original_lock_fns_ : &evthread_lock_fns_; in evthread_get_lock_callbacks()
200 if (original_lock_fns_.alloc) { in debug_lock_alloc()
201 if (!(result->lock = original_lock_fns_.alloc( in debug_lock_alloc()
223 if (original_lock_fns_.free) { in debug_lock_free()
224 original_lock_fns_.free(lock->lock, in debug_lock_free()
258 if (original_lock_fns_.lock) in debug_lock_lock()
259 res = original_lock_fns_.lock(mode, lock->lock); in debug_lock_lock()
291 if (original_lock_fns_.unlock) in debug_lock_unlock()
292 res = original_lock_fns_.unlock(mode, lock->lock); in debug_lock_unlock()
330 memcpy(&original_lock_fns_, &evthread_lock_fns_, in evthread_enable_lock_debugging()
374 if (!enable_locks && original_lock_fns_.alloc == NULL) { in evthread_setup_global_lock_()
378 } else if (!enable_locks && original_lock_fns_.alloc != 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_()
409 lock->lock = original_lock_fns_.alloc( in evthread_setup_global_lock_()