Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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;
/kernel/linux/linux-5.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()
246 prepare_to_wait(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, int state) in prepare_to_wait()
261 prepare_to_wait_exclusive(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, int s… in prepare_to_wait_exclusive()
278 void init_wait_entry(struct wait_queue_entry *wq_entry, int flags) in init_wait_entry()
287 long prepare_to_wait_event(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, int … in prepare_to_wait_event()
373 void finish_wait(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry) in finish_wait()
399 int autoremove_wake_function(struct wait_queue_entry *wq_entry, unsigned mode, int sync, void *key) in autoremove_wake_function()
435 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()
/kernel/linux/linux-5.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.c570 struct wait_queue_entry wait;
1393 static int iocg_wake_fn(struct wait_queue_entry *wq_entry, unsigned mode, in iocg_wake_fn()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0004_linux_fs.patch21 struct wait_queue_entry wait;
132 @@ -1742,26 +1682,20 @@ static int aio_poll_wake(struct wait_queue_entry *wait, unsigned mode, int …
169 @@ -1771,43 +1705,7 @@ static int aio_poll_wake(struct wait_queue_entry *wait, unsigned mode, int s…
214 @@ -1815,7 +1713,6 @@ static int aio_poll_wake(struct wait_queue_entry *wait, unsigned mode, int sy…
/kernel/linux/linux-5.10/kernel/locking/
Dpercpu-rwsem.c117 static int percpu_rwsem_wake_function(struct wait_queue_entry *wq_entry, in percpu_rwsem_wake_function()
/kernel/linux/linux-5.10/fs/afs/
Dfs_probe.c230 struct wait_queue_entry *waits; in afs_wait_for_fs_probes()
435 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()
/kernel/linux/patches/linux-5.10/yangfan_patch/
Dkernel.patch1485 @@ -396,7 +396,8 @@ void finish_wait(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_en
1489 -int autoremove_wake_function(struct wait_queue_entry *wq_entry, unsigned mode, int sync, void *key)
1490 +__sched int autoremove_wake_function(struct wait_queue_entry *wq_entry, unsigned int mode,
1499 -long wait_woken(struct wait_queue_entry *wq_entry, unsigned mode, long timeout)
1500 +__sched long wait_woken(struct wait_queue_entry *wq_entry, unsigned int mode, long timeout)
1504 @@ -457,7 +458,8 @@ long wait_woken(struct wait_queue_entry *wq_entry, unsigned mode, long timeout)
1508 -int woken_wake_function(struct wait_queue_entry *wq_entry, unsigned mode, int sync, void *key)
1509 +__sched int woken_wake_function(struct wait_queue_entry *wq_entry, unsigned int mode,
/kernel/linux/linux-5.10/io_uring/
Dio-wq.c99 struct wait_queue_entry wait;
1104 static int io_wqe_hash_wake(struct wait_queue_entry *wait, unsigned mode, in io_wqe_hash_wake()
Dio_uring.c490 struct wait_queue_entry wait;
3491 static int io_async_buf_func(struct wait_queue_entry *wait, unsigned mode, in io_async_buf_func()
5577 static int io_poll_wake(struct wait_queue_entry *wait, unsigned mode, int sync, in io_poll_wake()
7549 struct wait_queue_entry wq;
7568 static int io_wake_function(struct wait_queue_entry *curr, unsigned int mode, in io_wake_function()
/kernel/linux/linux-5.10/fs/
Daio.c188 struct wait_queue_entry wait;
1737 static int aio_poll_wake(struct wait_queue_entry *wait, unsigned mode, int sync, in aio_poll_wake()
Deventpoll.c1815 static int ep_autoremove_wake_function(struct wait_queue_entry *wq_entry, in ep_autoremove_wake_function()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_active.c682 struct wait_queue_entry base;
/kernel/linux/linux-5.10/mm/
Dfilemap.c1181 struct wait_queue_entry *wait) in trylock_page_bit_common()
/kernel/linux/linux-5.10/drivers/media/dvb-core/
Ddvb_frontend.c295 struct wait_queue_entry wait; in dvb_frontend_get_event()
/kernel/linux/linux-5.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()