| /linux/include/linux/ |
| H A D | wait.h | 13 typedef struct wait_queue_entry wait_queue_entry_t; 15 typedef int (*wait_queue_func_t)(struct wait_queue_entry *wq_entry, unsigned mode, int flags, void … 16 int default_wake_function(struct wait_queue_entry *wq_entry, unsigned mode, int flags, void *key); 28 struct wait_queue_entry { struct 53 struct wait_queue_entry name = __WAITQUEUE_INITIALIZER(name, tsk) argument 80 static inline void init_waitqueue_entry(struct wait_queue_entry *wq_entry, struct task_struct *p) in init_waitqueue_entry() 88 init_waitqueue_func_entry(struct wait_queue_entry *wq_entry, wait_queue_func_t func) in init_waitqueue_func_entry() 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… 166 extern void add_wait_queue_priority(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_en… [all …]
|
| H A D | sbitmap.h | 590 struct wait_queue_entry wait;
|
| /linux/kernel/sched/ |
| H A D | wait.c | 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() 52 struct wait_queue_entry *wq_entry) 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() 248 prepare_to_wait(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, int state) in prepare_to_wait() 263 prepare_to_wait_exclusive(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, int s… in prepare_to_wait_exclusive() 280 void init_wait_entry(struct wait_queue_entry *wq_entry, int flags) in init_wait_entry() 289 long prepare_to_wait_event(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, int … in prepare_to_wait_event() 375 void finish_wait(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry) in finish_wait() [all …]
|
| H A D | wait_bit.c | 24 int wake_bit_function(struct wait_queue_entry *wq_entry, unsigned mode, int sync, void *arg) in wake_bit_function() 171 var_wake_function(struct wait_queue_entry *wq_entry, unsigned int mode, in var_wake_function()
|
| /linux/io_uring/ |
| H A D | poll.h | 18 struct wait_queue_entry wait;
|
| H A D | poll.c | 56 static int io_poll_wake(struct wait_queue_entry *wait, unsigned mode, int sync, 59 static inline struct io_kiocb *wqe_to_req(struct wait_queue_entry *wqe) in wqe_to_req() 66 static inline bool wqe_is_double(struct wait_queue_entry *wqe) in wqe_is_double() 393 static int io_poll_wake(struct wait_queue_entry *wait, unsigned mode, int sync, in io_poll_wake()
|
| H A D | waitid.c | 236 static int io_waitid_wait(struct wait_queue_entry *wait, unsigned mode, in io_waitid_wait()
|
| H A D | io-wq.c | 128 struct wait_queue_entry wait; 1210 static int io_wq_hash_wake(struct wait_queue_entry *wait, unsigned mode, in io_wq_hash_wake()
|
| H A D | rw.c | 755 static int io_async_buf_func(struct wait_queue_entry *wait, unsigned mode, in io_async_buf_func()
|
| H A D | io_uring.c | 2455 static int io_wake_function(struct wait_queue_entry *curr, unsigned int mode, in io_wake_function()
|
| /linux/block/ |
| H A D | blk-rq-qos.c | 198 struct wait_queue_entry wq; 205 static int rq_qos_wake_function(struct wait_queue_entry *curr, in rq_qos_wake_function()
|
| /linux/rust/kernel/sync/ |
| H A D | condvar.rs | 120 let wait = Opaque::<bindings::wait_queue_entry>::uninit(); in wait_internal()
|
| /linux/fs/afs/ |
| H A D | vl_probe.c | 231 struct wait_queue_entry *waits; in afs_wait_for_vl_probes()
|
| H A D | fs_probe.c | 499 struct wait_queue_entry wait; in afs_wait_for_one_fs_probe()
|
| H A D | internal.h | 825 struct wait_queue_entry probe_waiter;
|
| /linux/drivers/gpu/drm/i915/ |
| H A D | i915_sw_fence.c | 26 BITS_PER_TYPE(typeof_member(struct wait_queue_entry, flags))
|
| /linux/fs/ |
| H A D | aio.c | 187 struct wait_queue_entry wait; 1114 struct wait_queue_entry w; 1787 static int aio_poll_wake(struct wait_queue_entry *wait, unsigned mode, int sync, in aio_poll_wake()
|
| /linux/drivers/tty/ |
| H A D | n_tty.c | 2138 struct wait_queue_entry *wait, long *timeout) in n_tty_wait_for_input()
|
| /linux/net/vmw_vsock/ |
| H A D | af_vsock.c | 2197 struct wait_queue_entry *wait, in vsock_connectible_wait_data()
|
| /linux/drivers/media/dvb-core/ |
| H A D | dvb_frontend.c | 296 struct wait_queue_entry wait; in dvb_frontend_get_event()
|
| /linux/mm/ |
| H A D | filemap.c | 1232 struct wait_queue_entry *wait) in folio_trylock_flag()
|