Home
last modified time | relevance | path

Searched refs:wait_queue_entry (Results 1 – 25 of 30) 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.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/drivers/gpu/drm/i915/display/
H A Dintel_display_rps.c19 struct wait_queue_entry wait;
25 static int do_rps_boost(struct wait_queue_entry *_wait, in do_rps_boost()
/linux/rust/helpers/
H A Dwait.c5 __rust_helper void rust_helper_init_wait(struct wait_queue_entry *wq_entry) in rust_helper_init_wait()
/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()
398 static int io_poll_wake(struct wait_queue_entry *wait, unsigned mode, int sync, in io_poll_wake()
H A Dwait.c17 static int io_wake_function(struct wait_queue_entry *curr, unsigned int mode, in io_wake_function()
H A Dwaitid.c236 static int io_waitid_wait(struct wait_queue_entry *wait, unsigned mode, in io_waitid_wait()
H A Dio_uring.h129 struct wait_queue_entry wq;
H A Dio-wq.c130 struct wait_queue_entry wait;
1231 static int io_wq_hash_wake(struct wait_queue_entry *wait, unsigned mode, in io_wq_hash_wake()
H A Drw.c763 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;
205 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;
1468 static int iocg_wake_fn(struct wait_queue_entry *wq_entry, unsigned mode, in iocg_wake_fn()
/linux/rust/kernel/sync/
H A Dcondvar.rs120 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.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))
H A Di915_active.c631 struct wait_queue_entry base;
/linux/fs/
H A Daio.c187 struct wait_queue_entry wait;
1113 struct wait_queue_entry w;
1786 static int aio_poll_wake(struct wait_queue_entry *wait, unsigned mode, int sync, in aio_poll_wake()
H A Deventpoll.c1882 static int ep_autoremove_wake_function(struct wait_queue_entry *wq_entry, in ep_autoremove_wake_function()

12