Home
last modified time | relevance | path

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

/third_party/pulseaudio/src/pulsecore/
Daupdate.c37 pa_atomic_t read_lock; member
47 pa_atomic_store(&a->read_lock, 0); in pa_aupdate_new()
69 n = (unsigned) pa_atomic_inc(&a->read_lock); in pa_aupdate_read_begin()
85 n = (unsigned) pa_atomic_dec(&a->read_lock); in pa_aupdate_read_end()
101 n = (unsigned) pa_atomic_load(&a->read_lock); in pa_aupdate_write_begin()
114 n = (unsigned) pa_atomic_load(&a->read_lock); in pa_aupdate_write_swap()
119 else if (pa_atomic_cmpxchg(&a->read_lock, (int) n, (int) (n ^ MSB))) in pa_aupdate_write_swap()
/third_party/ltp/testcases/network/nfs/nfslock01/
Dnfs_flock.h10 #define read_lock(fd, offset, whence, len) \ macro
/third_party/glib/gio/
Dgdbusprivate.c370 GMutex read_lock; member
460 g_mutex_clear (&worker->read_lock); in _g_dbus_worker_unref()
528 g_mutex_lock (&worker->read_lock); in unfreeze_in_idle_cb()
542 g_mutex_unlock (&worker->read_lock); in unfreeze_in_idle_cb()
576 g_mutex_lock (&worker->read_lock); in _g_dbus_worker_do_read_cb()
816 g_mutex_unlock (&worker->read_lock); in _g_dbus_worker_do_read_cb()
877 g_mutex_lock (&worker->read_lock); in _g_dbus_worker_do_initial_read()
879 g_mutex_unlock (&worker->read_lock); in _g_dbus_worker_do_initial_read()
1671 g_mutex_init (&worker->read_lock); in _g_dbus_worker_new()
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/
Dmutex.cc110 bool read_lock);
456 const bool read_lock = (flags & SYNCH_F_R) != 0; in PostSynchEvent() local
457 EvalConditionAnnotated(&cond, mu, locking, trylock, read_lock); in PostSynchEvent()
1776 bool read_lock) { in EvalConditionAnnotated() argument
1783 const int flags = read_lock ? __tsan_mutex_read_lock : 0; in EvalConditionAnnotated()
1812 static_cast<void>(read_lock); in EvalConditionAnnotated()
/third_party/abseil-cpp/absl/synchronization/
Dmutex.cc108 bool read_lock);
445 const bool read_lock = (flags & SYNCH_F_R) != 0; in PostSynchEvent() local
446 EvalConditionAnnotated(&cond, mu, locking, trylock, read_lock); in PostSynchEvent()
1765 bool read_lock) { in EvalConditionAnnotated() argument
1772 const int flags = read_lock ? __tsan_mutex_read_lock : 0; in EvalConditionAnnotated()
1801 static_cast<void>(read_lock); in EvalConditionAnnotated()