/freebsd/lib/libthr/thread/ |
H A D | thr_rwlock.c | 63 check_and_init_rwlock(pthread_rwlock_t *rwlock, pthread_rwlock_t *rwlock_out) in check_and_init_rwlock() 73 init_rwlock(pthread_rwlock_t *rwlock, pthread_rwlock_t *rwlock_out) in init_rwlock() 97 rwlock_init(pthread_rwlock_t *rwlock, const pthread_rwlockattr_t *attr) in rwlock_init() 120 _thr_rwlock_destroy(pthread_rwlock_t *rwlock) in _thr_rwlock_destroy() 143 init_static(struct pthread *thread, pthread_rwlock_t *rwlock) in init_static() 160 _thr_rwlock_init(pthread_rwlock_t *rwlock, const pthread_rwlockattr_t *attr) in _thr_rwlock_init() 169 rwlock_rdlock_common(pthread_rwlock_t *rwlock, const struct timespec *abstime) in rwlock_rdlock_common() 230 _Tthr_rwlock_rdlock(pthread_rwlock_t *rwlock) in _Tthr_rwlock_rdlock() 237 _pthread_rwlock_timedrdlock(pthread_rwlock_t * __restrict rwlock, in _pthread_rwlock_timedrdlock() 245 _Tthr_rwlock_tryrdlock(pthread_rwlock_t *rwlock) in _Tthr_rwlock_tryrdlock() [all …]
|
H A D | thr_umtx.h | 184 _thr_rwlock_tryrdlock(struct urwlock *rwlock, int flags) in _thr_rwlock_tryrdlock() 207 _thr_rwlock_trywrlock(struct urwlock *rwlock) in _thr_rwlock_trywrlock() 224 _thr_rwlock_rdlock(struct urwlock *rwlock, int flags, struct timespec *tsp) in _thr_rwlock_rdlock() 233 _thr_rwlock_wrlock(struct urwlock *rwlock, struct timespec *tsp) in _thr_rwlock_wrlock() 242 _thr_rwlock_unlock(struct urwlock *rwlock) in _thr_rwlock_unlock()
|
H A D | thr_umtx.c | 278 __thr_rwlock_rdlock(struct urwlock *rwlock, int flags, in __thr_rwlock_rdlock() 299 __thr_rwlock_wrlock(struct urwlock *rwlock, const struct timespec *tsp) in __thr_rwlock_wrlock() 319 __thr_rwlock_unlock(struct urwlock *rwlock) in __thr_rwlock_unlock() 326 _thr_rwl_rdlock(struct urwlock *rwlock) in _thr_rwl_rdlock() 342 _thr_rwl_wrlock(struct urwlock *rwlock) in _thr_rwl_wrlock() 358 _thr_rwl_unlock(struct urwlock *rwlock) in _thr_rwl_unlock()
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | RWMutex.cpp | 46 pthread_rwlock_t* rwlock = in RWMutexImpl() local 66 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in ~RWMutexImpl() local 75 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in lock_shared() local 85 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 try_lock_shared() local 103 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in lock() local 113 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in unlock() local 121 pthread_rwlock_t *rwlock = static_cast<pthread_rwlock_t *>(data_); in try_lock() local
|
/freebsd/sys/sys/ |
H A D | _rwlock.h | 44 struct rwlock { struct 50 * Members of struct rwlock_padalign must mirror members of struct rwlock. argument
|
/freebsd/crypto/openssl/crypto/ |
H A D | threads_win.c | 44 CRYPTO_win_rwlock *rwlock; in CRYPTO_THREAD_lock_new() local 74 CRYPTO_win_rwlock *rwlock = lock; in CRYPTO_THREAD_read_lock() local 86 CRYPTO_win_rwlock *rwlock = lock; in CRYPTO_THREAD_write_lock() local 99 CRYPTO_win_rwlock *rwlock = lock; in CRYPTO_THREAD_unlock() local
|
/freebsd/sys/contrib/vchiq/interface/compat/ |
H A D | vchi_bsd.h | 168 #define rwlock_init(rwlock) rw_init(rwlock, "VCHI rwlock") argument 169 #define read_lock(rwlock) rw_rlock(rwlock) argument 170 #define read_unlock(rwlock) rw_unlock(rwlock) argument 172 #define write_lock(rwlock) rw_wlock(rwlock) argument 173 #define write_unlock(rwlock) rw_unlock(rwlock) argument 174 #define write_lock_irqsave(rwlock, flags) \ argument 179 #define write_unlock_irqrestore(rwlock, flags) \ argument 182 #define read_lock_bh(rwlock) rw_rlock(rwlock) argument 183 #define read_unlock_bh(rwlock) rw_unlock(rwlock) argument 184 #define write_lock_bh(rwlock) rw_wlock(rwlock) argument [all …]
|
/freebsd/usr.sbin/nscd/ |
H A D | config.h | 103 pthread_rwlock_t rwlock; member
|
/freebsd/lib/libc/nls/ |
H A D | msgcat.c | 105 static pthread_rwlock_t rwlock = PTHREAD_RWLOCK_INITIALIZER; variable
|
/freebsd/sys/kern/ |
H A D | kern_umtx.c | 3083 do_rw_rdlock(struct thread *td, struct urwlock *rwlock, long fflag, in do_rw_rdlock() 3273 do_rw_wrlock(struct thread *td, struct urwlock *rwlock, struct _umtx_time *timeout) in do_rw_wrlock() 3473 do_rw_unlock(struct thread *td, struct urwlock *rwlock) in do_rw_unlock()
|
/freebsd/sys/ofed/drivers/infiniband/core/ |
H A D | ib_cache.c | 116 rwlock_t rwlock; member
|