Home
last modified time | relevance | path

Searched defs:rwlock (Results 1 – 25 of 57) sorted by relevance

123

/external/mesa3d/src/util/
Drwlock.h44 SRWLOCK rwlock; member
50 static inline int u_rwlock_init(struct u_rwlock *rwlock) in u_rwlock_init()
60 static inline int u_rwlock_destroy(struct u_rwlock *rwlock) in u_rwlock_destroy()
69 static inline int u_rwlock_rdlock(struct u_rwlock *rwlock) in u_rwlock_rdlock()
79 static inline int u_rwlock_rdunlock(struct u_rwlock *rwlock) in u_rwlock_rdunlock()
89 static inline int u_rwlock_wrlock(struct u_rwlock *rwlock) in u_rwlock_wrlock()
99 static inline int u_rwlock_wrunlock(struct u_rwlock *rwlock) in u_rwlock_wrunlock()
/external/rust/crates/tokio/tests/
Dsync_rwlock.rs16 let rwlock = RwLock::new(42); in into_inner() localVariable
23 let rwlock = RwLock::new(100); in read_shared() localVariable
34 let rwlock = RwLock::new(100); in write_shared_pending() localVariable
45 let rwlock = RwLock::new(100); in read_exclusive_pending() localVariable
57 let rwlock = RwLock::with_max_readers(100, 1024); in exhaust_reading() localVariable
78 let rwlock = RwLock::new(100); in write_exclusive_pending() localVariable
89 let rwlock = RwLock::new(100); in write_shared_drop() localVariable
104 let rwlock = RwLock::new(100); in write_read_shared_pending() localVariable
122 let rwlock = RwLock::new(100); in write_read_shared_drop_pending() localVariable
140 let rwlock = RwLock::new(100); in read_uncontested() localVariable
[all …]
/external/llvm/lib/Support/
DRWMutex.cpp50 pthread_rwlock_t* rwlock = in RWMutexImpl() local
70 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in ~RWMutexImpl() local
79 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in reader_acquire() local
89 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in reader_release() local
99 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in writer_acquire() local
109 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in writer_release() local
/external/llvm-project/llvm/lib/Support/
DRWMutex.cpp44 pthread_rwlock_t* rwlock = in RWMutexImpl() local
64 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in ~RWMutexImpl() local
73 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in lock_shared() local
83 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in unlock_shared() local
93 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in lock() local
103 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in unlock() local
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DRWMutex.cpp44 pthread_rwlock_t* rwlock = in RWMutexImpl() local
64 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in ~RWMutexImpl() local
73 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in lock_shared() local
83 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in unlock_shared() local
93 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in lock() local
103 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in unlock() local
/external/llvm-project/lldb/source/Host/windows/
DProcessRunLock.cpp16 static bool ReadLock(lldb::rwlock_t rwlock) { in ReadLock()
21 static bool ReadUnlock(lldb::rwlock_t rwlock) { in ReadUnlock()
26 static bool WriteLock(lldb::rwlock_t rwlock) { in WriteLock()
31 static bool WriteTryLock(lldb::rwlock_t rwlock) { in WriteTryLock()
35 static bool WriteUnlock(lldb::rwlock_t rwlock) { in WriteUnlock()
/external/libcups/cups/
Dthread.c110 _cupsRWInit(_cups_rwlock_t *rwlock) /* I - Reader/writer lock */ in _cupsRWInit()
121 _cupsRWLockRead(_cups_rwlock_t *rwlock) /* I - Reader/writer lock */ in _cupsRWLockRead()
132 _cupsRWLockWrite(_cups_rwlock_t *rwlock)/* I - Reader/writer lock */ in _cupsRWLockWrite()
143 _cupsRWUnlock(_cups_rwlock_t *rwlock) /* I - Reader/writer lock */ in _cupsRWUnlock()
297 _cupsRWInit(_cups_rwlock_t *rwlock) /* I - Reader/writer lock */ in _cupsRWInit()
308 _cupsRWLockRead(_cups_rwlock_t *rwlock) /* I - Reader/writer lock */ in _cupsRWLockRead()
319 _cupsRWLockWrite(_cups_rwlock_t *rwlock)/* I - Reader/writer lock */ in _cupsRWLockWrite()
330 _cupsRWUnlock(_cups_rwlock_t *rwlock) /* I - Reader/writer lock */ in _cupsRWUnlock()
460 _cupsRWInit(_cups_rwlock_t *rwlock) /* I - Reader/writer lock */ in _cupsRWInit()
471 _cupsRWLockRead(_cups_rwlock_t *rwlock) /* I - Reader/writer lock */ in _cupsRWLockRead()
[all …]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/
D5-1.c45 pthread_rwlock_t rwlock; in fn_rd_1() local
90 pthread_rwlock_t rwlock; in fn_rd_2() local
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/
D5-1.c52 pthread_rwlock_t rwlock; in fn_wr_1() local
97 pthread_rwlock_t rwlock; in fn_wr_2() local
/external/rust/crates/tokio/src/sync/tests/
Dloom_rwlock.rs12 let rwlock = Arc::new(RwLock::<u32>::new(0)); in concurrent_write() localVariable
43 let rwlock = Arc::new(RwLock::<u32>::new(0)); in concurrent_read_write() localVariable
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_wrlock/
D3-1.c29 static pthread_rwlock_t rwlock; in main() local
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_trywrlock/speculative/
D3-1.c26 static pthread_rwlock_t rwlock; in main() local
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_unlock/
D4-1.c31 static pthread_rwlock_t rwlock; in main() local
D4-2.c31 static pthread_rwlock_t rwlock; variable
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_init/
D6-1.c29 static pthread_rwlock_t rwlock; in main() local
D3-1.c27 static pthread_rwlock_t rwlock; variable
D2-1.c25 static pthread_rwlock_t rwlock; variable
D1-1.c25 static pthread_rwlock_t rwlock; variable
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_destroy/
D3-1.c25 pthread_rwlock_t rwlock; in main() local
D1-1.c25 pthread_rwlock_t rwlock; in main() local
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/
D5-1.c29 static pthread_rwlock_t rwlock; in main() local
/external/rust/crates/spin/examples/
Ddebug.rs11 let rwlock = spin::RwLock::new(42); in main() localVariable
/external/rust/crates/lock_api/src/
Dlib.rs110 mod rwlock; module
/external/compiler-rt/test/tsan/
Dwrite_in_reader_lock.cc4 pthread_rwlock_t rwlock; variable
/external/llvm-project/compiler-rt/test/tsan/
Dwrite_in_reader_lock.cpp4 pthread_rwlock_t rwlock; variable

123