Home
last modified time | relevance | path

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

12

/openbmc/linux/include/linux/
H A 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);
30 struct wait_queue_entry { struct
55 struct wait_queue_entry name = __WAITQUEUE_INITIALIZER(name, tsk) argument
82 static inline void init_waitqueue_entry(struct wait_queue_entry *wq_entry, struct task_struct *p) in init_waitqueue_entry()
90 init_waitqueue_func_entry(struct wait_queue_entry *wq_entry, wait_queue_func_t func) in init_waitqueue_func_entry()
166 extern void add_wait_queue(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry);
167 extern void add_wait_queue_exclusive(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_e…
168 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;
/openbmc/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()
269 prepare_to_wait(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, int state) in prepare_to_wait()
284 prepare_to_wait_exclusive(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, int s… in prepare_to_wait_exclusive()
301 void init_wait_entry(struct wait_queue_entry *wq_entry, int flags) in init_wait_entry()
310 long prepare_to_wait_event(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, int … in prepare_to_wait_event()
396 void finish_wait(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry) in finish_wait()
422 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()
/openbmc/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()
/openbmc/linux/io_uring/
H A Dpoll.h16 struct wait_queue_entry wait;
H A Dpoll.c54 static int io_poll_wake(struct wait_queue_entry *wait, unsigned mode, int sync,
57 static inline struct io_kiocb *wqe_to_req(struct wait_queue_entry *wqe) in wqe_to_req()
64 static inline bool wqe_is_double(struct wait_queue_entry *wqe) in wqe_is_double()
427 static int io_poll_wake(struct wait_queue_entry *wait, unsigned mode, int sync, in io_poll_wake()
H A Dio-wq.c122 struct wait_queue_entry wait;
1131 static int io_wq_hash_wake(struct wait_queue_entry *wait, unsigned mode, in io_wq_hash_wake()
H A Drw.c582 static int io_async_buf_func(struct wait_queue_entry *wait, unsigned mode, in io_async_buf_func()
H A Dio_uring.c2476 struct wait_queue_entry wq;
2502 static int io_wake_function(struct wait_queue_entry *curr, unsigned int mode, in io_wake_function()
/openbmc/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;
1468 static int iocg_wake_fn(struct wait_queue_entry *wq_entry, unsigned mode, in iocg_wake_fn()
/openbmc/linux/rust/
H A Dhelpers.c69 void rust_helper_init_wait(struct wait_queue_entry *wq_entry) in rust_helper_init_wait()
/openbmc/linux/rust/kernel/sync/
H A Dcondvar.rs107 let wait = Opaque::<bindings::wait_queue_entry>::uninit(); in wait_internal()
/openbmc/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()
/openbmc/linux/fs/afs/
H A Dfs_probe.c236 struct wait_queue_entry *waits; in afs_wait_for_fs_probes()
441 struct wait_queue_entry wait; in afs_wait_for_one_fs_probe()
H A Dvl_probe.c213 struct wait_queue_entry *waits; in afs_wait_for_vl_probes()
/openbmc/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;
/openbmc/linux/fs/
H A Daio.c187 struct wait_queue_entry wait;
1746 static int aio_poll_wake(struct wait_queue_entry *wait, unsigned mode, int sync, in aio_poll_wake()
H A Deventpoll.c1836 static int ep_autoremove_wake_function(struct wait_queue_entry *wq_entry, in ep_autoremove_wake_function()
/openbmc/linux/net/vmw_vsock/
H A Daf_vsock.c1986 struct wait_queue_entry *wait, in vsock_connectible_wait_data()
/openbmc/linux/drivers/media/dvb-core/
H A Ddvb_frontend.c296 struct wait_queue_entry wait; in dvb_frontend_get_event()
/openbmc/linux/mm/
H A Dfilemap.c1235 struct wait_queue_entry *wait) in folio_trylock_flag()

12