Lines Matching refs:evthread_lock_fns_
55 GLOBAL struct evthread_lock_callbacks evthread_lock_fns_ = { variable
80 ? &original_lock_fns_ : &evthread_lock_fns_; in evthread_get_lock_callbacks()
109 memset(target, 0, sizeof(evthread_lock_fns_)); in evthread_set_lock_callbacks()
128 memcpy(target, cbs, sizeof(evthread_lock_fns_)); in evthread_set_lock_callbacks()
330 memcpy(&original_lock_fns_, &evthread_lock_fns_, in evthread_enable_lock_debugging()
332 memcpy(&evthread_lock_fns_, &cbs, in evthread_enable_lock_debugging()
401 return evthread_lock_fns_.alloc(locktype); in evthread_setup_global_lock_()
437 return evthread_lock_fns_.alloc ? in evthreadimpl_lock_alloc_()
438 evthread_lock_fns_.alloc(locktype) : NULL; in evthreadimpl_lock_alloc_()
443 if (evthread_lock_fns_.free) in evthreadimpl_lock_free_()
444 evthread_lock_fns_.free(lock, locktype); in evthreadimpl_lock_free_()
449 if (evthread_lock_fns_.lock) in evthreadimpl_lock_lock_()
450 return evthread_lock_fns_.lock(mode, lock); in evthreadimpl_lock_lock_()
457 if (evthread_lock_fns_.unlock) in evthreadimpl_lock_unlock_()
458 return evthread_lock_fns_.unlock(mode, lock); in evthreadimpl_lock_unlock_()
505 return evthread_lock_fns_.lock != NULL; in evthreadimpl_locking_enabled_()