Searched refs:lu_base (Results 1 – 1 of 1) sorted by relevance
239 } lu_base = { variable246 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()[all …]