Home
last modified time | relevance | path

Searched refs:urwlock (Results 1 – 10 of 10) sorted by relevance

/freebsd-head/lib/libthr/thread/
HDthr_umtx.h52 void _thr_urwlock_init(struct urwlock *rwl) __hidden;
67 int __thr_rwlock_rdlock(struct urwlock *rwlock, int flags,
69 int __thr_rwlock_wrlock(struct urwlock *rwlock,
71 int __thr_rwlock_unlock(struct urwlock *rwlock) __hidden;
74 void _thr_rwl_rdlock(struct urwlock *rwlock) __hidden;
75 void _thr_rwl_wrlock(struct urwlock *rwlock) __hidden;
76 void _thr_rwl_unlock(struct urwlock *rwlock) __hidden;
184 _thr_rwlock_tryrdlock(struct urwlock *rwlock, int flags) in _thr_rwlock_tryrdlock()
207 _thr_rwlock_trywrlock(struct urwlock *rwlock) in _thr_rwlock_trywrlock()
224 _thr_rwlock_rdlock(struct urwlock *rwlock, int flags, struct timespec *tsp) in _thr_rwlock_rdlock()
[all …]
HDthr_umtx.c41 _thr_urwlock_init(struct urwlock *rwl) in _thr_urwlock_init()
43 static const struct urwlock default_rwl = DEFAULT_URWLOCK; in _thr_urwlock_init()
278 __thr_rwlock_rdlock(struct urwlock *rwlock, int flags, in __thr_rwlock_rdlock()
299 __thr_rwlock_wrlock(struct urwlock *rwlock, const struct timespec *tsp) in __thr_rwlock_wrlock()
319 __thr_rwlock_unlock(struct urwlock *rwlock) in __thr_rwlock_unlock()
326 _thr_rwl_rdlock(struct urwlock *rwlock) in _thr_rwl_rdlock()
342 _thr_rwl_wrlock(struct urwlock *rwlock) in _thr_rwl_wrlock()
358 _thr_rwl_unlock(struct urwlock *rwlock) in _thr_rwl_unlock()
HDthr_rtld.c53 struct urwlock lock;
56 char _pad[CACHE_LINE_SIZE - sizeof(struct urwlock) -
HDthr_sig.c55 struct urwlock lock;
500 struct urwlock *rwlp; in _thr_sigact_unload()
560 sizeof(struct urwlock)); in _thr_signal_postfork_child()
HDthr_init.c71 struct urwlock _thr_atfork_lock = DEFAULT_URWLOCK;
127 struct urwlock _thr_list_lock = DEFAULT_URWLOCK;
HDthr_pshared.c49 static struct urwlock pshared_lock = DEFAULT_URWLOCK;
HDthr_private.h336 struct urwlock lock;
739 extern struct urwlock _thr_atfork_lock __hidden;
770 extern struct urwlock _thr_list_lock __hidden;
/freebsd-head/tools/test/stress2/misc/
HDrwlock_ronly.sh62 struct urwlock *rw;
70 rw = (struct urwlock *)p;
/freebsd-head/sys/sys/
HD_umtx.h58 struct urwlock { struct
/freebsd-head/sys/kern/
HDkern_umtx.c3091 do_rw_rdlock(struct thread *td, struct urwlock *rwlock, long fflag, in do_rw_rdlock()
3279 do_rw_wrlock(struct thread *td, struct urwlock *rwlock, struct _umtx_time *timeout) in do_rw_wrlock()
3477 do_rw_unlock(struct thread *td, struct urwlock *rwlock) in do_rw_unlock()