Home
last modified time | relevance | path

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

12345

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
Dspi-txx9.c79 wait_queue_head_t waitq; member
140 wake_up(&c->waitq); in txx9spi_interrupt()
232 wait_event(c->waitq, in txx9spi_work_one()
378 init_waitqueue_head(&c->waitq); in txx9spi_probe()
/kernel/linux/linux-5.10/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.h135 struct completion waitq; member
149 complete(&op->waitq); in set_op_state_serviced()
177 complete(&op->waitq); in set_op_state_purged()
/kernel/linux/linux-5.10/drivers/usb/misc/
Dyurex.c65 wait_queue_head_t waitq; member
84 wake_up_interruptible(&dev->waitq); in yurex_control_callback()
178 wake_up_interruptible(&dev->waitq); in yurex_interrupt()
205 init_waitqueue_head(&dev->waitq); in yurex_probe()
326 wake_up_interruptible(&dev->waitq); in yurex_disconnect()
490 prepare_to_wait(&dev->waitq, &wait, TASK_INTERRUPTIBLE); in yurex_write()
496 finish_wait(&dev->waitq, &wait); in yurex_write()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas/
Dmain.c230 wait_event(priv->waitq, lbs_command_queue_empty(priv)); in lbs_stop_iface()
281 wake_up(&priv->waitq); in lbs_host_to_card_done()
450 add_wait_queue(&priv->waitq, &wait); in lbs_thread()
494 remove_wait_queue(&priv->waitq, &wait); in lbs_thread()
748 wake_up(&priv->waitq); in lbs_cmd_timeout_handler()
772 wake_up_interruptible(&priv->waitq); in lbs_tx_lockup_handler()
954 init_waitqueue_head(&priv->waitq); in lbs_add_card()
1116 wake_up(&priv->waitq); in lbs_queue_event()
1131 wake_up(&priv->waitq); in lbs_notify_command_response()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/include/linux/
Dbacking-dev-defs.h70 wait_queue_head_t *waitq; member
74 (struct wb_completion){ .cnt = ATOMIC_INIT(1), .waitq = (_waitq) }
/kernel/linux/linux-5.10/block/
Dblk-iocost.c530 struct wait_queue_head waitq; member
738 spin_lock(&iocg->waitq.lock); in iocg_lock()
740 spin_lock_irqsave(&iocg->waitq.lock, *flags); in iocg_lock()
747 spin_unlock(&iocg->waitq.lock); in iocg_unlock()
750 spin_unlock_irqrestore(&iocg->waitq.lock, *flags); in iocg_unlock()
1288 lockdep_assert_held(&iocg->waitq.lock); in iocg_kick_delay()
1343 lockdep_assert_held(&iocg->waitq.lock); in iocg_incur_debt()
1366 lockdep_assert_held(&iocg->waitq.lock); in iocg_pay_debt()
1425 lockdep_assert_held(&iocg->waitq.lock); in iocg_kick_waitq()
1466 __wake_up_locked_key(&iocg->waitq, TASK_NORMAL, &ctx); in iocg_kick_waitq()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/fs/autofs/
DMakefile8 autofs4-objs := init.o inode.o root.o symlink.o waitq.o expire.o dev-ioctl.o
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-mv64xxx.c139 wait_queue_head_t waitq; member
411 wake_up(&drv_data->waitq); in mv64xxx_i2c_do_action()
426 wake_up(&drv_data->waitq); in mv64xxx_i2c_do_action()
490 wake_up(&drv_data->waitq); in mv64xxx_i2c_intr_offload()
538 time_left = wait_event_timeout(drv_data->waitq, in mv64xxx_i2c_wait_for_completion()
554 time_left = wait_event_timeout(drv_data->waitq, in mv64xxx_i2c_wait_for_completion()
895 init_waitqueue_head(&drv_data->waitq); in mv64xxx_i2c_probe()
Di2c-iop3xx.h91 wait_queue_head_t waitq; member
/kernel/linux/linux-5.10/kernel/bpf/
Dringbuf.c34 wait_queue_head_t waitq; member
130 wake_up_all(&rb->waitq); in bpf_ringbuf_notify()
142 init_waitqueue_head(&rb->waitq); in bpf_ringbuf_alloc()
278 poll_wait(filp, &rb_map->rb->waitq, pts); in ringbuf_map_poll()
/kernel/linux/linux-5.10/drivers/staging/olpc_dcon/
Dolpc_dcon.c293 wait_event_timeout(dcon->waitq, dcon->switched, HZ); in dcon_source_switch()
332 wait_event_timeout(dcon->waitq, dcon->switched, HZ / 2); in dcon_source_switch()
597 init_waitqueue_head(&dcon->waitq); in dcon_probe()
743 wake_up(&dcon->waitq); in dcon_interrupt()
757 wake_up(&dcon->waitq); in dcon_interrupt()
/kernel/linux/linux-5.10/fs/fuse/
Ddev.c47 init_waitqueue_head(&req->waitq); in fuse_request_init()
213 wake_up(&fiq->waitq); in fuse_dev_wake_and_unlock()
328 wake_up(&req->waitq); in fuse_request_end()
376 err = wait_event_interruptible(req->waitq, in request_wait_answer()
390 err = wait_event_killable(req->waitq, in request_wait_answer()
411 wait_event(req->waitq, test_bit(FR_FINISHED, &req->flags)); in request_wait_answer()
622 spin_lock(&req->waitq.lock); in lock_request()
627 spin_unlock(&req->waitq.lock); in lock_request()
640 spin_lock(&req->waitq.lock); in unlock_request()
645 spin_unlock(&req->waitq.lock); in unlock_request()
[all …]
/kernel/linux/linux-5.10/drivers/usb/gadget/function/
Df_fs.c276 __releases(&ffs->ev.waitq.lock) in __ffs_ep0_queue_wait()
283 spin_unlock_irq(&ffs->ev.waitq.lock); in __ffs_ep0_queue_wait()
399 spin_lock_irq(&ffs->ev.waitq.lock); in ffs_ep0_write()
415 spin_unlock_irq(&ffs->ev.waitq.lock); in ffs_ep0_write()
423 spin_unlock_irq(&ffs->ev.waitq.lock); in ffs_ep0_write()
431 spin_lock_irq(&ffs->ev.waitq.lock); in ffs_ep0_write()
449 spin_unlock_irq(&ffs->ev.waitq.lock); in ffs_ep0_write()
469 __releases(&ffs->ev.waitq.lock) in __ffs_ep0_read_events()
495 spin_unlock_irq(&ffs->ev.waitq.lock); in __ffs_ep0_read_events()
530 spin_lock_irq(&ffs->ev.waitq.lock); in ffs_ep0_read()
[all …]
/kernel/linux/linux-5.10/include/video/
Dmetronomefb.h32 wait_queue_head_t waitq; member
/kernel/linux/linux-5.10/fs/afs/
Drxrpc.c150 init_waitqueue_head(&call->waitq); in afs_alloc_call()
252 init_waitqueue_head(&call->waitq); in afs_alloc_flat_call()
618 add_wait_queue(&call->waitq, &myself); in afs_wait_for_call_to_complete()
643 remove_wait_queue(&call->waitq, &myself); in afs_wait_for_call_to_complete()
691 wake_up(&call->waitq); in afs_wake_up_call_waiter()
761 init_waitqueue_head(&call->waitq); in afs_charge_preallocation()

12345