Lines Matching refs:lu_base
239 } lu_base = { variable
246 for (i = 0; i < lu_base.nr_locks; ++i) { in lu_find()
247 lock_wrapper *lock = &lu_base.locks[i]; in lu_find()
257 ++lu_base.nr_locks; in trace_lock_alloc()
258 lu_base.locks = realloc(lu_base.locks, in trace_lock_alloc()
259 sizeof(lock_wrapper) * lu_base.nr_locks); in trace_lock_alloc()
260 lock = lu_base.cbs.alloc(locktype); in trace_lock_alloc()
261 lu_base.locks[lu_base.nr_locks - 1] = (lock_wrapper){ lock, ALLOC, 0 }; in trace_lock_alloc()
271 lu_base.cbs.free(lock_, locktype); in trace_lock_free()
282 return lu_base.cbs.lock(mode, lock_); in trace_lock_lock()
293 return lu_base.cbs.unlock(mode, lock_); in trace_lock_unlock()
321 memcpy(&lu_base.cbs, evthread_get_lock_callbacks(), in use_lock_unlock_profiler()
322 sizeof(lu_base.cbs)); in use_lock_unlock_profiler()
340 free(lu_base.locks); in free_lock_unlock_profiler()