Home
last modified time | relevance | path

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

12

/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 Dwait_bit.h18 struct wait_queue_entry wq_entry;
36 int wake_bit_function(struct wait_queue_entry *wq_entry, unsigned mode, int sync, void *key);
H A Dsbitmap.h605 struct wait_queue_entry wait;
/linux/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()
28 void add_wait_queue_exclusive(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry) in add_wait_queue_exclusive()
39 void add_wait_queue_priority(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry) in add_wait_queue_priority()
50 void remove_wait_queue(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry) in remove_wait_queue()
229 prepare_to_wait(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, int state) in prepare_to_wait()
244 prepare_to_wait_exclusive(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, int s… in prepare_to_wait_exclusive()
261 void init_wait_entry(struct wait_queue_entry *wq_entry, int flags) in init_wait_entry()
270 long prepare_to_wait_event(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, int … in prepare_to_wait_event()
356 void finish_wait(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry) in finish_wait()
382 int autoremove_wake_function(struct wait_queue_entry *wq_entry, unsigned mode, int sync, void *key) in autoremove_wake_function()
[all …]
H A Dwait_bit.c21 int wake_bit_function(struct wait_queue_entry *wq_entry, unsigned mode, int sync, void *arg) in wake_bit_function()
160 var_wake_function(struct wait_queue_entry *wq_entry, unsigned int mode, in var_wake_function()
/linux/drivers/gpu/drm/i915/display/
H A Dintel_display_rps.c15 struct wait_queue_entry wait;
21 static int do_rps_boost(struct wait_queue_entry *_wait, in do_rps_boost()
/linux/rust/helpers/
H A Dwait.c6 void rust_helper_init_wait(struct wait_queue_entry *wq_entry) in rust_helper_init_wait()
/linux/io_uring/
H A Dpoll.h16 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()
430 static int io_poll_wake(struct wait_queue_entry *wait, unsigned mode, int sync, in io_poll_wake()
H A Dwaitid.c263 static int io_waitid_wait(struct wait_queue_entry *wait, unsigned mode, in io_waitid_wait()
H A Dio_uring.h39 struct wait_queue_entry wq;
H A Dio-wq.c121 struct wait_queue_entry wait;
1129 static int io_wq_hash_wake(struct wait_queue_entry *wait, unsigned mode, in io_wq_hash_wake()
H A Drw.c692 static int io_async_buf_func(struct wait_queue_entry *wait, unsigned mode, in io_async_buf_func()
/linux/block/
H A Dblk-rq-qos.c198 struct wait_queue_entry wq;
206 static int rq_qos_wake_function(struct wait_queue_entry *curr, in rq_qos_wake_function()
H A Dblk-iocost.c566 struct wait_queue_entry wait;
1461 static int iocg_wake_fn(struct wait_queue_entry *wq_entry, unsigned mode, in iocg_wake_fn()
/linux/rust/kernel/sync/
H A Dcondvar.rs122 let wait = Opaque::<bindings::wait_queue_entry>::uninit(); in wait_internal()
/linux/kernel/locking/
H A Dpercpu-rwsem.c119 static int percpu_rwsem_wake_function(struct wait_queue_entry *wq_entry, in percpu_rwsem_wake_function()
/linux/fs/afs/
H A Dvl_probe.c231 struct wait_queue_entry *waits; in afs_wait_for_vl_probes()
H A Dfs_probe.c487 struct wait_queue_entry wait; in afs_wait_for_one_fs_probe()
H A Dinternal.h832 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))
H A Di915_active.c650 struct wait_queue_entry base;
/linux/fs/
H A Daio.c187 struct wait_queue_entry wait;
1114 struct wait_queue_entry w;
1786 static int aio_poll_wake(struct wait_queue_entry *wait, unsigned mode, int sync, in aio_poll_wake()
/linux/net/vmw_vsock/
H A Daf_vsock.c2036 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()

12