Lines Matching refs:lock_
243 static lock_wrapper *lu_find(void *lock_) in lu_find() argument
248 if (lock->lock == lock_) in lu_find()
264 static void trace_lock_free(void *lock_, unsigned locktype) in trace_lock_free() argument
266 lock_wrapper *lock = lu_find(lock_); in trace_lock_free()
271 lu_base.cbs.free(lock_, locktype); in trace_lock_free()
274 static int trace_lock_lock(unsigned mode, void *lock_) in trace_lock_lock() argument
276 lock_wrapper *lock = lu_find(lock_); in trace_lock_lock()
282 return lu_base.cbs.lock(mode, lock_); in trace_lock_lock()
285 static int trace_lock_unlock(unsigned mode, void *lock_) in trace_lock_unlock() argument
287 lock_wrapper *lock = lu_find(lock_); in trace_lock_unlock()
293 return lu_base.cbs.unlock(mode, lock_); in trace_lock_unlock()