Home
last modified time | relevance | path

Searched refs:futex_q (Results 1 – 6 of 6) sorted by relevance

/linux/kernel/futex/
H A Dfutex.h143 struct futex_q;
144 typedef void (futex_wake_fn)(struct wake_q_head *wake_q, struct futex_q *q);
172 struct futex_q { struct
190 extern const struct futex_q futex_q_init; argument
222 struct futex_q *q, struct futex_hash_bucket **hb);
223 extern void futex_wait_queue(struct futex_hash_bucket *hb, struct futex_q *q,
225 extern bool __futex_wake_mark(struct futex_q *q);
226 extern void futex_wake_mark(struct wake_q_head *wake_q, struct futex_q *q);
229 extern struct futex_q *futex_top_waiter(struct futex_hash_bucket *hb, union futex_key *key);
287 extern void __futex_unqueue(struct futex_q *q);
[all …]
H A Drequeue.c60 const struct futex_q futex_q_init = {
76 void requeue_futex(struct futex_q *q, struct futex_hash_bucket *hb1, in requeue_futex()
94 static inline bool futex_requeue_pi_prepare(struct futex_q *q, in futex_requeue_pi_prepare()
127 static inline void futex_requeue_pi_complete(struct futex_q *q, int locked) in futex_requeue_pi_complete()
158 static inline int futex_requeue_pi_wakeup_sync(struct futex_q *q) in futex_requeue_pi_wakeup_sync()
225 void requeue_pi_wake_futex(struct futex_q *q, union futex_key *key, in requeue_pi_wake_futex()
274 struct futex_q *top_waiter; in futex_proxy_trylock_atomic()
375 struct futex_q *this, *next; in futex_requeue()
696 struct futex_q *q, in handle_early_requeue_pi_wakeup()
774 struct futex_q q = futex_q_init; in futex_wait_requeue_pi()
H A Dwaitwake.c110 bool __futex_wake_mark(struct futex_q *q) in __futex_wake_mark()
134 void futex_wake_mark(struct wake_q_head *wake_q, struct futex_q *q) in futex_wake_mark()
158 struct futex_q *this, *next; in futex_wake()
257 struct futex_q *this, *next; in futex_wake_op()
342 void futex_wait_queue(struct futex_hash_bucket *hb, struct futex_q *q, in futex_wait_queue()
451 struct futex_q *q = &vs[i].q; in futex_wait_multiple_setup()
592 struct futex_q *q, struct futex_hash_bucket **hb) in futex_wait_setup()
649 struct futex_q q = futex_q_init; in __futex_wait()
H A Dcore.c443 struct futex_q *futex_top_waiter(struct futex_hash_bucket *hb, union futex_key *key) in futex_top_waiter()
445 struct futex_q *this; in futex_top_waiter()
491 void __futex_unqueue(struct futex_q *q) in __futex_unqueue()
505 struct futex_hash_bucket *futex_q_lock(struct futex_q *q) in futex_q_lock()
535 void __futex_queue(struct futex_q *q, struct futex_hash_bucket *hb, in __futex_queue()
566 int futex_unqueue(struct futex_q *q) in futex_unqueue()
613 void futex_unqueue_pi(struct futex_q *q) in futex_unqueue_pi()
H A Dpi.c523 struct futex_q *top_waiter; in futex_lock_pi_atomic()
671 static int __fixup_pi_state_owner(u32 __user *uaddr, struct futex_q *q, in __fixup_pi_state_owner()
843 static int fixup_pi_state_owner(u32 __user *uaddr, struct futex_q *q, in fixup_pi_state_owner()
872 int fixup_pi_owner(u32 __user *uaddr, struct futex_q *q, int locked) in fixup_pi_owner()
924 struct futex_q q = futex_q_init; in futex_lock_pi()
1118 struct futex_q *top_waiter; in futex_unlock_pi()
/linux/io_uring/
H A Dfutex.c30 struct futex_q q;
192 static void io_futex_wakev_fn(struct wake_q_head *wake_q, struct futex_q *q) in io_futex_wakev_fn()
241 static void io_futex_wake_fn(struct wake_q_head *wake_q, struct futex_q *q) in io_futex_wake_fn()