Searched refs:pthread_rwlock_t (Results 1 - 25 of 34) sorted by relevance

12

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Support/
H A DRWMutex.cpp44 pthread_rwlock_t* rwlock =
45 static_cast<pthread_rwlock_t*>(safe_malloc(sizeof(pthread_rwlock_t)));
49 bzero(rwlock, sizeof(pthread_rwlock_t));
64 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_);
73 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_);
83 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data
[all...]
/freebsd-12-stable/lib/libthr/thread/
H A Dthr_rwlock.c61 static int init_static(struct pthread *thread, pthread_rwlock_t *rwlock);
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)
75 init_rwlock(pthread_rwlock_t *rwlock, pthread_rwlock_t *rwlock_out)
77 pthread_rwlock_t prwlock;
99 rwlock_init(pthread_rwlock_t *rwlock, const pthread_rwlockattr_t *attr)
101 pthread_rwlock_t prwloc
[all...]
H A Dthr_private.h1080 int _thr_rwlock_init(pthread_rwlock_t *, const pthread_rwlockattr_t *);
1081 int _thr_rwlock_destroy(pthread_rwlock_t *);
1082 int _Tthr_rwlock_rdlock(pthread_rwlock_t *);
1083 int _Tthr_rwlock_tryrdlock(pthread_rwlock_t *);
1084 int _Tthr_rwlock_trywrlock(pthread_rwlock_t *);
1085 int _Tthr_rwlock_wrlock(pthread_rwlock_t *);
1086 int _Tthr_rwlock_unlock(pthread_rwlock_t *);
/freebsd-12-stable/contrib/apr/include/arch/unix/
H A Dapr_arch_thread_rwlock.h27 /* this gives us pthread_rwlock_t */
36 pthread_rwlock_t rwlock;
/freebsd-12-stable/contrib/llvm-project/libunwind/src/
H A DRWMutex.hpp72 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-12-stable/lib/libc/rpc/
H A Dmt_misc.h49 extern pthread_rwlock_t svc_lock;
50 extern pthread_rwlock_t svc_fd_lock;
51 extern pthread_rwlock_t rpcbaddr_cache_lock;
H A Dmt_misc.c34 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-12-stable/sys/sys/
H A D_pthreadtypes.h77 typedef struct pthread_rwlock *pthread_rwlock_t; typedef in typeref:struct:pthread_rwlock
/freebsd-12-stable/include/
H A Dpthread.h249 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-12-stable/contrib/openbsm/bin/auditdistd/
H A Dsynch.h97 rw_init(pthread_rwlock_t *lock)
105 rw_destroy(pthread_rwlock_t *lock)
113 rw_rlock(pthread_rwlock_t *lock)
121 rw_wlock(pthread_rwlock_t *lock)
129 rw_unlock(pthread_rwlock_t *lock)
/freebsd-12-stable/sbin/hastd/
H A Dsynch.h99 rw_init(pthread_rwlock_t *lock) __requires_unlocked(*lock)
107 rw_destroy(pthread_rwlock_t *lock) __requires_unlocked(*lock)
115 rw_rlock(pthread_rwlock_t *lock) __locks_shared(*lock)
123 rw_wlock(pthread_rwlock_t *lock) __locks_exclusive(*lock)
131 rw_unlock(pthread_rwlock_t *lock) __unlocks(*lock)
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/tsan/dd/
H A Ddd_interceptors.cpp99 INTERCEPTOR(int, pthread_rwlock_destroy, pthread_rwlock_t *m) {
105 INTERCEPTOR(int, pthread_rwlock_rdlock, pthread_rwlock_t *m) {
113 INTERCEPTOR(int, pthread_rwlock_tryrdlock, pthread_rwlock_t *m) {
121 INTERCEPTOR(int, pthread_rwlock_timedrdlock, pthread_rwlock_t *m,
130 INTERCEPTOR(int, pthread_rwlock_wrlock, pthread_rwlock_t *m) {
138 INTERCEPTOR(int, pthread_rwlock_trywrlock, pthread_rwlock_t *m) {
146 INTERCEPTOR(int, pthread_rwlock_timedwrlock, pthread_rwlock_t *m,
155 INTERCEPTOR(int, pthread_rwlock_unlock, pthread_rwlock_t *m) {
/freebsd-12-stable/contrib/netbsd-tests/lib/libpthread/
H A Dt_rwlock.c69 pthread_rwlock_t lk;
73 static pthread_rwlock_t static_rwlock = PTHREAD_RWLOCK_INITIALIZER;
/freebsd-12-stable/contrib/llvm-project/lldb/include/lldb/
H A Dlldb-types.h56 typedef pthread_rwlock_t rwlock_t;
/freebsd-12-stable/contrib/ofed/opensm/include/complib/
H A Dcl_passivelock.h96 pthread_rwlock_t lock;
/freebsd-12-stable/lib/libc/include/
H A Dreentrant.h91 #define rwlock_t pthread_rwlock_t
/freebsd-12-stable/usr.sbin/nscd/
H A Dconfig.h105 pthread_rwlock_t rwlock;
/freebsd-12-stable/cddl/contrib/opensolaris/head/
H A Dthread.h43 typedef pthread_rwlock_t rwlock_t;
/freebsd-12-stable/crypto/openssl/crypto/
H A Dthreads_pthread.c29 if ((lock = OPENSSL_zalloc(sizeof(pthread_rwlock_t))) == NULL) {
/freebsd-12-stable/lib/libc/iconv/
H A Dcitrus_iconv.c73 static pthread_rwlock_t ci_lock = PTHREAD_RWLOCK_INITIALIZER;
H A Dcitrus_mapper.c60 static pthread_rwlock_t cm_lock = PTHREAD_RWLOCK_INITIALIZER;
H A Dcitrus_csmapper.c63 static pthread_rwlock_t ma_lock = PTHREAD_RWLOCK_INITIALIZER;
/freebsd-12-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_impl.h659 extern int dt_rw_read_held(pthread_rwlock_t *);
660 extern int dt_rw_write_held(pthread_rwlock_t *);
/freebsd-12-stable/contrib/unbound/util/
H A Dlocks.h115 typedef pthread_rwlock_t lock_rw_type;
/freebsd-12-stable/usr.sbin/bhyve/
H A Dmem.c73 static pthread_rwlock_t mmio_rwlock;

Completed in 216 milliseconds

12