/kernel/linux/linux-6.6/kernel/sched/ |
H A D | wait.c | 8 void __init_waitqueue_head(struct wait_queue_head *wq_head, const char *name, struct lock_class_key *key) in __init_waitqueue_head() 17 void add_wait_queue(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry) in add_wait_queue() 28 void add_wait_queue_exclusive(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry) in add_wait_queue_exclusive() 39 void add_wait_queue_priority(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry) in add_wait_queue_priority() 50 void remove_wait_queue(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry) in remove_wait_queue() 80 static int __wake_up_common(struct wait_queue_head *wq_head, unsigned int mode, in __wake_up_common() 124 static int __wake_up_common_lock(struct wait_queue_head *wq_head, unsigned int mode, in __wake_up_common_lock() 157 int __wake_up(struct wait_queue_head *wq_head, unsigned int mode, in __wake_up() 164 void __wake_up_on_current_cpu(struct wait_queue_head *wq_head, unsigned int mode, void *key) in __wake_up_on_current_cpu() 172 void __wake_up_locked(struct wait_queue_head *wq_hea [all...] |
H A D | wait_bit.c | 41 __wait_on_bit(struct wait_queue_head *wq_head, struct wait_bit_queue_entry *wbq_entry, in __wait_on_bit() 61 struct wait_queue_head *wq_head = bit_waitqueue(word, bit); in out_of_line_wait_on_bit() 72 struct wait_queue_head *wq_head = bit_waitqueue(word, bit); in out_of_line_wait_on_bit_timeout() 82 __wait_on_bit_lock(struct wait_queue_head *wq_head, struct wait_bit_queue_entry *wbq_entry, in __wait_on_bit_lock() 114 struct wait_queue_head *wq_head = bit_waitqueue(word, bit); in out_of_line_wait_on_bit_lock() 121 void __wake_up_bit(struct wait_queue_head *wq_head, void *word, int bit) in __wake_up_bit()
|
/kernel/linux/linux-5.10/kernel/sched/ |
H A D | wait.c | 9 void __init_waitqueue_head(struct wait_queue_head *wq_head, const char *name, struct lock_class_key *key) in __init_waitqueue_head() 18 void add_wait_queue(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry) in add_wait_queue() 29 void add_wait_queue_exclusive(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry) in add_wait_queue_exclusive() 40 void remove_wait_queue(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry) in remove_wait_queue() 66 static int __wake_up_common(struct wait_queue_head *wq_head, unsigned int mode, in __wake_up_common() 110 static void __wake_up_common_lock(struct wait_queue_head *wq_head, unsigned int mode, in __wake_up_common_lock() 139 void __wake_up(struct wait_queue_head *wq_head, unsigned int mode, in __wake_up() 149 void __wake_up_locked(struct wait_queue_head *wq_head, unsigned int mode, int nr) in __wake_up_locked() 155 void __wake_up_locked_key(struct wait_queue_head *wq_head, unsigned int mode, void *key) in __wake_up_locked_key() 161 void __wake_up_locked_key_bookmark(struct wait_queue_head *wq_hea [all...] |
H A D | wait_bit.c | 41 __wait_on_bit(struct wait_queue_head *wq_head, struct wait_bit_queue_entry *wbq_entry, in __wait_on_bit() 61 struct wait_queue_head *wq_head = bit_waitqueue(word, bit); in out_of_line_wait_on_bit() 72 struct wait_queue_head *wq_head = bit_waitqueue(word, bit); in out_of_line_wait_on_bit_timeout() 82 __wait_on_bit_lock(struct wait_queue_head *wq_head, struct wait_bit_queue_entry *wbq_entry, in __wait_on_bit_lock() 114 struct wait_queue_head *wq_head = bit_waitqueue(word, bit); in out_of_line_wait_on_bit_lock() 121 void __wake_up_bit(struct wait_queue_head *wq_head, void *word, int bit) in __wake_up_bit()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | wait.h | 37 struct wait_queue_head { struct 41 typedef struct wait_queue_head wait_queue_head_t; 62 struct wait_queue_head name = __WAIT_QUEUE_HEAD_INITIALIZER(name) 64 extern void __init_waitqueue_head(struct wait_queue_head *wq_head, const char *name, struct lock_class_key *); 77 struct wait_queue_head name = __WAIT_QUEUE_HEAD_INIT_ONSTACK(name) 106 * Use either while holding wait_queue_head::lock or when used for wakeups 127 static inline int waitqueue_active(struct wait_queue_head *wq_head) in waitqueue_active() 140 static inline bool wq_has_single_sleeper(struct wait_queue_head *wq_head) in wq_has_single_sleeper() 153 static inline bool wq_has_sleeper(struct wait_queue_head *wq_head) in wq_has_sleeper() 166 extern void add_wait_queue(struct wait_queue_head *wq_hea [all...] |
H A D | wait_bit.h | 26 void __wake_up_bit(struct wait_queue_head *wq_head, void *word, int bit); 27 int __wait_on_bit(struct wait_queue_head *wq_head, struct wait_bit_queue_entry *wbq_entry, wait_bit_action_f *action, unsigned int mode); 28 int __wait_on_bit_lock(struct wait_queue_head *wq_head, struct wait_bit_queue_entry *wbq_entry, wait_bit_action_f *action, unsigned int mode); 33 struct wait_queue_head *bit_waitqueue(void *word, int bit); 245 struct wait_queue_head *__wq_head = __var_waitqueue(var); \
|
H A D | io_uring_types.h | 60 struct wait_queue_head wait; 293 struct wait_queue_head cq_wait; 319 struct wait_queue_head sqo_sq_wait; 334 struct wait_queue_head poll_wq; 345 struct wait_queue_head rsrc_quiesce_wq;
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | wait.h | 36 struct wait_queue_head { struct 40 typedef struct wait_queue_head wait_queue_head_t; 61 struct wait_queue_head name = __WAIT_QUEUE_HEAD_INITIALIZER(name) 63 extern void __init_waitqueue_head(struct wait_queue_head *wq_head, const char *name, struct lock_class_key *); 76 struct wait_queue_head name = __WAIT_QUEUE_HEAD_INIT_ONSTACK(name) 105 * Use either while holding wait_queue_head::lock or when used for wakeups 126 static inline int waitqueue_active(struct wait_queue_head *wq_head) in waitqueue_active() 139 static inline bool wq_has_single_sleeper(struct wait_queue_head *wq_head) in wq_has_single_sleeper() 152 static inline bool wq_has_sleeper(struct wait_queue_head *wq_head) in wq_has_sleeper() 165 extern void add_wait_queue(struct wait_queue_head *wq_hea [all...] |
H A D | wait_bit.h | 26 void __wake_up_bit(struct wait_queue_head *wq_head, void *word, int bit); 27 int __wait_on_bit(struct wait_queue_head *wq_head, struct wait_bit_queue_entry *wbq_entry, wait_bit_action_f *action, unsigned int mode); 28 int __wait_on_bit_lock(struct wait_queue_head *wq_head, struct wait_bit_queue_entry *wbq_entry, wait_bit_action_f *action, unsigned int mode); 33 struct wait_queue_head *bit_waitqueue(void *word, int bit); 245 struct wait_queue_head *__wq_head = __var_waitqueue(var); \
|
/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | misc.h | 13 static inline void cond_wake_up(struct wait_queue_head *wq) in cond_wake_up() 23 static inline void cond_wake_up_nomb(struct wait_queue_head *wq) in cond_wake_up_nomb()
|
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | misc.h | 19 static inline void cond_wake_up(struct wait_queue_head *wq) in cond_wake_up() 29 static inline void cond_wake_up_nomb(struct wait_queue_head *wq) in cond_wake_up_nomb()
|
/kernel/linux/linux-6.6/drivers/platform/surface/aggregator/ |
H A D | ssh_packet_layer.h | 97 struct wait_queue_head packet_wq; 102 struct wait_queue_head wq;
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_debugfs.h | 36 struct wait_queue_head gpu_hang;
|
/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_pwork.h | 21 struct wait_queue_head poll_wait;
|
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_pwork.h | 21 struct wait_queue_head poll_wait;
|
H A D | xfs_drain.h | 22 struct wait_queue_head dr_waiters;
|
H A D | xfs_drain.c | 60 static inline bool has_waiters(struct wait_queue_head *wq_head) in has_waiters()
|
/kernel/linux/linux-6.6/io_uring/ |
H A D | poll.h | 13 struct wait_queue_head *head;
|
H A D | sqpoll.h | 12 struct wait_queue_head wait;
|
H A D | io-wq.h | 30 struct wait_queue_head wait;
|
H A D | poll.c | 182 struct wait_queue_head *head = smp_load_acquire(&poll->head); in io_poll_remove_entry() 463 struct wait_queue_head *head; in io_poll_double_prepare() 487 struct wait_queue_head *head, in __io_queue_proc() 542 static void io_poll_queue_proc(struct file *file, struct wait_queue_head *head, in io_poll_queue_proc() 653 static void io_async_queue_proc(struct file *file, struct wait_queue_head *head, in io_async_queue_proc()
|
/kernel/linux/linux-6.6/rust/kernel/sync/ |
H A D | condvar.rs | 5 //! This module allows Rust code to use the kernel's [`struct wait_queue_head`] as a condition 23 /// Exposes the kernel's [`struct wait_queue_head`] as a condition variable. It allows the caller to 72 /// [`struct wait_queue_head`]: ../../../include/linux/wait.h 76 pub(crate) wait_list: Opaque<bindings::wait_queue_head>, 84 // SAFETY: `CondVar` only uses a `struct wait_queue_head`, which is safe to use on any thread. 88 // SAFETY: `CondVar` only uses a `struct wait_queue_head`, which is safe to use on multiple threads
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/ |
H A D | nouveau_sched.h | 112 struct wait_queue_head wq;
|
/kernel/liteos_a/net/telnet/src/ |
H A D | telnet_dev.c | 140 struct wait_queue_head *wait = NULL;
in TelnetOpen() 174 struct wait_queue_head *wait = NULL;
in TelnetClose()
|
/kernel/linux/linux-5.10/io_uring/ |
H A D | io-wq.h | 107 struct wait_queue_head wait;
|