Home
last modified time | relevance | path

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

/freebsd-11-stable/contrib/apr/locks/unix/
HDthread_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()
77 APR_DECLARE(apr_status_t) apr_thread_rwlock_tryrdlock(apr_thread_rwlock_t *rwlock) in apr_thread_rwlock_tryrdlock()
93 APR_DECLARE(apr_status_t) apr_thread_rwlock_wrlock(apr_thread_rwlock_t *rwlock) in apr_thread_rwlock_wrlock()
106 APR_DECLARE(apr_status_t) apr_thread_rwlock_trywrlock(apr_thread_rwlock_t *rwlock) in apr_thread_rwlock_trywrlock()
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()
[all …]
/freebsd-11-stable/lib/libthr/thread/
HDthr_rwlock.c56 check_and_init_rwlock(pthread_rwlock_t *rwlock, pthread_rwlock_t *rwlock_out) in check_and_init_rwlock()
66 init_rwlock(pthread_rwlock_t *rwlock, pthread_rwlock_t *rwlock_out) in init_rwlock()
90 rwlock_init(pthread_rwlock_t *rwlock, const pthread_rwlockattr_t *attr) in rwlock_init()
111 _pthread_rwlock_destroy (pthread_rwlock_t *rwlock) in _pthread_rwlock_destroy()
134 init_static(struct pthread *thread, pthread_rwlock_t *rwlock) in init_static()
151 _pthread_rwlock_init(pthread_rwlock_t *rwlock, const pthread_rwlockattr_t *attr) in _pthread_rwlock_init()
159 rwlock_rdlock_common(pthread_rwlock_t *rwlock, const struct timespec *abstime) in rwlock_rdlock_common()
220 _pthread_rwlock_rdlock (pthread_rwlock_t *rwlock) in _pthread_rwlock_rdlock()
226 _pthread_rwlock_timedrdlock(pthread_rwlock_t * __restrict rwlock, in _pthread_rwlock_timedrdlock()
233 _pthread_rwlock_tryrdlock (pthread_rwlock_t *rwlock) in _pthread_rwlock_tryrdlock()
[all …]
HDthr_umtx.h185 _thr_rwlock_tryrdlock(struct urwlock *rwlock, int flags) in _thr_rwlock_tryrdlock()
208 _thr_rwlock_trywrlock(struct urwlock *rwlock) in _thr_rwlock_trywrlock()
225 _thr_rwlock_rdlock(struct urwlock *rwlock, int flags, struct timespec *tsp) in _thr_rwlock_rdlock()
234 _thr_rwlock_wrlock(struct urwlock *rwlock, struct timespec *tsp) in _thr_rwlock_wrlock()
243 _thr_rwlock_unlock(struct urwlock *rwlock) in _thr_rwlock_unlock()
HDthr_umtx.c289 __thr_rwlock_rdlock(struct urwlock *rwlock, int flags, in __thr_rwlock_rdlock()
310 __thr_rwlock_wrlock(struct urwlock *rwlock, const struct timespec *tsp) in __thr_rwlock_wrlock()
330 __thr_rwlock_unlock(struct urwlock *rwlock) in __thr_rwlock_unlock()
337 _thr_rwl_rdlock(struct urwlock *rwlock) in _thr_rwl_rdlock()
353 _thr_rwl_wrlock(struct urwlock *rwlock) in _thr_rwl_wrlock()
369 _thr_rwl_unlock(struct urwlock *rwlock) in _thr_rwl_unlock()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
HDRWMutex.cpp44 pthread_rwlock_t* rwlock = in RWMutexImpl() local
64 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in ~RWMutexImpl() local
73 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in lock_shared() local
83 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in unlock_shared() local
93 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in lock() local
103 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in unlock() local
/freebsd-11-stable/sys/sys/
HD_rwlock.h42 struct rwlock { struct
48 * Members of struct rwlock_padalign must mirror members of struct rwlock. argument
/freebsd-11-stable/sys/contrib/vchiq/interface/compat/
HDvchi_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-11-stable/contrib/apr/include/arch/unix/
HDapr_arch_thread_rwlock.h36 pthread_rwlock_t rwlock; member
/freebsd-11-stable/usr.sbin/nscd/
HDconfig.h105 pthread_rwlock_t rwlock; member
/freebsd-11-stable/lib/libc/nls/
HDmsgcat.c104 static pthread_rwlock_t rwlock = PTHREAD_RWLOCK_INITIALIZER; variable
/freebsd-11-stable/sys/kern/
HDkern_umtx.c2633 do_rw_rdlock(struct thread *td, struct urwlock *rwlock, long fflag, in do_rw_rdlock()
2814 do_rw_wrlock(struct thread *td, struct urwlock *rwlock, struct _umtx_time *timeout) in do_rw_wrlock()
3003 do_rw_unlock(struct thread *td, struct urwlock *rwlock) in do_rw_unlock()
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/
HDib_cache.c117 rwlock_t rwlock; member