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.c10 void __init_waitqueue_head(struct wait_queue_head *wq_head, const char *name, struct lock_class_key *key) in __init_waitqueue_head()
19 void add_wait_queue(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry) in add_wait_queue()
30 void add_wait_queue_exclusive(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry) in add_wait_queue_exclusive()
41 void add_wait_queue_priority(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry) in add_wait_queue_priority()
52 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()
97 static int __wake_up_common(struct wait_queue_head *wq_head, unsigned int mode, in __wake_up_common()
125 static int __wake_up_common_lock(struct wait_queue_head *wq_head, unsigned int mode, in __wake_up_common_lock()
150 int __wake_up(struct wait_queue_head *wq_head, unsigned int mode, in __wake_up_on_current_cpu()
157 void __wake_up_on_current_cpu(struct wait_queue_head *wq_hea
[all...]
/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.rs67 // containing `cv.wait_queue_head` is invalidated. Since the destructor clears all
69 // `cv.wait_queue_head` remains valid for at least an rcu grace period after the removal
71 unsafe { bindings::poll_wait(file.as_ptr(), cv.wait_queue_head.get(), self.table) }
109 // SAFETY: The pointer points at a valid `wait_queue_head`.
110 unsafe { bindings::__wake_up_pollfree(self.inner.wait_queue_head.get()) };
173 // SAFETY: The pointer points at a valid `wait_queue_head`.
174 unsafe { bindings::__wake_up_pollfree((*ptr).inner.inner.wait_queue_head.get()) };
/linux/include/linux/
H A Dwait_bit.h26 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);
257 struct wait_queue_head *__wq_head = __var_waitqueue(var); \
H A Dio_uring_types.h157 struct wait_queue_head wait;
460 struct wait_queue_head cq_wait;
485 struct wait_queue_head sqo_sq_wait;
492 struct wait_queue_head poll_wq;
/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/btrfs/
H A Dmisc.h87 static inline void cond_wake_up(struct wait_queue_head *wq) in cond_wake_up()
97 static inline void cond_wake_up_nomb(struct wait_queue_head *wq) in cond_wake_up_nomb()
/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_healthmon.h46 struct wait_queue_head wait;
H A Dxfs_log_priv.h597 struct wait_queue_head *wq, in xlog_wait()
/linux/io_uring/
H A Dsqpoll.h14 struct wait_queue_head wait;
H A Dpoll.c174 struct wait_queue_head *head = smp_load_acquire(&poll->head); in io_poll_remove_entries()
463 struct wait_queue_head *head; in io_poll_double_prepare()
487 struct wait_queue_head *head, in __io_queue_proc()
541 static void io_poll_queue_proc(struct file *file, struct wait_queue_head *head, in io_poll_add_hash()
669 static void io_async_queue_proc(struct file *file, struct wait_queue_head *head, in io_req_alloc_apoll()
H A Dwaitid.c31 struct wait_queue_head *head;
116 struct wait_queue_head *head; in io_waitid_remove_wq()
H A Dmock_file.c26 struct wait_queue_head poll_wq;
H A Dio_uring.h454 static inline void __io_wq_wake(struct wait_queue_head *wq) in __io_sqring_full()
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_sched.h111 struct wait_queue_head wq;
/linux/arch/powerpc/platforms/pseries/
H A Drtas-work-area.c44 struct wait_queue_head wqh;
/linux/drivers/nfc/
H A Dvirtual_ncidev.c28 struct wait_queue_head wq;
/linux/drivers/accel/amdxdna/
H A Daie2_pci.h114 struct wait_queue_head job_free_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.c514 struct wait_queue_head *inode_bit_waitqueue(struct wait_bit_queue_entry *wqe, in inode_bit_waitqueue()
528 struct wait_queue_head *wq_head; in wait_on_new_inode()
606 struct wait_queue_head *wq_head; in inode_wait_for_lru_isolating()
2616 struct wait_queue_head *wq_head; in __wait_on_freeing_inode()
H A Dfs-writeback.c1643 struct wait_queue_head *wq_head; in inode_wait_for_writeback()
1672 struct wait_queue_head *wq_head; in inode_sleep_on_writeback()
/linux/drivers/dma/idxd/
H A Didxd.h199 struct wait_queue_head err_queue;
/linux/drivers/i2c/busses/
H A Di2c-nomadik.c212 struct wait_queue_head xfer_wq;

12