Searched refs:lock_cb (Results 1 – 2 of 2) sorted by relevance
42 const struct avc_lock_callback *lock_cb) in set_callbacks() argument57 if (lock_cb) { in set_callbacks()58 avc_func_alloc_lock = lock_cb->func_alloc_lock; in set_callbacks()59 avc_func_get_lock = lock_cb->func_get_lock; in set_callbacks()60 avc_func_release_lock = lock_cb->func_release_lock; in set_callbacks()61 avc_func_free_lock = lock_cb->func_free_lock; in set_callbacks()
151 const struct avc_lock_callback *lock_cb) in avc_init_internal() argument162 set_callbacks(mem_cb, log_cb, thread_cb, lock_cb); in avc_init_internal()247 const struct avc_lock_callback *lock_cb) in avc_init() argument249 return avc_init_internal(prefix, mem_cb, log_cb, thread_cb, lock_cb); in avc_init()