Home
last modified time | relevance | path

Searched refs:wake_q_head (Results 1 – 16 of 16) sorted by relevance

/linux-6.15/include/linux/sched/
H A Dwake_q.h38 struct wake_q_head { struct
49 struct wake_q_head name = WAKE_Q_HEAD_INITIALIZER(name) argument
51 static inline void wake_q_init(struct wake_q_head *head) in wake_q_init()
57 static inline bool wake_q_empty(struct wake_q_head *head) in wake_q_empty()
62 extern void wake_q_add(struct wake_q_head *head, struct task_struct *task);
63 extern void wake_q_add_safe(struct wake_q_head *head, struct task_struct *task);
64 extern void wake_up_q(struct wake_q_head *head);
68 void raw_spin_unlock_wake(raw_spinlock_t *lock, struct wake_q_head *wake_q) in raw_spin_unlock_wake()
79 void raw_spin_unlock_irq_wake(raw_spinlock_t *lock, struct wake_q_head *wake_q) in raw_spin_unlock_irq_wake()
91 struct wake_q_head *wake_q) in raw_spin_unlock_irqrestore_wake()
/linux-6.15/kernel/locking/
H A Dww_mutex.h278 struct ww_acquire_ctx *ww_ctx, struct wake_q_head *wake_q) in __ww_mutex_die()
303 struct wake_q_head *wake_q) in __ww_mutex_wound()
357 struct wake_q_head *wake_q) in __ww_mutex_check_waiters()
500 struct wake_q_head *wake_q) in __ww_mutex_add_waiter()
H A Drtmutex_common.h68 struct wake_q_head head;
87 struct wake_q_head *);
H A Drtmutex.c39 struct wake_q_head *wake_q) in __ww_mutex_add_waiter()
46 struct wake_q_head *wake_q) in __ww_mutex_check_waiters()
1208 struct wake_q_head *wake_q) in task_blocks_on_rt_mutex()
1609 struct wake_q_head *wake_q) in rt_mutex_slowlock_block()
1696 struct wake_q_head *wake_q) in __rt_mutex_slowlock()
1752 struct wake_q_head *wake_q) in __rt_mutex_slowlock_locked()
1830 struct wake_q_head *wake_q) in rtlock_slowlock_locked()
H A Dsemaphore.c42 static noinline void __up(struct semaphore *sem, struct wake_q_head *wake_q);
277 struct wake_q_head *wake_q) in __up()
H A Dspinlock_rt.c166 struct wake_q_head *wake_q) in rwbase_rtmutex_slowlock_locked()
H A Drwsem.c411 struct wake_q_head *wake_q) in rwsem_mark_wake()
576 struct wake_q_head *wake_q) in rwsem_del_wake_waiter()
974 struct wake_q_head *wake_q) in rwsem_cond_wake_waiter()
H A Drtmutex_api.c296 struct wake_q_head *wake_q) in __rt_mutex_start_proxy_lock()
/linux-6.15/kernel/futex/
H A Dfutex.h144 typedef void (futex_wake_fn)(struct wake_q_head *wake_q, struct futex_q *q);
226 extern void futex_wake_mark(struct wake_q_head *wake_q, struct futex_q *q);
H A Dwaitwake.c134 void futex_wake_mark(struct wake_q_head *wake_q, struct futex_q *q) in futex_wake_mark()
/linux-6.15/io_uring/
H A Dfutex.c154 static void io_futex_wakev_fn(struct wake_q_head *wake_q, struct futex_q *q) in io_futex_wakev_fn()
203 static void io_futex_wake_fn(struct wake_q_head *wake_q, struct futex_q *q) in io_futex_wake_fn()
/linux-6.15/ipc/
H A Dsem.c787 struct wake_q_head *wake_q) in wake_up_sem_queue_prepare()
855 struct wake_q_head *wake_q) in wake_const_ops()
894 int nsops, struct wake_q_head *wake_q) in do_smart_wakeup_zero()
949 static int update_queue(struct sem_array *sma, int semnum, struct wake_q_head *wake_q) in update_queue()
1030 int otime, struct wake_q_head *wake_q) in do_smart_update()
H A Dmsg.c213 struct wake_q_head *wake_q, bool kill) in ss_wakeup()
250 struct wake_q_head *wake_q) in expunge_all()
817 struct wake_q_head *wake_q) in pipelined_send()
H A Dmqueue.c1018 static inline void __pipelined_op(struct wake_q_head *wake_q, in __pipelined_op()
1035 static inline void pipelined_send(struct wake_q_head *wake_q, in pipelined_send()
1046 static inline void pipelined_receive(struct wake_q_head *wake_q, in pipelined_receive()
/linux-6.15/kernel/
H A Dstop_machine.c86 struct wake_q_head *wakeq) in __cpu_stop_queue_work()
/linux-6.15/kernel/sched/
H A Dcore.c998 static bool __wake_q_add(struct wake_q_head *head, struct task_struct *task) in __wake_q_add()
1034 void wake_q_add(struct wake_q_head *head, struct task_struct *task) in wake_q_add()
1057 void wake_q_add_safe(struct wake_q_head *head, struct task_struct *task) in wake_q_add_safe()
1063 void wake_up_q(struct wake_q_head *head) in wake_up_q()