Home
last modified time | relevance | path

Searched defs:rwlock (Results 1 – 12 of 12) sorted by relevance

/freebsd-12.1/contrib/apr/locks/unix/
H A Dthread_rwlock.c28 apr_thread_rwlock_t *rwlock = (apr_thread_rwlock_t *)data; in thread_rwlock_cleanup() local
40 APR_DECLARE(apr_status_t) apr_thread_rwlock_create(apr_thread_rwlock_t **rwlock, in apr_thread_rwlock_create()
64 APR_DECLARE(apr_status_t) apr_thread_rwlock_rdlock(apr_thread_rwlock_t *rwlock) in apr_thread_rwlock_rdlock()
93 APR_DECLARE(apr_status_t) apr_thread_rwlock_wrlock(apr_thread_rwlock_t *rwlock) in apr_thread_rwlock_wrlock()
122 APR_DECLARE(apr_status_t) apr_thread_rwlock_unlock(apr_thread_rwlock_t *rwlock) in apr_thread_rwlock_unlock()
135 APR_DECLARE(apr_status_t) apr_thread_rwlock_destroy(apr_thread_rwlock_t *rwlock) in apr_thread_rwlock_destroy()
142 APR_DECLARE(apr_status_t) apr_thread_rwlock_create(apr_thread_rwlock_t **rwlock, in apr_thread_rwlock_create()
148 APR_DECLARE(apr_status_t) apr_thread_rwlock_rdlock(apr_thread_rwlock_t *rwlock) in apr_thread_rwlock_rdlock()
158 APR_DECLARE(apr_status_t) apr_thread_rwlock_wrlock(apr_thread_rwlock_t *rwlock) in apr_thread_rwlock_wrlock()
168 APR_DECLARE(apr_status_t) apr_thread_rwlock_unlock(apr_thread_rwlock_t *rwlock) in apr_thread_rwlock_unlock()
[all …]
/freebsd-12.1/lib/libthr/thread/
H A Dthr_rwlock.c75 init_rwlock(pthread_rwlock_t *rwlock, pthread_rwlock_t *rwlock_out) in init_rwlock()
99 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()
229 _Tthr_rwlock_rdlock(pthread_rwlock_t *rwlock) in _Tthr_rwlock_rdlock()
235 _pthread_rwlock_timedrdlock(pthread_rwlock_t * __restrict rwlock, in _pthread_rwlock_timedrdlock()
242 _Tthr_rwlock_tryrdlock(pthread_rwlock_t *rwlock) in _Tthr_rwlock_tryrdlock()
278 _Tthr_rwlock_trywrlock(pthread_rwlock_t *rwlock) in _Tthr_rwlock_trywrlock()
341 _Tthr_rwlock_wrlock(pthread_rwlock_t *rwlock) in _Tthr_rwlock_wrlock()
347 _pthread_rwlock_timedwrlock(pthread_rwlock_t * __restrict rwlock, in _pthread_rwlock_timedwrlock()
[all …]
H A Dthr_umtx.h187 _thr_rwlock_tryrdlock(struct urwlock *rwlock, int flags) in _thr_rwlock_tryrdlock()
210 _thr_rwlock_trywrlock(struct urwlock *rwlock) in _thr_rwlock_trywrlock()
227 _thr_rwlock_rdlock(struct urwlock *rwlock, int flags, struct timespec *tsp) in _thr_rwlock_rdlock()
236 _thr_rwlock_wrlock(struct urwlock *rwlock, struct timespec *tsp) in _thr_rwlock_wrlock()
245 _thr_rwlock_unlock(struct urwlock *rwlock) in _thr_rwlock_unlock()
H A Dthr_umtx.c291 __thr_rwlock_rdlock(struct urwlock *rwlock, int flags, in __thr_rwlock_rdlock()
312 __thr_rwlock_wrlock(struct urwlock *rwlock, const struct timespec *tsp) in __thr_rwlock_wrlock()
332 __thr_rwlock_unlock(struct urwlock *rwlock) in __thr_rwlock_unlock()
339 _thr_rwl_rdlock(struct urwlock *rwlock) in _thr_rwl_rdlock()
355 _thr_rwl_wrlock(struct urwlock *rwlock) in _thr_rwl_wrlock()
371 _thr_rwl_unlock(struct urwlock *rwlock) in _thr_rwl_unlock()
/freebsd-12.1/contrib/llvm/lib/Support/
H A DRWMutex.cpp52 pthread_rwlock_t* rwlock = in RWMutexImpl() local
72 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in ~RWMutexImpl() local
81 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in reader_acquire() local
91 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in reader_release() local
101 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in writer_acquire() local
111 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in writer_release() local
/freebsd-12.1/sys/sys/
H A D_rwlock.h45 struct rwlock { struct
51 * Members of struct rwlock_padalign must mirror members of struct rwlock. argument
/freebsd-12.1/sys/contrib/vchiq/interface/compat/
H A Dvchi_bsd.h172 #define rwlock_init(rwlock) rw_init(rwlock, "VCHI rwlock") argument
173 #define read_lock(rwlock) rw_rlock(rwlock) argument
174 #define read_unlock(rwlock) rw_unlock(rwlock) argument
176 #define write_lock(rwlock) rw_wlock(rwlock) argument
177 #define write_unlock(rwlock) rw_unlock(rwlock) argument
178 #define write_lock_irqsave(rwlock, flags) \ argument
183 #define write_unlock_irqrestore(rwlock, flags) \ argument
186 #define read_lock_bh(rwlock) rw_rlock(rwlock) argument
187 #define read_unlock_bh(rwlock) rw_unlock(rwlock) argument
188 #define write_lock_bh(rwlock) rw_wlock(rwlock) argument
[all …]
/freebsd-12.1/contrib/apr/include/arch/unix/
H A Dapr_arch_thread_rwlock.h36 pthread_rwlock_t rwlock; member
/freebsd-12.1/usr.sbin/nscd/
H A Dconfig.h105 pthread_rwlock_t rwlock; member
/freebsd-12.1/lib/libc/nls/
H A Dmsgcat.c97 static pthread_rwlock_t rwlock = PTHREAD_RWLOCK_INITIALIZER; variable
/freebsd-12.1/sys/kern/
H A Dkern_umtx.c2723 do_rw_rdlock(struct thread *td, struct urwlock *rwlock, long fflag, in do_rw_rdlock()
2909 do_rw_wrlock(struct thread *td, struct urwlock *rwlock, struct _umtx_time *timeout) in do_rw_wrlock()
3105 do_rw_unlock(struct thread *td, struct urwlock *rwlock) in do_rw_unlock()
/freebsd-12.1/sys/ofed/drivers/infiniband/core/
H A Dib_cache.c117 rwlock_t rwlock; member