Home
last modified time | relevance | path

Searched refs:waitq (Results 1 – 25 of 130) sorted by relevance

123456

/linux-6.1.9/drivers/leds/
Duleds.c32 wait_queue_head_t waitq; member
48 wake_up_interruptible(&udev->waitq); in uleds_brightness_set()
64 init_waitqueue_head(&udev->waitq); in uleds_open()
162 retval = wait_event_interruptible(udev->waitq, in uleds_read()
174 poll_wait(file, &udev->waitq, wait); in uleds_poll()
/linux-6.1.9/drivers/input/serio/
Duserio.c47 wait_queue_head_t waitq; member
71 wake_up_interruptible(&userio->waitq); in userio_device_write()
86 init_waitqueue_head(&userio->waitq); in userio_char_open()
166 error = wait_event_interruptible(userio->waitq, in userio_char_read()
255 poll_wait(file, &userio->waitq, wait); in userio_char_poll()
/linux-6.1.9/drivers/spi/
Dspi-coldfire-qspi.c65 wait_queue_head_t waitq; member
148 wake_up(&mcfqspi->waitq); in mcfqspi_irq_handler()
179 wait_event(mcfqspi->waitq, !mcfqspi_qdlyr_spe(mcfqspi)); in mcfqspi_transfer_msg8()
199 wait_event(mcfqspi->waitq, !mcfqspi_qdlyr_spe(mcfqspi)); in mcfqspi_transfer_msg8()
212 wait_event(mcfqspi->waitq, !mcfqspi_qdlyr_spe(mcfqspi)); in mcfqspi_transfer_msg8()
246 wait_event(mcfqspi->waitq, !mcfqspi_qdlyr_spe(mcfqspi)); in mcfqspi_transfer_msg16()
266 wait_event(mcfqspi->waitq, !mcfqspi_qdlyr_spe(mcfqspi)); in mcfqspi_transfer_msg16()
279 wait_event(mcfqspi->waitq, !mcfqspi_qdlyr_spe(mcfqspi)); in mcfqspi_transfer_msg16()
402 init_waitqueue_head(&mcfqspi->waitq); in mcfqspi_probe()
/linux-6.1.9/fs/orangefs/
Dwaitqueue.c270 wait_for_completion(&op->waitq); in orangefs_clean_up_interrupted_operation()
298 reinit_completion(&op->waitq); in orangefs_clean_up_interrupted_operation()
334 n = wait_for_completion_io_timeout(&op->waitq, timeout); in wait_for_matching_downcall()
336 n = wait_for_completion_interruptible_timeout(&op->waitq, in wait_for_matching_downcall()
339 n = wait_for_completion_killable_timeout(&op->waitq, timeout); in wait_for_matching_downcall()
Dorangefs-kernel.h137 struct completion waitq; member
151 complete(&op->waitq); in set_op_state_serviced()
179 complete(&op->waitq); in set_op_state_purged()
/linux-6.1.9/drivers/usb/misc/
Dyurex.c65 wait_queue_head_t waitq; member
84 wake_up_interruptible(&dev->waitq); in yurex_control_callback()
179 wake_up_interruptible(&dev->waitq); in yurex_interrupt()
206 init_waitqueue_head(&dev->waitq); in yurex_probe()
327 wake_up_interruptible(&dev->waitq); in yurex_disconnect()
491 prepare_to_wait(&dev->waitq, &wait, TASK_INTERRUPTIBLE); in yurex_write()
497 finish_wait(&dev->waitq, &wait); in yurex_write()
/linux-6.1.9/drivers/mailbox/
Dmailbox-test.c41 wait_queue_head_t waitq; member
184 add_wait_queue(&tdev->waitq, &wait); in mbox_test_message_read()
228 remove_wait_queue(&tdev->waitq, &wait); in mbox_test_message_read()
239 poll_wait(filp, &tdev->waitq, wait); in mbox_test_message_poll()
294 wake_up_interruptible(&tdev->waitq); in mbox_test_receive_message()
407 init_waitqueue_head(&tdev->waitq); in mbox_test_probe()
/linux-6.1.9/drivers/media/pci/netup_unidvb/
Dnetup_unidvb_spi.c42 wait_queue_head_t waitq; member
89 wake_up(&spi->waitq); in netup_spi_interrupt()
137 wait_event_timeout(spi->waitq, in netup_spi_transfer()
192 init_waitqueue_head(&nspi->waitq); in netup_spi_init()
/linux-6.1.9/drivers/char/xillybus/
Dxillyusb.c77 wait_queue_head_t waitq; member
406 init_waitqueue_head(&fifo->waitq); in fifo_init()
589 wake_up_interruptible(&chan->in_fifo->waitq); in wakeup_all()
593 wake_up_interruptible(&chan->out_ep->fifo.waitq); in wakeup_all()
602 wake_up_interruptible(&xdev->msg_ep->fifo.waitq); in wakeup_all()
865 wake_up_interruptible(&fifo->waitq); in try_queue_bulk_out()
907 wake_up_interruptible(&chan->in_fifo->waitq); in process_in_opcode()
1007 wake_up_interruptible(&fifo->waitq); in process_bulk_in()
1086 while (wait_event_interruptible(fifo->waitq, in xillyusb_send_opcode()
1562 (fifo->waitq, in xillyusb_read()
[all …]
/linux-6.1.9/drivers/net/wireless/marvell/libertas/
Dmain.c229 wait_event(priv->waitq, lbs_command_queue_empty(priv)); in lbs_stop_iface()
280 wake_up(&priv->waitq); in lbs_host_to_card_done()
449 add_wait_queue(&priv->waitq, &wait); in lbs_thread()
493 remove_wait_queue(&priv->waitq, &wait); in lbs_thread()
747 wake_up(&priv->waitq); in lbs_cmd_timeout_handler()
771 wake_up_interruptible(&priv->waitq); in lbs_tx_lockup_handler()
953 init_waitqueue_head(&priv->waitq); in lbs_add_card()
1115 wake_up(&priv->waitq); in lbs_queue_event()
1130 wake_up(&priv->waitq); in lbs_notify_command_response()
/linux-6.1.9/arch/arm/mach-pxa/
Dam200epd.c287 wake_up_interruptible(&par->waitq); in am200_handle_irq()
315 return wait_event_timeout(par->waitq, gpio_get_value(RDY_GPIO_PIN), HZ); in am200_wait_event()
320 return wait_event_interruptible_timeout(par->waitq, in am200_wait_event_intr()
Dam300epd.c103 wait_event(par->waitq, gpio_get_value(RDY_GPIO_PIN)); in am300_wait_event()
235 wake_up(&par->waitq); in am300_handle_irq()
/linux-6.1.9/block/
Dblk-iocost.c528 struct wait_queue_head waitq; member
731 spin_lock(&iocg->waitq.lock); in iocg_lock()
733 spin_lock_irqsave(&iocg->waitq.lock, *flags); in iocg_lock()
740 spin_unlock(&iocg->waitq.lock); in iocg_unlock()
743 spin_unlock_irqrestore(&iocg->waitq.lock, *flags); in iocg_unlock()
1329 lockdep_assert_held(&iocg->waitq.lock); in iocg_kick_delay()
1384 lockdep_assert_held(&iocg->waitq.lock); in iocg_incur_debt()
1407 lockdep_assert_held(&iocg->waitq.lock); in iocg_pay_debt()
1466 lockdep_assert_held(&iocg->waitq.lock); in iocg_kick_waitq()
1507 __wake_up_locked_key(&iocg->waitq, TASK_NORMAL, &ctx); in iocg_kick_waitq()
[all …]
/linux-6.1.9/include/linux/
Dbacking-dev-defs.h65 wait_queue_head_t *waitq; member
69 (struct wb_completion){ .cnt = ATOMIC_INIT(1), .waitq = (_waitq) }
/linux-6.1.9/sound/soc/intel/common/
Dsst-ipc.c52 ret = wait_event_timeout(msg->waitq, msg->complete, in tx_wait_done()
135 init_waitqueue_head(&ipc->msg[i].waitq); in msg_empty_list_init()
253 wake_up(&msg->waitq); in sst_ipc_tx_msg_reply_complete()
/linux-6.1.9/drivers/platform/surface/
Dsurface_aggregator_cdev.c67 wait_queue_head_t waitq; member
126 wake_up_interruptible(&client->waitq); in ssam_cdev_notifier()
479 init_waitqueue_head(&client->waitq); in ssam_cdev_device_open()
599 status = wait_event_interruptible(client->waitq, in ssam_cdev_read()
649 poll_wait(file, &client->waitq, pt); in ssam_cdev_poll()
742 wake_up_interruptible(&client->waitq); in ssam_dbg_device_remove()
/linux-6.1.9/drivers/media/pci/cx18/
Dcx18-mailbox.c320 wake_up(&s->waitq); in epu_dma_done()
585 wait_queue_head_t *waitq; in cx18_api_call() local
611 waitq = &cx->mb_apu_waitq; in cx18_api_call()
617 waitq = &cx->mb_cpu_waitq; in cx18_api_call()
640 ret = wait_event_timeout(*waitq, in cx18_api_call()
671 prepare_to_wait(waitq, &w, TASK_UNINTERRUPTIBLE); in cx18_api_call()
684 finish_wait(waitq, &w); in cx18_api_call()
/linux-6.1.9/fs/fuse/
Ddev.c47 init_waitqueue_head(&req->waitq); in fuse_request_init()
213 wake_up(&fiq->waitq); in fuse_dev_wake_and_unlock()
324 wake_up(&req->waitq); in fuse_request_end()
372 err = wait_event_interruptible(req->waitq, in request_wait_answer()
386 err = wait_event_killable(req->waitq, in request_wait_answer()
407 wait_event(req->waitq, test_bit(FR_FINISHED, &req->flags)); in request_wait_answer()
614 spin_lock(&req->waitq.lock); in lock_request()
619 spin_unlock(&req->waitq.lock); in lock_request()
632 spin_lock(&req->waitq.lock); in unlock_request()
637 spin_unlock(&req->waitq.lock); in unlock_request()
[all …]
/linux-6.1.9/drivers/staging/olpc_dcon/
Dolpc_dcon.c294 wait_event_timeout(dcon->waitq, dcon->switched, HZ); in dcon_source_switch()
333 wait_event_timeout(dcon->waitq, dcon->switched, HZ / 2); in dcon_source_switch()
595 init_waitqueue_head(&dcon->waitq); in dcon_probe()
740 wake_up(&dcon->waitq); in dcon_interrupt()
754 wake_up(&dcon->waitq); in dcon_interrupt()
/linux-6.1.9/sound/soc/sof/
Dipc.c135 wake_up(&msg->waitq); in snd_sof_ipc_reply()
156 init_waitqueue_head(&msg->waitq); in snd_sof_ipc_init()
/linux-6.1.9/fs/autofs/
DMakefile8 autofs4-objs := init.o inode.o root.o symlink.o waitq.o expire.o dev-ioctl.o
/linux-6.1.9/kernel/bpf/
Dringbuf.c35 wait_queue_head_t waitq; member
160 wake_up_all(&rb->waitq); in bpf_ringbuf_notify()
173 init_waitqueue_head(&rb->waitq); in bpf_ringbuf_alloc()
319 poll_wait(filp, &rb_map->rb->waitq, pts); in ringbuf_map_poll_kern()
332 poll_wait(filp, &rb_map->rb->waitq, pts); in ringbuf_map_poll_user()
/linux-6.1.9/drivers/i2c/busses/
Di2c-mv64xxx.c141 wait_queue_head_t waitq; member
424 wake_up(&drv_data->waitq); in mv64xxx_i2c_do_action()
440 wake_up(&drv_data->waitq); in mv64xxx_i2c_do_action()
504 wake_up(&drv_data->waitq); in mv64xxx_i2c_intr_offload()
552 time_left = wait_event_timeout(drv_data->waitq, in mv64xxx_i2c_wait_for_completion()
568 time_left = wait_event_timeout(drv_data->waitq, in mv64xxx_i2c_wait_for_completion()
995 init_waitqueue_head(&drv_data->waitq); in mv64xxx_i2c_probe()
/linux-6.1.9/drivers/usb/gadget/function/
Df_fs.c277 __releases(&ffs->ev.waitq.lock) in __ffs_ep0_queue_wait()
287 spin_unlock_irq(&ffs->ev.waitq.lock); in __ffs_ep0_queue_wait()
403 spin_lock_irq(&ffs->ev.waitq.lock); in ffs_ep0_write()
419 spin_unlock_irq(&ffs->ev.waitq.lock); in ffs_ep0_write()
427 spin_unlock_irq(&ffs->ev.waitq.lock); in ffs_ep0_write()
435 spin_lock_irq(&ffs->ev.waitq.lock); in ffs_ep0_write()
453 spin_unlock_irq(&ffs->ev.waitq.lock); in ffs_ep0_write()
473 __releases(&ffs->ev.waitq.lock) in __ffs_ep0_read_events()
499 spin_unlock_irq(&ffs->ev.waitq.lock); in __ffs_ep0_read_events()
534 spin_lock_irq(&ffs->ev.waitq.lock); in ffs_ep0_read()
[all …]
/linux-6.1.9/fs/afs/
Drxrpc.c150 init_waitqueue_head(&call->waitq); in afs_alloc_call()
256 init_waitqueue_head(&call->waitq); in afs_alloc_flat_call()
587 add_wait_queue(&call->waitq, &myself); in afs_wait_for_call_to_complete()
612 remove_wait_queue(&call->waitq, &myself); in afs_wait_for_call_to_complete()
660 wake_up(&call->waitq); in afs_wake_up_call_waiter()
729 init_waitqueue_head(&call->waitq); in afs_charge_preallocation()

123456