| /freebsd-13.1/lib/libthr/thread/ |
| H A D | thr_rwlock.c | 62 static int init_rwlock(pthread_rwlock_t *rwlock, pthread_rwlock_t *rwlock_out); 65 check_and_init_rwlock(pthread_rwlock_t *rwlock, pthread_rwlock_t *rwlock_out) in check_and_init_rwlock() 75 init_rwlock(pthread_rwlock_t *rwlock, pthread_rwlock_t *rwlock_out) in init_rwlock() 77 pthread_rwlock_t prwlock; in init_rwlock() 101 pthread_rwlock_t prwlock; in rwlock_init() 122 pthread_rwlock_t prwlock; in _thr_rwlock_destroy() 171 pthread_rwlock_t prwlock; in rwlock_rdlock_common() 245 pthread_rwlock_t prwlock; in _Tthr_rwlock_tryrdlock() 281 pthread_rwlock_t prwlock; in _Tthr_rwlock_trywrlock() 298 pthread_rwlock_t prwlock; in rwlock_wrlock_common() [all …]
|
| H A D | thr_private.h | 1083 int _thr_rwlock_init(pthread_rwlock_t *, const pthread_rwlockattr_t *); 1084 int _thr_rwlock_destroy(pthread_rwlock_t *); 1085 int _Tthr_rwlock_rdlock(pthread_rwlock_t *); 1086 int _Tthr_rwlock_tryrdlock(pthread_rwlock_t *); 1087 int _Tthr_rwlock_trywrlock(pthread_rwlock_t *); 1088 int _Tthr_rwlock_wrlock(pthread_rwlock_t *); 1089 int _Tthr_rwlock_unlock(pthread_rwlock_t *);
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Support/ |
| H A D | RWMutex.cpp | 44 pthread_rwlock_t* rwlock = in RWMutexImpl() 45 static_cast<pthread_rwlock_t*>(safe_malloc(sizeof(pthread_rwlock_t))); in RWMutexImpl() 49 bzero(rwlock, sizeof(pthread_rwlock_t)); in RWMutexImpl() 64 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in ~RWMutexImpl() 73 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in lock_shared() 83 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in unlock_shared() 93 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in lock() 103 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in unlock()
|
| /freebsd-13.1/contrib/llvm-project/libunwind/src/ |
| H A D | RWMutex.hpp | 72 pthread_rwlock_t _lock = PTHREAD_RWLOCK_INITIALIZER; 81 pthread_rwlock_rdlock(pthread_rwlock_t *lock); 83 pthread_rwlock_wrlock(pthread_rwlock_t *lock); 85 pthread_rwlock_unlock(pthread_rwlock_t *lock); 107 pthread_rwlock_t _lock = PTHREAD_RWLOCK_INITIALIZER;
|
| /freebsd-13.1/include/ |
| H A D | pthread.h | 249 int pthread_rwlock_destroy(pthread_rwlock_t * __rwlock) 251 int pthread_rwlock_init(pthread_rwlock_t * __restrict __rwlock, 254 int pthread_rwlock_rdlock(pthread_rwlock_t * __rwlock) 257 pthread_rwlock_t * __restrict __rwlock, 261 pthread_rwlock_t * __restrict __rwlock, 264 int pthread_rwlock_tryrdlock(pthread_rwlock_t * __rwlock) 266 int pthread_rwlock_trywrlock(pthread_rwlock_t * __rwlock) 268 int pthread_rwlock_unlock(pthread_rwlock_t * __rwlock) 270 int pthread_rwlock_wrlock(pthread_rwlock_t * __rwlock)
|
| /freebsd-13.1/contrib/openbsm/bin/auditdistd/ |
| H A D | synch.h | 97 rw_init(pthread_rwlock_t *lock) in rw_init() 105 rw_destroy(pthread_rwlock_t *lock) in rw_destroy() 113 rw_rlock(pthread_rwlock_t *lock) in rw_rlock() 121 rw_wlock(pthread_rwlock_t *lock) in rw_wlock() 129 rw_unlock(pthread_rwlock_t *lock) in rw_unlock()
|
| /freebsd-13.1/sbin/hastd/ |
| H A D | synch.h | 99 rw_init(pthread_rwlock_t *lock) __requires_unlocked(*lock) in rw_init() 107 rw_destroy(pthread_rwlock_t *lock) __requires_unlocked(*lock) in rw_destroy() 115 rw_rlock(pthread_rwlock_t *lock) __locks_shared(*lock) in rw_rlock() 123 rw_wlock(pthread_rwlock_t *lock) __locks_exclusive(*lock) in rw_wlock() 131 rw_unlock(pthread_rwlock_t *lock) __unlocks(*lock) in rw_unlock()
|
| /freebsd-13.1/lib/libc/rpc/ |
| H A D | mt_misc.h | 49 extern pthread_rwlock_t svc_lock; 50 extern pthread_rwlock_t svc_fd_lock; 51 extern pthread_rwlock_t rpcbaddr_cache_lock;
|
| H A D | mt_misc.c | 34 pthread_rwlock_t svc_lock = PTHREAD_RWLOCK_INITIALIZER; 37 pthread_rwlock_t svc_fd_lock = PTHREAD_RWLOCK_INITIALIZER; 40 pthread_rwlock_t rpcbaddr_cache_lock = PTHREAD_RWLOCK_INITIALIZER;
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/tsan/dd/ |
| H A D | dd_interceptors.cpp | 100 INTERCEPTOR(int, pthread_rwlock_destroy, pthread_rwlock_t *m) { in INTERCEPTOR() 106 INTERCEPTOR(int, pthread_rwlock_rdlock, pthread_rwlock_t *m) { in INTERCEPTOR() 114 INTERCEPTOR(int, pthread_rwlock_tryrdlock, pthread_rwlock_t *m) { in INTERCEPTOR() 122 INTERCEPTOR(int, pthread_rwlock_timedrdlock, pthread_rwlock_t *m, in INTERCEPTOR() 131 INTERCEPTOR(int, pthread_rwlock_wrlock, pthread_rwlock_t *m) { in INTERCEPTOR() 139 INTERCEPTOR(int, pthread_rwlock_trywrlock, pthread_rwlock_t *m) { in INTERCEPTOR() 147 INTERCEPTOR(int, pthread_rwlock_timedwrlock, pthread_rwlock_t *m, in INTERCEPTOR() 156 INTERCEPTOR(int, pthread_rwlock_unlock, pthread_rwlock_t *m) { in INTERCEPTOR()
|
| /freebsd-13.1/contrib/netbsd-tests/lib/libpthread/ |
| H A D | t_rwlock.c | 69 pthread_rwlock_t lk; 73 static pthread_rwlock_t static_rwlock = PTHREAD_RWLOCK_INITIALIZER;
|
| /freebsd-13.1/contrib/apr/include/arch/unix/ |
| H A D | apr_arch_thread_rwlock.h | 36 pthread_rwlock_t rwlock;
|
| /freebsd-13.1/sys/sys/ |
| H A D | _pthreadtypes.h | 77 typedef struct pthread_rwlock *pthread_rwlock_t; typedef
|
| /freebsd-13.1/contrib/llvm-project/lldb/include/lldb/ |
| H A D | lldb-types.h | 56 typedef pthread_rwlock_t rwlock_t;
|
| /freebsd-13.1/contrib/lib9p/ |
| H A D | hashtable.h | 37 pthread_rwlock_t ht_rwlock;
|
| /freebsd-13.1/contrib/ofed/opensm/include/complib/ |
| H A D | cl_passivelock.h | 96 pthread_rwlock_t lock;
|
| /freebsd-13.1/usr.sbin/nscd/ |
| H A D | config.h | 105 pthread_rwlock_t rwlock;
|
| /freebsd-13.1/lib/libc/include/ |
| H A D | reentrant.h | 91 #define rwlock_t pthread_rwlock_t
|
| /freebsd-13.1/cddl/contrib/opensolaris/head/ |
| H A D | thread.h | 43 typedef pthread_rwlock_t rwlock_t;
|
| /freebsd-13.1/crypto/openssl/crypto/ |
| H A D | threads_pthread.c | 29 if ((lock = OPENSSL_zalloc(sizeof(pthread_rwlock_t))) == NULL) { in CRYPTO_THREAD_lock_new()
|
| /freebsd-13.1/cddl/contrib/opensolaris/lib/libdtrace/common/ |
| H A D | dt_impl.h | 659 extern int dt_rw_read_held(pthread_rwlock_t *); 660 extern int dt_rw_write_held(pthread_rwlock_t *);
|
| /freebsd-13.1/lib/libc/iconv/ |
| H A D | citrus_iconv.c | 73 static pthread_rwlock_t ci_lock = PTHREAD_RWLOCK_INITIALIZER;
|
| H A D | citrus_mapper.c | 60 static pthread_rwlock_t cm_lock = PTHREAD_RWLOCK_INITIALIZER;
|
| H A D | citrus_csmapper.c | 63 static pthread_rwlock_t ma_lock = PTHREAD_RWLOCK_INITIALIZER;
|
| /freebsd-13.1/contrib/unbound/util/ |
| H A D | locks.h | 115 typedef pthread_rwlock_t lock_rw_type;
|