Searched refs:umutex (Results 1 – 11 of 11) sorted by relevance
| /src/lib/libthr/thread/ |
| H A D | thr_umtx.h | 42 int __thr_umutex_lock(struct umutex *mtx, uint32_t id) __hidden; 43 int __thr_umutex_lock_spin(struct umutex *mtx, uint32_t id) __hidden; 44 int __thr_umutex_timedlock(struct umutex *mtx, uint32_t id, 46 int __thr_umutex_unlock(struct umutex *mtx) __hidden; 47 int __thr_umutex_trylock(struct umutex *mtx) __hidden; 48 int __thr_umutex_set_ceiling(struct umutex *mtx, uint32_t ceiling, 51 void _thr_umutex_init(struct umutex *mtx) __hidden; 61 int _thr_ucond_wait(struct ucond *cv, struct umutex *m, 79 _thr_umutex_trylock(struct umutex *mtx, uint32_t id) in _thr_umutex_trylock() 96 _thr_umutex_trylock2(struct umutex *mtx, uint32_t id) in _thr_umutex_trylock2() [all …]
|
| H A D | thr_umtx.c | 33 _thr_umutex_init(struct umutex *mtx) in _thr_umutex_init() 35 static const struct umutex default_mtx = DEFAULT_UMUTEX; in _thr_umutex_init() 49 __thr_umutex_lock(struct umutex *mtx, uint32_t id) in __thr_umutex_lock() 76 __thr_umutex_lock_spin(struct umutex *mtx, uint32_t id) in __thr_umutex_lock_spin() 109 __thr_umutex_timedlock(struct umutex *mtx, uint32_t id, in __thr_umutex_timedlock() 160 __thr_umutex_unlock(struct umutex *mtx) in __thr_umutex_unlock() 167 __thr_umutex_trylock(struct umutex *mtx) in __thr_umutex_trylock() 174 __thr_umutex_set_ceiling(struct umutex *mtx, uint32_t ceiling, in __thr_umutex_set_ceiling() 244 _thr_ucond_wait(struct ucond *cv, struct umutex *m, in _thr_ucond_wait()
|
| H A D | thr_init.c | 125 struct umutex _mutex_static_lock = DEFAULT_UMUTEX; 126 struct umutex _cond_static_lock = DEFAULT_UMUTEX; 127 struct umutex _rwlock_static_lock = DEFAULT_UMUTEX; 128 struct umutex _keytable_lock = DEFAULT_UMUTEX; 130 struct umutex _thr_event_lock = DEFAULT_UMUTEX; 131 struct umutex _suspend_all_lock = DEFAULT_UMUTEX;
|
| H A D | thr_private.h | 168 struct umutex m_lock; 207 struct umutex b_lock; 221 struct umutex s_lock; 378 struct umutex lock; 769 extern struct umutex _mutex_static_lock __hidden; 770 extern struct umutex _cond_static_lock __hidden; 771 extern struct umutex _rwlock_static_lock __hidden; 772 extern struct umutex _keytable_lock __hidden; 774 extern struct umutex _thr_event_lock __hidden; 775 extern struct umutex _suspend_all_lock __hidden;
|
| H A D | thr_spinlock.c | 47 struct umutex lock; 50 static struct umutex spinlock_static_lock = DEFAULT_UMUTEX;
|
| H A D | thr_list.c | 64 static struct umutex free_thread_lock = DEFAULT_UMUTEX; 65 static struct umutex tcb_lock = DEFAULT_UMUTEX;
|
| H A D | thr_malloc.c | 39 static struct umutex thr_malloc_umtx;
|
| H A D | thr_kern.c | 45 static struct umutex addr_lock;
|
| H A D | thr_sleepq.c | 41 struct umutex sc_lock;
|
| /src/sys/sys/ |
| H A D | _umtx.h | 40 struct umutex { struct
|
| /src/sys/kern/ |
| H A D | kern_umtx.c | 140 _Static_assert(sizeof(struct umutex) == sizeof(struct umutex32), "umutex32"); 141 _Static_assert(__offsetof(struct umutex, m_spare[0]) == 180 static int do_unlock_pp(struct thread *td, struct umutex *m, uint32_t flags, 1355 do_lock_normal(struct thread *td, struct umutex *m, uint32_t flags, in do_lock_normal() 1530 do_unlock_normal(struct thread *td, struct umutex *m, uint32_t flags, bool rb) in do_unlock_normal() 1605 do_wake_umutex(struct thread *td, struct umutex *m) in do_wake_umutex() 1671 do_wake2_umutex(struct thread *td, struct umutex *m, uint32_t flags) in do_wake2_umutex() 2231 do_lock_pi(struct thread *td, struct umutex *m, uint32_t flags, in do_lock_pi() 2443 do_unlock_pi(struct thread *td, struct umutex *m, uint32_t flags, bool rb) in do_unlock_pi() 2526 do_lock_pp(struct thread *td, struct umutex *m, uint32_t flags, in do_lock_pp() [all …]
|