Home
last modified time | relevance | path

Searched refs:waitqueue (Results 1 – 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/drivers/media/platform/mtk-vcodec/
Dmtk_vcodec_intr.c17 wait_queue_head_t *waitqueue; in mtk_vcodec_wait_for_done_ctx() local
21 waitqueue = (wait_queue_head_t *)&ctx->queue; in mtk_vcodec_wait_for_done_ctx()
24 ret = wait_event_interruptible_timeout(*waitqueue, in mtk_vcodec_wait_for_done_ctx()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0004_linux_fs.patch29 - * Safely lock the waitqueue which the request is on, synchronizing with the
30 - * case where the ->poll() provider decides to free its waitqueue early.
34 - * request was already removed from its waitqueue (which might no longer exist).
41 - * While we hold the waitqueue lock and the waitqueue is nonempty,
42 - * wake_up_pollfree() will wait for us. However, taking the waitqueue
43 - * lock in the first place can race with the waitqueue being freed.
98 - } /* else, POLLFREE has freed the waitqueue, so we must complete */
144 - * already hold the waitqueue lock, so this inverts the normal
177 - * Don't remove the request from the waitqueue here, as it might
190 - * If the waitqueue is being freed early but we can't complete
[all …]
/kernel/linux/linux-5.10/drivers/soc/fsl/qbman/
Dqman_test_api.c60 static DECLARE_WAIT_QUEUE_HEAD(waitqueue);
181 wait_event(waitqueue, sdqcr_complete); in qman_test_api()
189 wait_event(waitqueue, retire_complete); in qman_test_api()
220 wake_up(&waitqueue); in cb_dqrr()
244 wake_up(&waitqueue); in cb_fqs()
/kernel/linux/linux-5.10/drivers/staging/android/ion/
Dion_heap.c136 wake_up(&heap->waitqueue); in ion_heap_freelist_add()
199 wait_event_freezable(heap->waitqueue, in ion_heap_deferred_free()
221 init_waitqueue_head(&heap->waitqueue); in ion_heap_init_deferred_free()
Dion.h153 wait_queue_head_t waitqueue; member
/kernel/linux/linux-5.10/drivers/tty/
Dmips_ejtag_fdc.c148 wait_queue_head_t waitqueue; member
493 wait_event_interruptible(priv->waitqueue, in mips_ejtag_fdc_put()
512 wait_event_interruptible(priv->waitqueue, in mips_ejtag_fdc_put()
633 wake_up_interruptible(&priv->waitqueue); in mips_ejtag_fdc_handle()
738 wake_up_interruptible(&priv->waitqueue); in mips_ejtag_fdc_tty_port_shutdown()
839 wake_up_interruptible(&priv->waitqueue); in mips_ejtag_fdc_tty_write()
957 init_waitqueue_head(&priv->waitqueue); in mips_ejtag_fdc_tty_probe()
/kernel/linux/linux-5.10/fs/orangefs/
DMakefile11 orangefs-debugfs.o waitqueue.o
/kernel/linux/linux-5.10/drivers/char/
Dvirtio_console.c219 wait_queue_head_t waitqueue; member
760 ret = wait_event_freezable(port->waitqueue, in port_fops_read()
792 ret = wait_event_freezable(port->waitqueue, in wait_port_writable()
975 poll_wait(filp, &port->waitqueue, wait); in port_fops_poll()
1419 init_waitqueue_head(&port->waitqueue); in add_port()
1528 wake_up_interruptible(&port->waitqueue); in unplug_port()
1637 wake_up_interruptible(&port->waitqueue); in handle_control_message()
1749 wake_up_interruptible(&port->waitqueue); in out_intr()
1791 wake_up_interruptible(&port->waitqueue); in in_intr()
/kernel/linux/linux-5.10/Documentation/scheduler/
Dcompletion.rst25 Completions are built on top of the waitqueue and wakeup infrastructure of
26 the Linux scheduler. The event the threads on the waitqueue are waiting for
57 This provides the ->wait waitqueue to place tasks on for waiting (if any), and
89 In this call we initialize the waitqueue and set ->done to 0, i.e. "not completed"
93 ->done field to 0 ("not done"), without touching the waitqueue.
/kernel/linux/linux-5.10/net/sunrpc/auth_gss/
Dauth_gss.c251 wait_queue_head_t waitqueue; member
338 wake_up_all(&gss_msg->waitqueue); in __gss_unhash_msg()
523 init_waitqueue_head(&gss_msg->waitqueue); in gss_alloc_msg()
660 prepare_to_wait(&gss_msg->waitqueue, &wait, TASK_KILLABLE); in gss_create_upcall()
680 finish_wait(&gss_msg->waitqueue, &wait); in gss_create_upcall()
/kernel/linux/linux-5.10/Documentation/kernel-hacking/
Dhacking.rst517 Placing yourself in the waitqueue is fairly complex, because you must
/kernel/linux/linux-5.10/Documentation/admin-guide/cgroup-v1/
Dmemory.rst851 in memory cgroup's OOM-waitqueue when they request accountable memory.
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0036_linux_drivers_staging.patch16659 +/* When release logic waits on available RCR space, we need a global waitqueue
16661 + * different portals - so we can't wait on any per-portal waitqueue). */