Searched refs:urwlock (Results 1 – 10 of 10) sorted by relevance
| /src/lib/libthr/thread/ |
| H A D | thr_umtx.h | 52 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 D | thr_umtx.c | 41 _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 D | thr_rtld.c | 53 struct urwlock lock; 56 char _pad[CACHE_LINE_SIZE - sizeof(struct urwlock) -
|
| H A D | thr_sig.c | 56 struct urwlock lock; 519 struct urwlock *rwlp; in _thr_sigact_unload() 579 sizeof(struct urwlock)); in _thr_signal_postfork_child()
|
| H A D | thr_init.c | 73 struct urwlock _thr_atfork_lock = DEFAULT_URWLOCK; 129 struct urwlock _thr_list_lock = DEFAULT_URWLOCK;
|
| H A D | thr_pshared.c | 49 static struct urwlock pshared_lock = DEFAULT_URWLOCK;
|
| H A D | thr_private.h | 337 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 D | rwlock_ronly.sh | 62 struct urwlock *rw; 70 rw = (struct urwlock *)p;
|
| /src/sys/sys/ |
| H A D | _umtx.h | 58 struct urwlock { struct
|
| /src/sys/kern/ |
| H A D | kern_umtx.c | 3094 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()
|