Home
last modified time | relevance | path

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

/freebsd-13.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-13.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-13.1/contrib/llvm-project/llvm/lib/Support/
H A DRWMutex.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-13.1/sys/sys/
H A D_rwlock.h44 struct rwlock { struct
50 * Members of struct rwlock_padalign must mirror members of struct rwlock. argument
/freebsd-13.1/sys/contrib/vchiq/interface/compat/
H A Dvchi_bsd.h168 #define rwlock_init(rwlock) rw_init(rwlock, "VCHI rwlock") argument
169 #define read_lock(rwlock) rw_rlock(rwlock) argument
170 #define read_unlock(rwlock) rw_unlock(rwlock) argument
172 #define write_lock(rwlock) rw_wlock(rwlock) argument
173 #define write_unlock(rwlock) rw_unlock(rwlock) argument
174 #define write_lock_irqsave(rwlock, flags) \ argument
179 #define write_unlock_irqrestore(rwlock, flags) \ argument
182 #define read_lock_bh(rwlock) rw_rlock(rwlock) argument
183 #define read_unlock_bh(rwlock) rw_unlock(rwlock) argument
184 #define write_lock_bh(rwlock) rw_wlock(rwlock) argument
[all …]
/freebsd-13.1/contrib/apr/include/arch/unix/
H A Dapr_arch_thread_rwlock.h36 pthread_rwlock_t rwlock; member
/freebsd-13.1/usr.sbin/nscd/
H A Dconfig.h105 pthread_rwlock_t rwlock; member
/freebsd-13.1/lib/libc/nls/
H A Dmsgcat.c108 static pthread_rwlock_t rwlock = PTHREAD_RWLOCK_INITIALIZER; variable
/freebsd-13.1/sys/kern/
H A Dkern_umtx.c3046 do_rw_rdlock(struct thread *td, struct urwlock *rwlock, long fflag, in do_rw_rdlock()
3232 do_rw_wrlock(struct thread *td, struct urwlock *rwlock, struct _umtx_time *timeout) in do_rw_wrlock()
3428 do_rw_unlock(struct thread *td, struct urwlock *rwlock) in do_rw_unlock()
/freebsd-13.1/sys/ofed/drivers/infiniband/core/
H A Dib_cache.c118 rwlock_t rwlock; member