Lines Matching defs:lock_
223 static lock_wrapper *lu_find(void *lock_)
228 if (lock->lock == lock_)
243 static void trace_lock_free(void *lock_, unsigned locktype)
245 lock_wrapper *lock = lu_find(lock_);
251 lu_base.cbs.free(lock_, locktype);
254 static int trace_lock_lock(unsigned mode, void *lock_)
256 lock_wrapper *lock = lu_find(lock_);
262 return lu_base.cbs.lock(mode, lock_);
265 static int trace_lock_unlock(unsigned mode, void *lock_)
267 lock_wrapper *lock = lu_find(lock_);
273 return lu_base.cbs.unlock(mode, lock_);