/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | RWMutex.cpp | 46 pthread_rwlock_t* rwlock = in RWMutexImpl() 47 static_cast<pthread_rwlock_t*>(safe_malloc(sizeof(pthread_rwlock_t))); in RWMutexImpl() 51 bzero(rwlock, sizeof(pthread_rwlock_t)); in RWMutexImpl() 66 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in ~RWMutexImpl() 75 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in lock_shared() 85 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 try_lock_shared() 103 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in lock() 113 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in unlock() 121 pthread_rwlock_t *rwlock = static_cast<pthread_rwlock_t *>(data_); in try_lock()
|
/freebsd/lib/libthr/thread/ |
H A D | thr_rwlock.c | 59 static int init_static(struct pthread *thread, pthread_rwlock_t *rwlock); 60 static int init_rwlock(pthread_rwlock_t *rwlock, pthread_rwlock_t *rwlock_out); 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() 75 pthread_rwlock_t prwlock; in init_rwlock() 97 rwlock_init(pthread_rwlock_t *rwlock, const pthread_rwlockattr_t *attr) in rwlock_init() 99 pthread_rwlock_t prwlock; in rwlock_init() 120 _thr_rwlock_destroy(pthread_rwlock_t *rwlock) in _thr_rwlock_destroy() 122 pthread_rwlock_t prwlock; in _thr_rwlock_destroy() 143 init_static(struct pthread *thread, pthread_rwlock_t *rwlock) in init_static() [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/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/include/ |
H A D | pthread.h | 250 int pthread_rwlock_destroy(pthread_rwlock_t * __rwlock) 252 int pthread_rwlock_init(pthread_rwlock_t * __restrict __rwlock, 255 int pthread_rwlock_rdlock(pthread_rwlock_t * __rwlock) 258 pthread_rwlock_t * __restrict __rwlock, 262 pthread_rwlock_t * __restrict __rwlock, 265 int pthread_rwlock_tryrdlock(pthread_rwlock_t * __rwlock) 267 int pthread_rwlock_trywrlock(pthread_rwlock_t * __rwlock) 269 int pthread_rwlock_unlock(pthread_rwlock_t * __rwlock) 271 int pthread_rwlock_wrlock(pthread_rwlock_t * __rwlock)
|
/freebsd/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/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/lib/libc/rpc/ |
H A D | mt_misc.h | 47 extern pthread_rwlock_t svc_lock; 48 extern pthread_rwlock_t svc_fd_lock; 49 extern pthread_rwlock_t rpcbaddr_cache_lock;
|
H A D | mt_misc.c | 30 pthread_rwlock_t svc_lock = PTHREAD_RWLOCK_INITIALIZER; 33 pthread_rwlock_t svc_fd_lock = PTHREAD_RWLOCK_INITIALIZER; 36 pthread_rwlock_t rpcbaddr_cache_lock = PTHREAD_RWLOCK_INITIALIZER;
|
/freebsd/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/contrib/llvm-project/compiler-rt/lib/rtsan/ |
H A D | rtsan_interceptors.cpp | 230 INTERCEPTOR(int, pthread_rwlock_rdlock, pthread_rwlock_t *lock) { in INTERCEPTOR() 235 INTERCEPTOR(int, pthread_rwlock_unlock, pthread_rwlock_t *lock) { in INTERCEPTOR() 240 INTERCEPTOR(int, pthread_rwlock_wrlock, pthread_rwlock_t *lock) { in INTERCEPTOR()
|
/freebsd/sys/sys/ |
H A D | _pthreadtypes.h | 75 typedef struct pthread_rwlock *pthread_rwlock_t; typedef
|
/freebsd/contrib/llvm-project/compiler-rt/lib/rtsan/tests/ |
H A D | rtsan_test_interceptors.cpp | 436 pthread_rwlock_t rw_lock; in TEST() 445 pthread_rwlock_t rw_lock; in TEST() 454 pthread_rwlock_t rw_lock; in TEST()
|
/freebsd/contrib/llvm-project/lldb/include/lldb/ |
H A D | lldb-types.h | 56 typedef pthread_rwlock_t rwlock_t;
|
/freebsd/contrib/lib9p/ |
H A D | hashtable.h | 37 pthread_rwlock_t ht_rwlock;
|
/freebsd/usr.sbin/nscd/ |
H A D | config.h | 103 pthread_rwlock_t rwlock;
|
/freebsd/contrib/ofed/opensm/include/complib/ |
H A D | cl_passivelock.h | 96 pthread_rwlock_t lock;
|
/freebsd/lib/libc/include/ |
H A D | reentrant.h | 89 #define rwlock_t pthread_rwlock_t
|
/freebsd/cddl/contrib/opensolaris/head/ |
H A D | thread.h | 43 typedef pthread_rwlock_t rwlock_t;
|
/freebsd/crypto/openssl/crypto/ |
H A D | threads_pthread.c | 50 if ((lock = OPENSSL_zalloc(sizeof(pthread_rwlock_t))) == NULL) { in CRYPTO_THREAD_lock_new()
|
/freebsd/sys/contrib/openzfs/lib/libspl/os/freebsd/ |
H A D | mnttab.c | 138 static pthread_rwlock_t gsfs_lock = PTHREAD_RWLOCK_INITIALIZER;
|
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_impl.h | 664 extern int dt_rw_read_held(pthread_rwlock_t *); 665 extern int dt_rw_write_held(pthread_rwlock_t *);
|
/freebsd/lib/libc/iconv/ |
H A D | citrus_iconv.c | 71 static pthread_rwlock_t ci_lock = PTHREAD_RWLOCK_INITIALIZER;
|
H A D | citrus_mapper.c | 58 static pthread_rwlock_t cm_lock = PTHREAD_RWLOCK_INITIALIZER;
|
/freebsd/contrib/unbound/util/ |
H A D | locks.h | 116 typedef pthread_rwlock_t lock_rw_type;
|