Home
last modified time | relevance | path

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

/Linux-v5.10/include/linux/
Dwait.h14 typedef struct wait_queue_entry wait_queue_entry_t;
16 typedef int (*wait_queue_func_t)(struct wait_queue_entry *wq_entry, unsigned mode, int flags, void …
17 int default_wake_function(struct wait_queue_entry *wq_entry, unsigned mode, int flags, void *key);
29 struct wait_queue_entry { struct
54 struct wait_queue_entry name = __WAITQUEUE_INITIALIZER(name, tsk) argument
81 static inline void init_waitqueue_entry(struct wait_queue_entry *wq_entry, struct task_struct *p) in init_waitqueue_entry()
89 init_waitqueue_func_entry(struct wait_queue_entry *wq_entry, wait_queue_func_t func) in init_waitqueue_func_entry()
165 extern void add_wait_queue(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry);
166 extern void add_wait_queue_exclusive(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_e…
167 extern void remove_wait_queue(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry);
[all …]
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);
Dsbitmap.h544 struct wait_queue_entry wait;
/Linux-v5.10/kernel/sched/
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 remove_wait_queue(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry) in remove_wait_queue()
239 prepare_to_wait(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, int state) in prepare_to_wait()
253 prepare_to_wait_exclusive(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, int s… in prepare_to_wait_exclusive()
266 void init_wait_entry(struct wait_queue_entry *wq_entry, int flags) in init_wait_entry()
275 long prepare_to_wait_event(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, int … in prepare_to_wait_event()
361 void finish_wait(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry) in finish_wait()
387 int autoremove_wake_function(struct wait_queue_entry *wq_entry, unsigned mode, int sync, void *key) in autoremove_wake_function()
423 long wait_woken(struct wait_queue_entry *wq_entry, unsigned mode, long timeout) in wait_woken()
[all …]
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-v5.10/block/
Dblk-rq-qos.c204 struct wait_queue_entry wq;
212 static int rq_qos_wake_function(struct wait_queue_entry *curr, in rq_qos_wake_function()
Dblk-iocost.c566 struct wait_queue_entry wait;
1374 static int iocg_wake_fn(struct wait_queue_entry *wq_entry, unsigned mode, in iocg_wake_fn()
/Linux-v5.10/kernel/locking/
Dpercpu-rwsem.c117 static int percpu_rwsem_wake_function(struct wait_queue_entry *wq_entry, in percpu_rwsem_wake_function()
/Linux-v5.10/fs/afs/
Dfs_probe.c230 struct wait_queue_entry *waits; in afs_wait_for_fs_probes()
432 struct wait_queue_entry wait; in afs_wait_for_one_fs_probe()
Dvl_probe.c213 struct wait_queue_entry *waits; in afs_wait_for_vl_probes()
/Linux-v5.10/fs/
Dio_uring.c313 struct wait_queue_entry sqo_wait_entry;
405 struct wait_queue_entry wait;
3287 static int io_async_buf_func(struct wait_queue_entry *wait, unsigned mode, in io_async_buf_func()
4988 static int io_poll_double_wake(struct wait_queue_entry *wait, unsigned mode, in io_poll_double_wake()
5110 static int io_async_wake(struct wait_queue_entry *wait, unsigned mode, int sync, in io_async_wake()
5357 static int io_poll_wake(struct wait_queue_entry *wait, unsigned mode, int sync, in io_poll_wake()
6636 static int io_sq_wake_function(struct wait_queue_entry *wqe, unsigned mode, in io_sq_wake_function()
6827 struct wait_queue_entry wq;
6846 static int io_wake_function(struct wait_queue_entry *curr, unsigned int mode, in io_wake_function()
Daio.c187 struct wait_queue_entry wait;
1673 static int aio_poll_wake(struct wait_queue_entry *wait, unsigned mode, int sync, in aio_poll_wake()
/Linux-v5.10/drivers/gpu/drm/i915/
Di915_active.c679 struct wait_queue_entry base;
/Linux-v5.10/mm/
Dfilemap.c1177 struct wait_queue_entry *wait) in trylock_page_bit_common()
/Linux-v5.10/drivers/gpu/drm/i915/display/
Dintel_display.c15506 struct wait_queue_entry wait_fence, wait_reset; in intel_atomic_commit_fence_wait()
15864 struct wait_queue_entry wait;
15870 static int do_rps_boost(struct wait_queue_entry *_wait, in do_rps_boost()