Home
last modified time | relevance | path

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

12

/linux-6.15/kernel/sched/
H A Dwait.c17 void add_wait_queue(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry) in add_wait_queue()
50 void remove_wait_queue(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry) in remove_wait_queue()
73 static int __wake_up_common(struct wait_queue_head *wq_head, unsigned int mode, in __wake_up_common()
99 static int __wake_up_common_lock(struct wait_queue_head *wq_head, unsigned int mode, in __wake_up_common_lock()
124 int __wake_up(struct wait_queue_head *wq_head, unsigned int mode, in __wake_up()
139 void __wake_up_locked(struct wait_queue_head *wq_head, unsigned int mode, int nr) in __wake_up_locked()
167 void __wake_up_sync_key(struct wait_queue_head *wq_head, unsigned int mode, in __wake_up_sync_key()
193 void __wake_up_locked_sync_key(struct wait_queue_head *wq_head, in __wake_up_locked_sync_key()
203 void __wake_up_sync(struct wait_queue_head *wq_head, unsigned int mode) in __wake_up_sync()
209 void __wake_up_pollfree(struct wait_queue_head *wq_head) in __wake_up_pollfree()
[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, unsigned long *word, int bit) in __wake_up_bit()
/linux-6.15/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)
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()
215 void __wake_up_locked(struct wait_queue_head *wq_head, unsigned int mode, int nr);
216 void __wake_up_sync(struct wait_queue_head *wq_head, unsigned int mode);
217 void __wake_up_pollfree(struct wait_queue_head *wq_head);
[all …]
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);
256 struct wait_queue_head *__wq_head = __var_waitqueue(var); \
H A Dio_uring_types.h102 struct wait_queue_head wait;
362 struct wait_queue_head cq_wait;
387 struct wait_queue_head sqo_sq_wait;
394 struct wait_queue_head poll_wq;
/linux-6.15/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()
221 unsafe { bindings::__wake_up_sync(self.wait_queue_head.get(), TASK_NORMAL) }; in notify_sync()
H A Dpoll.rs76 unsafe { qproc(file.as_ptr() as _, cv.wait_queue_head.get(), self.0.get()) }; in register_wait()
114 unsafe { bindings::__wake_up_pollfree(self.inner.wait_queue_head.get()) }; in drop()
/linux-6.15/drivers/platform/surface/aggregator/
H A Dssh_packet_layer.h97 struct wait_queue_head packet_wq;
102 struct wait_queue_head wq;
/linux-6.15/fs/btrfs/
H A Dmisc.h21 static inline void cond_wake_up(struct wait_queue_head *wq) in cond_wake_up()
31 static inline void cond_wake_up_nomb(struct wait_queue_head *wq) in cond_wake_up_nomb()
/linux-6.15/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()
H A Dxfs_dquot.h91 struct wait_queue_head q_pinwait;
H A Dxfs_log_priv.h579 struct wait_queue_head *wq, in xlog_wait()
/linux-6.15/io_uring/
H A Dsqpoll.h12 struct wait_queue_head wait;
H A Dpoll.h15 struct wait_queue_head *head;
H A Dpoll.c143 struct wait_queue_head *head = smp_load_acquire(&poll->head); in io_poll_remove_entry()
434 struct wait_queue_head *head; in io_poll_double_prepare()
458 struct wait_queue_head *head, in __io_queue_proc()
514 static void io_poll_queue_proc(struct file *file, struct wait_queue_head *head, in io_poll_queue_proc()
630 static void io_async_queue_proc(struct file *file, struct wait_queue_head *head, in io_async_queue_proc()
H A Dio-wq.h30 struct wait_queue_head wait;
/linux-6.15/drivers/gpu/drm/nouveau/
H A Dnouveau_sched.h110 struct wait_queue_head wq;
/linux-6.15/arch/powerpc/platforms/pseries/
H A Drtas-work-area.c44 struct wait_queue_head wqh;
/linux-6.15/drivers/md/dm-vdo/indexer/
H A Dfunnel-requestqueue.c51 struct wait_queue_head wait_head;
/linux-6.15/drivers/nfc/
H A Dvirtual_ncidev.c28 struct wait_queue_head wq;
/linux-6.15/drivers/media/platform/ti/cal/
H A Dcal.h131 struct wait_queue_head wait;
/linux-6.15/drivers/accel/amdxdna/
H A Daie2_pci.h140 struct wait_queue_head job_free_wq;
/linux-6.15/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc.h317 struct wait_queue_head wq;

12