| /linux/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… 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 add_wait_queue_priority(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry) in add_wait_queue_priority() 51 int add_wait_queue_priority_exclusive(struct wait_queue_head *wq_head, in add_wait_queue_priority_exclusive() 69 void remove_wait_queue(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry) in remove_wait_queue() 92 static int __wake_up_common(struct wait_queue_head *wq_head, unsigned int mode, in __wake_up_common() 118 static int __wake_up_common_lock(struct wait_queue_head *wq_head, unsigned int mode, in __wake_up_common_lock() 143 int __wake_up(struct wait_queue_head *wq_head, unsigned int mode, in __wake_up() 150 void __wake_up_on_current_cpu(struct wait_queue_head *wq_head, unsigned int mode, void *key) in __wake_up_on_current_cpu() [all …]
|
| H A D | wait_bit.c | 44 __wait_on_bit(struct wait_queue_head *wq_head, struct wait_bit_queue_entry *wbq_entry, in __wait_on_bit() 64 struct wait_queue_head *wq_head = bit_waitqueue(word, bit); in out_of_line_wait_on_bit() 75 struct wait_queue_head *wq_head = bit_waitqueue(word, bit); in out_of_line_wait_on_bit_timeout() 85 __wait_on_bit_lock(struct wait_queue_head *wq_head, struct wait_bit_queue_entry *wbq_entry, in __wait_on_bit_lock() 117 struct wait_queue_head *wq_head = bit_waitqueue(word, bit); in out_of_line_wait_on_bit_lock() 124 void __wake_up_bit(struct wait_queue_head *wq_head, unsigned long *word, int bit) in __wake_up_bit()
|
| /linux/include/linux/ |
| H A D | wait.h | 35 struct wait_queue_head { struct 39 typedef struct wait_queue_head wait_queue_head_t; argument 60 struct wait_queue_head name = __WAIT_QUEUE_HEAD_INITIALIZER(name) 62 extern void __init_waitqueue_head(struct wait_queue_head *wq_head, const char *name, struct lock_cl… 75 struct wait_queue_head name = __WAIT_QUEUE_HEAD_INIT_ONSTACK(name) 125 static inline int waitqueue_active(struct wait_queue_head *wq_head) in waitqueue_active() 138 static inline bool wq_has_single_sleeper(struct wait_queue_head *wq_head) in wq_has_single_sleeper() 151 static inline bool wq_has_sleeper(struct wait_queue_head *wq_head) in wq_has_sleeper() 164 extern void add_wait_queue(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry); 165 extern void add_wait_queue_exclusive(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_e… [all …]
|
| H A D | wait_bit.h | 26 void __wake_up_bit(struct wait_queue_head *wq_head, unsigned long *word, int bit); 27 int __wait_on_bit(struct wait_queue_head *wq_head, struct wait_bit_queue_entry *wbq_entry, wait_bit… 28 int __wait_on_bit_lock(struct wait_queue_head *wq_head, struct wait_bit_queue_entry *wbq_entry, wai… 33 struct wait_queue_head *bit_waitqueue(unsigned long *word, int bit); 256 struct wait_queue_head *__wq_head = __var_waitqueue(var); \
|
| H A D | io_uring_types.h | 120 struct wait_queue_head wait; 397 struct wait_queue_head cq_wait; 422 struct wait_queue_head sqo_sq_wait; 429 struct wait_queue_head poll_wq;
|
| /linux/rust/kernel/sync/ |
| H A D | condvar.rs | 84 pub(crate) wait_queue_head: Opaque<bindings::wait_queue_head>, field 108 wait_queue_head <- Opaque::ffi_init(|slot| unsafe { in new() 127 bindings::prepare_to_wait_exclusive(self.wait_queue_head.get(), wait.get(), wait_state) in wait_internal() 134 unsafe { bindings::finish_wait(self.wait_queue_head.get(), wait.get()) }; in wait_internal() 206 self.wait_queue_head.get(), in notify() 222 unsafe { bindings::__wake_up_sync(self.wait_queue_head.get(), TASK_NORMAL) }; in notify_sync()
|
| H A D | poll.rs | 61 unsafe { bindings::poll_wait(file.as_ptr(), cv.wait_queue_head.get(), self.table) } in register_wait() 99 unsafe { bindings::__wake_up_pollfree(self.inner.wait_queue_head.get()) }; in drop()
|
| /linux/drivers/platform/surface/aggregator/ |
| H A D | ssh_packet_layer.h | 97 struct wait_queue_head packet_wq; 102 struct wait_queue_head wq;
|
| /linux/fs/btrfs/ |
| H A D | misc.h | 79 static inline void cond_wake_up(struct wait_queue_head *wq) in cond_wake_up() 89 static inline void cond_wake_up_nomb(struct wait_queue_head *wq) in cond_wake_up_nomb()
|
| /linux/fs/xfs/ |
| H A D | xfs_drain.h | 23 struct wait_queue_head dr_waiters;
|
| H A D | xfs_pwork.h | 21 struct wait_queue_head poll_wait;
|
| H A D | xfs_drain.c | 60 static inline bool has_waiters(struct wait_queue_head *wq_head) in has_waiters()
|
| H A D | xfs_healthmon.h | 47 struct wait_queue_head wait;
|
| H A D | xfs_dquot.h | 91 struct wait_queue_head q_pinwait;
|
| /linux/io_uring/ |
| H A D | poll.c | 162 struct wait_queue_head *head = smp_load_acquire(&poll->head); in io_poll_remove_entry() 437 struct wait_queue_head *head; in io_poll_double_prepare() 461 struct wait_queue_head *head, in __io_queue_proc() 517 static void io_poll_queue_proc(struct file *file, struct wait_queue_head *head, in io_poll_queue_proc() 633 static void io_async_queue_proc(struct file *file, struct wait_queue_head *head, in io_async_queue_proc()
|
| H A D | sqpoll.h | 12 struct wait_queue_head wait;
|
| H A D | poll.h | 15 struct wait_queue_head *head;
|
| H A D | io-wq.h | 28 struct wait_queue_head wait;
|
| H A D | waitid.c | 30 struct wait_queue_head *head; 115 struct wait_queue_head *head; in io_waitid_remove_wq()
|
| /linux/fs/fuse/ |
| H A D | fuse_dev_i.h | 15 extern struct wait_queue_head fuse_dev_waitq;
|
| /linux/drivers/gpu/drm/nouveau/ |
| H A D | nouveau_sched.h | 110 struct wait_queue_head wq;
|
| /linux/arch/powerpc/platforms/pseries/ |
| H A D | rtas-work-area.c | 44 struct wait_queue_head wqh;
|
| /linux/drivers/md/dm-vdo/indexer/ |
| H A D | funnel-requestqueue.c | 51 struct wait_queue_head wait_head;
|
| /linux/drivers/nfc/ |
| H A D | virtual_ncidev.c | 28 struct wait_queue_head wq;
|
| /linux/drivers/media/platform/ti/cal/ |
| H A D | cal.h | 131 struct wait_queue_head wait;
|