Home
last modified time | relevance | path

Searched refs:wait_queue_head (Results 1 - 25 of 60) sorted by relevance

123

/kernel/linux/linux-6.6/kernel/sched/
H A Dwait.c8 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 Dwait_bit.c41 __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 Dwait.c9 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 Dwait_bit.c41 __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 Dwait.h37 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 Dwait_bit.h26 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 Dio_uring_types.h60 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 Dwait.h36 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 Dwait_bit.h26 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 Dmisc.h13 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 Dmisc.h19 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 Dssh_packet_layer.h97 struct wait_queue_head packet_wq;
102 struct wait_queue_head wq;
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_debugfs.h36 struct wait_queue_head gpu_hang;
/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_pwork.h21 struct wait_queue_head poll_wait;
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_pwork.h21 struct wait_queue_head poll_wait;
H A Dxfs_drain.h22 struct wait_queue_head dr_waiters;
H A Dxfs_drain.c60 static inline bool has_waiters(struct wait_queue_head *wq_head) in has_waiters()
/kernel/linux/linux-6.6/io_uring/
H A Dpoll.h13 struct wait_queue_head *head;
H A Dsqpoll.h12 struct wait_queue_head wait;
H A Dio-wq.h30 struct wait_queue_head wait;
H A Dpoll.c182 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 Dcondvar.rs5 //! 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 Dnouveau_sched.h112 struct wait_queue_head wq;
/kernel/liteos_a/net/telnet/src/
H A Dtelnet_dev.c140 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 Dio-wq.h107 struct wait_queue_head wait;

Completed in 13 milliseconds

123