Home
last modified time | relevance | path

Searched refs:wait_queue_entry (Results 1 – 21 of 21) sorted by relevance

/linux/include/linux/
H A Dwait.h13 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 Dsbitmap.h590 struct wait_queue_entry wait;
/linux/kernel/sched/
H A Dwait.c18 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 Dwait_bit.c24 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 Dpoll.h18 struct wait_queue_entry wait;
H A Dpoll.c56 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 Dwaitid.c236 static int io_waitid_wait(struct wait_queue_entry *wait, unsigned mode, in io_waitid_wait()
H A Dio-wq.c128 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 Drw.c755 static int io_async_buf_func(struct wait_queue_entry *wait, unsigned mode, in io_async_buf_func()
H A Dio_uring.c2455 static int io_wake_function(struct wait_queue_entry *curr, unsigned int mode, in io_wake_function()
/linux/block/
H A Dblk-rq-qos.c198 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 Dcondvar.rs120 let wait = Opaque::<bindings::wait_queue_entry>::uninit(); in wait_internal()
/linux/fs/afs/
H A Dvl_probe.c231 struct wait_queue_entry *waits; in afs_wait_for_vl_probes()
H A Dfs_probe.c499 struct wait_queue_entry wait; in afs_wait_for_one_fs_probe()
H A Dinternal.h825 struct wait_queue_entry probe_waiter;
/linux/drivers/gpu/drm/i915/
H A Di915_sw_fence.c26 BITS_PER_TYPE(typeof_member(struct wait_queue_entry, flags))
/linux/fs/
H A Daio.c187 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 Dn_tty.c2138 struct wait_queue_entry *wait, long *timeout) in n_tty_wait_for_input()
/linux/net/vmw_vsock/
H A Daf_vsock.c2197 struct wait_queue_entry *wait, in vsock_connectible_wait_data()
/linux/drivers/media/dvb-core/
H A Ddvb_frontend.c296 struct wait_queue_entry wait; in dvb_frontend_get_event()
/linux/mm/
H A Dfilemap.c1232 struct wait_queue_entry *wait) in folio_trylock_flag()