Home
last modified time | relevance | path

Searched refs:wait_queue_head (Results 1 – 25 of 36) sorted by relevance

12

/linux/kernel/sched/
H A Dwait.c9 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 Dwait_bit.c44 __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 Dwait.h35 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 Dio_uring_types.h120 struct wait_queue_head wait;
379 struct wait_queue_head cq_wait;
404 struct wait_queue_head sqo_sq_wait;
411 struct wait_queue_head poll_wq;
/linux/rust/kernel/sync/
H A Dcondvar.rs84 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 Dpoll.rs61 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 Dssh_packet_layer.h97 struct wait_queue_head packet_wq;
102 struct wait_queue_head wq;
/linux/fs/xfs/
H A Dxfs_drain.h23 struct wait_queue_head dr_waiters;
H A Dxfs_pwork.h21 struct wait_queue_head poll_wait;
H A Dxfs_drain.c60 static inline bool has_waiters(struct wait_queue_head *wq_head) in has_waiters()
/linux/io_uring/
H A Dsqpoll.h12 struct wait_queue_head wait;
H A Dpoll.h15 struct wait_queue_head *head;
H A Dpoll.c162 struct wait_queue_head *head = smp_load_acquire(&poll->head); in io_poll_remove_entry()
432 struct wait_queue_head *head; in io_poll_double_prepare()
456 struct wait_queue_head *head, in __io_queue_proc()
512 static void io_poll_queue_proc(struct file *file, struct wait_queue_head *head, in io_poll_queue_proc()
628 static void io_async_queue_proc(struct file *file, struct wait_queue_head *head, in io_async_queue_proc()
H A Dio-wq.h27 struct wait_queue_head wait;
H A Dwaitid.c30 struct wait_queue_head *head;
115 struct wait_queue_head *head; in io_waitid_remove_wq()
/linux/fs/fuse/
H A Dfuse_dev_i.h15 extern struct wait_queue_head fuse_dev_waitq;
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_sched.h110 struct wait_queue_head wq;
/linux/arch/powerpc/platforms/pseries/
H A Drtas-work-area.c44 struct wait_queue_head wqh;
/linux/drivers/md/dm-vdo/indexer/
H A Dfunnel-requestqueue.c51 struct wait_queue_head wait_head;
/linux/include/net/
H A Dtls.h143 struct wait_queue_head wq;
/linux/sound/soc/atmel/
H A Dmchp-i2s-mcc.c246 struct wait_queue_head wq_txrdy;
247 struct wait_queue_head wq_rxrdy;
/linux/fs/
H A Dinode.c533 struct wait_queue_head *inode_bit_waitqueue(struct wait_bit_queue_entry *wqe, in inode_bit_waitqueue()
547 struct wait_queue_head *wq_head; in wait_on_new_inode()
626 struct wait_queue_head *wq_head; in inode_wait_for_lru_isolating()
2510 struct wait_queue_head *wq_head; in __wait_on_freeing_inode()
/linux/drivers/dma/idxd/
H A Didxd.h199 struct wait_queue_head err_queue;
/linux/drivers/iommu/iommufd/
H A Diommufd_private.h559 struct wait_queue_head wait_queue;
/linux/drivers/gpu/drm/bridge/
H A Dlontium-lt9611uxc.c44 struct wait_queue_head wq;

12