Home
last modified time | relevance | path

Searched refs:lu_base (Results 1 – 1 of 1) sorted by relevance

/external/libevent/test/
Dregress_bufferevent.c226 } lu_base = { variable
233 for (i = 0; i < lu_base.nr_locks; ++i) { in lu_find()
234 lock_wrapper *lock = &lu_base.locks[i]; in lu_find()
244 ++lu_base.nr_locks; in trace_lock_alloc()
245 lu_base.locks = realloc(lu_base.locks, in trace_lock_alloc()
246 sizeof(lock_wrapper) * lu_base.nr_locks); in trace_lock_alloc()
247 lock = lu_base.cbs.alloc(locktype); in trace_lock_alloc()
248 lu_base.locks[lu_base.nr_locks - 1] = (lock_wrapper){ lock, ALLOC, 0 }; in trace_lock_alloc()
258 lu_base.cbs.free(lock_, locktype); in trace_lock_free()
269 return lu_base.cbs.lock(mode, lock_); in trace_lock_lock()
[all …]