Home
last modified time | relevance | path

Searched refs:original_lock_fns_ (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/ntp/sntp/libevent/
H A Devthread.c64 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()
[all …]
/freebsd/contrib/libevent/
H A Devthread.c64 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()
[all …]