Home
last modified time | relevance | path

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

/freebsd/lib/libthr/thread/
H A Dthr_umtx.h42 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 Dthr_umtx.c33 _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 Dthr_init.c123 struct umutex _mutex_static_lock = DEFAULT_UMUTEX;
124 struct umutex _cond_static_lock = DEFAULT_UMUTEX;
125 struct umutex _rwlock_static_lock = DEFAULT_UMUTEX;
126 struct umutex _keytable_lock = DEFAULT_UMUTEX;
128 struct umutex _thr_event_lock = DEFAULT_UMUTEX;
129 struct umutex _suspend_all_lock = DEFAULT_UMUTEX;
H A Dthr_private.h167 struct umutex m_lock;
206 struct umutex b_lock;
220 struct umutex s_lock;
377 struct umutex lock;
766 extern struct umutex _mutex_static_lock __hidden;
767 extern struct umutex _cond_static_lock __hidden;
768 extern struct umutex _rwlock_static_lock __hidden;
769 extern struct umutex _keytable_lock __hidden;
771 extern struct umutex _thr_event_lock __hidden;
772 extern struct umutex _suspend_all_lock __hidden;
H A Dthr_spinlock.c47 struct umutex lock;
50 static struct umutex spinlock_static_lock = DEFAULT_UMUTEX;
H A Dthr_list.c63 static struct umutex free_thread_lock = DEFAULT_UMUTEX;
64 static struct umutex tcb_lock = DEFAULT_UMUTEX;
H A Dthr_kern.c45 static struct umutex addr_lock;
H A Dthr_sleepq.c41 struct umutex sc_lock;
/freebsd/sys/sys/
H A D_umtx.h40 struct umutex { struct
/freebsd/sys/kern/
H A Dkern_umtx.c140 _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,
1353 do_lock_normal(struct thread *td, struct umutex *m, uint32_t flags, in do_lock_normal()
1528 do_unlock_normal(struct thread *td, struct umutex *m, uint32_t flags, bool rb) in do_unlock_normal()
1603 do_wake_umutex(struct thread *td, struct umutex *m) in do_wake_umutex()
1669 do_wake2_umutex(struct thread *td, struct umutex *m, uint32_t flags) in do_wake2_umutex()
2229 do_lock_pi(struct thread *td, struct umutex *m, uint32_t flags, in do_lock_pi()
2441 do_unlock_pi(struct thread *td, struct umutex *m, uint32_t flags, bool rb) in do_unlock_pi()
2524 do_lock_pp(struct thread *td, struct umutex *m, uint32_t flags, in do_lock_pp()
[all …]