Home
last modified time | relevance | path

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

/src/lib/libthr/thread/
H A Dthr_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 …]
H A Dthr_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()
H A Dthr_rtld.c53 struct urwlock lock;
56 char _pad[CACHE_LINE_SIZE - sizeof(struct urwlock) -
H A Dthr_sig.c56 struct urwlock lock;
519 struct urwlock *rwlp; in _thr_sigact_unload()
579 sizeof(struct urwlock)); in _thr_signal_postfork_child()
H A Dthr_init.c73 struct urwlock _thr_atfork_lock = DEFAULT_URWLOCK;
129 struct urwlock _thr_list_lock = DEFAULT_URWLOCK;
H A Dthr_pshared.c49 static struct urwlock pshared_lock = DEFAULT_URWLOCK;
H A Dthr_private.h337 struct urwlock lock;
742 extern struct urwlock _thr_atfork_lock __hidden;
773 extern struct urwlock _thr_list_lock __hidden;
/src/tools/test/stress2/misc/
H A Drwlock_ronly.sh62 struct urwlock *rw;
70 rw = (struct urwlock *)p;
/src/sys/sys/
H A D_umtx.h58 struct urwlock { struct
/src/sys/kern/
H A Dkern_umtx.c3094 do_rw_rdlock(struct thread *td, struct urwlock *rwlock, long fflag, in do_rw_rdlock()
3282 do_rw_wrlock(struct thread *td, struct urwlock *rwlock, struct _umtx_time *timeout) in do_rw_wrlock()
3480 do_rw_unlock(struct thread *td, struct urwlock *rwlock) in do_rw_unlock()