Home
last modified time | relevance | path

Searched refs:pthread_rwlock_t (Results 1 – 25 of 63) sorted by relevance

123

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DRWMutex.cpp44 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()
/netbsd-src/lib/libpthread/
H A Dpthread.h192 int pthread_rwlock_init(pthread_rwlock_t * __restrict,
194 int pthread_rwlock_destroy(pthread_rwlock_t *);
195 int pthread_rwlock_rdlock(pthread_rwlock_t *);
196 int pthread_rwlock_tryrdlock(pthread_rwlock_t *);
197 int pthread_rwlock_wrlock(pthread_rwlock_t *);
198 int pthread_rwlock_trywrlock(pthread_rwlock_t *);
200 int pthread_rwlock_timedrdlock(pthread_rwlock_t * __restrict,
202 int pthread_rwlock_timedwrlock(pthread_rwlock_t * __restrict,
205 int pthread_rwlock_unlock(pthread_rwlock_t *);
239 int pthread_rwlock_held_np(pthread_rwlock_t *);
[all …]
H A Dpthread_rwlock.c60 static int pthread__rwlock_wrlock(pthread_rwlock_t *, const struct timespec *);
61 static int pthread__rwlock_rdlock(pthread_rwlock_t *, const struct timespec *);
62 static void pthread__rwlock_early(pthread_t, pthread_rwlock_t *,
65 int _pthread_rwlock_held_np(pthread_rwlock_t *);
66 int _pthread_rwlock_rdheld_np(pthread_rwlock_t *);
67 int _pthread_rwlock_wrheld_np(pthread_rwlock_t *);
84 rw_cas(pthread_rwlock_t *ptr, uintptr_t o, uintptr_t n) in __weak_alias()
92 pthread_rwlock_init(pthread_rwlock_t *ptr, in pthread_rwlock_init()
112 pthread_rwlock_destroy(pthread_rwlock_t *ptr) in pthread_rwlock_destroy()
158 pthread__rwlock_rdlock(pthread_rwlock_t *ptr, const struct timespec *ts) in pthread__rwlock_rdlock()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/darwin/
H A Dpthread.d36 int pthread_rwlock_longrdlock_np(pthread_rwlock_t*);
37 int pthread_rwlock_yieldwrlock_np(pthread_rwlock_t*);
39 int pthread_rwlock_downgrade_np(pthread_rwlock_t*);
40 int pthread_rwlock_upgrade_np(pthread_rwlock_t*);
41 int pthread_rwlock_tryupgrade_np(pthread_rwlock_t*);
42 int pthread_rwlock_held_np(pthread_rwlock_t*);
43 int pthread_rwlock_rdheld_np(pthread_rwlock_t*);
44 int pthread_rwlock_wrheld_np(pthread_rwlock_t*);
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/tsan/tests/rtl/
H A Dtsan_posix_util.h61 pthread_rwlock_t *rwlock, const pthread_rwlockattr_t *attr);
62 extern "C" int __interceptor_pthread_rwlock_destroy(pthread_rwlock_t *rwlock);
63 extern "C" int __interceptor_pthread_rwlock_trywrlock(pthread_rwlock_t *rwlock);
64 extern "C" int __interceptor_pthread_rwlock_wrlock(pthread_rwlock_t *rwlock);
65 extern "C" int __interceptor_pthread_rwlock_unlock(pthread_rwlock_t *rwlock);
66 extern "C" int __interceptor_pthread_rwlock_rdlock(pthread_rwlock_t *rwlock);
67 extern "C" int __interceptor_pthread_rwlock_tryrdlock(pthread_rwlock_t *rwlock);
H A Dtsan_test_util_posix.cc111 CHECK_EQ(__interceptor_pthread_rwlock_init((pthread_rwlock_t*)mtx_, 0), 0); in Init()
134 CHECK_EQ(__interceptor_pthread_rwlock_destroy((pthread_rwlock_t*)mtx_), 0); in Destroy()
146 CHECK_EQ(__interceptor_pthread_rwlock_wrlock((pthread_rwlock_t*)mtx_), 0); in Lock()
158 return __interceptor_pthread_rwlock_trywrlock((pthread_rwlock_t*)mtx_) == 0; in TryLock()
171 CHECK_EQ(__interceptor_pthread_rwlock_unlock((pthread_rwlock_t*)mtx_), 0); in Unlock()
177 CHECK_EQ(__interceptor_pthread_rwlock_rdlock((pthread_rwlock_t*)mtx_), 0); in ReadLock()
183 return __interceptor_pthread_rwlock_tryrdlock((pthread_rwlock_t*)mtx_) == 0; in TryReadLock()
189 CHECK_EQ(__interceptor_pthread_rwlock_unlock((pthread_rwlock_t*)mtx_), 0); in ReadUnlock()
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/posix/
H A Dpthread.d256 enum PTHREAD_RWLOCK_INITIALIZER = pthread_rwlock_t(0x99990009);
744 int pthread_rwlock_destroy(pthread_rwlock_t*);
745 int pthread_rwlock_init(pthread_rwlock_t*, const scope pthread_rwlockattr_t*);
746 int pthread_rwlock_rdlock(pthread_rwlock_t*);
747 int pthread_rwlock_tryrdlock(pthread_rwlock_t*);
748 int pthread_rwlock_trywrlock(pthread_rwlock_t*);
749 int pthread_rwlock_unlock(pthread_rwlock_t*);
750 int pthread_rwlock_wrlock(pthread_rwlock_t*);
1274 int pthread_rwlock_timedrdlock(pthread_rwlock_t*, const scope timespec*);
1275 int pthread_rwlock_timedwrlock(pthread_rwlock_t*, const scope timespec*);
[all …]
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/tsan/dd/
H A Ddd_interceptors.cc100 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()
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/posix/sys/
H A Dtypes.d673 struct pthread_rwlock_t in version() struct
709 union pthread_rwlock_t in version()
735 union pthread_rwlock_t in version()
835 struct pthread_rwlock_t in version()
867 alias void* pthread_rwlock_t; in version() local
920 struct pthread_rwlock_t{ in version()
955 alias void* pthread_rwlock_t; in version() local
977 alias void* pthread_rwlock_t; in version() local
1008 struct pthread_rwlock_t in version()
1106 struct pthread_rwlock_t in version() struct
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/std/
H A Dshared_mutex66 __glibcxx_ ## name (pthread_rwlock_t *__rwlock) \
82 __glibcxx_rwlock_init (pthread_rwlock_t *__rwlock)
93 __glibcxx_rwlock_timedrdlock (pthread_rwlock_t *__rwlock,
103 __glibcxx_rwlock_timedwrlock (pthread_rwlock_t *__rwlock,
114 __glibcxx_rwlock_rdlock (pthread_rwlock_t *__rwlock)
117 __glibcxx_rwlock_tryrdlock (pthread_rwlock_t *__rwlock)
120 __glibcxx_rwlock_wrlock (pthread_rwlock_t *__rwlock)
123 __glibcxx_rwlock_trywrlock (pthread_rwlock_t *__rwlock)
126 __glibcxx_rwlock_unlock (pthread_rwlock_t *__rwlock)
129 __glibcxx_rwlock_destroy(pthread_rwlock_t *__rwlock)
[all …]
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/std/
H A Dshared_mutex71 __glibcxx_ ## name (pthread_rwlock_t *__rwlock) \
87 __glibcxx_rwlock_init (pthread_rwlock_t *__rwlock)
98 __glibcxx_rwlock_timedrdlock (pthread_rwlock_t *__rwlock,
108 __glibcxx_rwlock_timedwrlock (pthread_rwlock_t *__rwlock,
119 __glibcxx_rwlock_rdlock (pthread_rwlock_t *__rwlock)
122 __glibcxx_rwlock_tryrdlock (pthread_rwlock_t *__rwlock)
125 __glibcxx_rwlock_wrlock (pthread_rwlock_t *__rwlock)
128 __glibcxx_rwlock_trywrlock (pthread_rwlock_t *__rwlock)
131 __glibcxx_rwlock_unlock (pthread_rwlock_t *__rwlock)
134 __glibcxx_rwlock_destroy(pthread_rwlock_t *__rwlock)
[all …]
/netbsd-src/tests/lib/libpthread/
H A Dt_rwlock.c69 pthread_rwlock_t lk;
73 static pthread_rwlock_t static_rwlock = PTHREAD_RWLOCK_INITIALIZER;
/netbsd-src/external/gpl3/gdb/dist/gnulib/import/m4/
H A Dlock.m413 # OSF/1 4.0 and Mac OS X 10.1 lack the pthread_rwlock_t type and the
16 AC_CHECK_TYPE([pthread_rwlock_t],
/netbsd-src/external/gpl3/gdb/dist/gnulib/import/glthread/
H A Dlock.h315 typedef pthread_rwlock_t gl_rwlock_t;
317 STORAGECLASS pthread_rwlock_t NAME;
319 STORAGECLASS pthread_rwlock_t NAME = gl_rwlock_initializer;
335 extern int glthread_rwlock_init_for_glibc (pthread_rwlock_t *lock);
352 pthread_rwlock_t rwlock; /* read-write lock */
/netbsd-src/external/gpl2/gettext/dist/gettext-runtime/intl/
H A Dlock.h165 typedef pthread_rwlock_t gl_rwlock_t;
167 STORAGECLASS pthread_rwlock_t NAME;
169 STORAGECLASS pthread_rwlock_t NAME = gl_rwlock_initializer;
189 pthread_rwlock_t rwlock; /* read-write lock */
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/libgettextpo/
H A Dlock.h164 typedef pthread_rwlock_t gl_rwlock_t;
166 STORAGECLASS pthread_rwlock_t NAME;
168 STORAGECLASS pthread_rwlock_t NAME = gl_rwlock_initializer;
188 pthread_rwlock_t rwlock; /* read-write lock */
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/
H A Dlock.h164 typedef pthread_rwlock_t gl_rwlock_t;
166 STORAGECLASS pthread_rwlock_t NAME;
168 STORAGECLASS pthread_rwlock_t NAME = gl_rwlock_initializer;
188 pthread_rwlock_t rwlock; /* read-write lock */
/netbsd-src/external/mpl/bind/dist/lib/isc/include/isc/
H A Drwlock.h46 typedef pthread_rwlock_t *isc_rwlock_t;
47 typedef pthread_rwlock_t isc__rwlock_t;
66 typedef pthread_rwlock_t isc_rwlock_t;
67 typedef pthread_rwlock_t isc__rwlock_t;
/netbsd-src/external/mpl/dhcp/bind/dist/lib/isc/include/isc/
H A Drwlock.h41 pthread_rwlock_t rwlock;
/netbsd-src/external/bsd/unbound/dist/testcode/
H A Dchecklocks.c498 { return pthread_rwlock_tryrdlock((pthread_rwlock_t*)arg); } in try_rd()
501 { return pthread_rwlock_timedrdlock((pthread_rwlock_t*)arg, to); } in timed_rd()
518 { return pthread_rwlock_trywrlock((pthread_rwlock_t*)arg); } in try_wr()
521 { return pthread_rwlock_timedwrlock((pthread_rwlock_t*)arg, to); } in timed_wr()
/netbsd-src/external/cddl/osnet/dist/head/
H A Dthread.h47 typedef pthread_rwlock_t rwlock_t;
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/
H A Dthreads_pthread.c29 if ((lock = OPENSSL_zalloc(sizeof(pthread_rwlock_t))) == NULL) { in CRYPTO_THREAD_lock_new()
/netbsd-src/external/gpl2/gettext/dist/gettext-runtime/m4/
H A Dlock.m438 AC_REQUIRE([AC_GNU_SOURCE]) dnl needed for pthread_rwlock_t on glibc systems
151 # OSF/1 4.0 and MacOS X 10.1 lack the pthread_rwlock_t type and the
153 AC_CHECK_TYPE([pthread_rwlock_t],
/netbsd-src/crypto/external/cpl/tpm-tools/dist/m4/
H A Dlock.m438 AC_REQUIRE([AC_GNU_SOURCE]) dnl needed for pthread_rwlock_t on glibc systems
129 # OSF/1 4.0 and MacOS X 10.1 lack the pthread_rwlock_t type and the
131 AC_CHECK_TYPE([pthread_rwlock_t],
/netbsd-src/external/bsd/openldap/dist/include/
H A Dldap_int_thread.h70 typedef pthread_rwlock_t ldap_int_thread_rdwr_t;

123