/linux/drivers/leds/ |
A D | uleds.c | 32 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/drivers/input/serio/ |
A D | userio.c | 47 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/drivers/spi/ |
A D | spi-coldfire-qspi.c | 65 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/fs/orangefs/ |
A D | waitqueue.c | 270 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()
|
A D | orangefs-kernel.h | 137 struct completion waitq; member 151 complete(&op->waitq); in set_op_state_serviced() 179 complete(&op->waitq); in set_op_state_purged()
|
/linux/drivers/usb/misc/ |
A D | yurex.c | 65 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/drivers/mailbox/ |
A D | mailbox-test.c | 41 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/drivers/media/pci/netup_unidvb/ |
A D | netup_unidvb_spi.c | 42 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/drivers/char/xillybus/ |
A D | xillyusb.c | 77 wait_queue_head_t waitq; member 406 init_waitqueue_head(&fifo->waitq); in fifo_init() 588 wake_up_interruptible(&chan->in_fifo->waitq); in wakeup_all() 864 wake_up_interruptible(&fifo->waitq); in try_queue_bulk_out() 906 wake_up_interruptible(&chan->in_fifo->waitq); in process_in_opcode() 1006 wake_up_interruptible(&fifo->waitq); in process_bulk_in() 1085 while (wait_event_interruptible(fifo->waitq, in xillyusb_send_opcode() 1561 (fifo->waitq, in xillyusb_read() 1572 (fifo->waitq, in xillyusb_read() 1664 (fifo->waitq, in xillyusb_write() [all …]
|
/linux/drivers/net/wireless/marvell/libertas/ |
A D | main.c | 230 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()
|
/linux/block/ |
A D | blk-iocost.c | 528 struct wait_queue_head waitq; member 736 spin_lock(&iocg->waitq.lock); in iocg_lock() 745 spin_unlock(&iocg->waitq.lock); in iocg_unlock() 1730 if (waitqueue_active(&iocg->waitq) || in hweight_after_donation() 2111 spin_lock(&iocg->waitq.lock); in ioc_forgive_debts() 2127 spin_unlock(&iocg->waitq.lock); in ioc_forgive_debts() 2151 spin_lock(&iocg->waitq.lock); in ioc_check_iocgs() 2202 spin_unlock(&iocg->waitq.lock); in ioc_check_iocgs() 2736 spin_lock(&iocg->waitq.lock); in ioc_rqos_merge() 2747 spin_unlock(&iocg->waitq.lock); in ioc_rqos_merge() [all …]
|
/linux/arch/arm/mach-pxa/ |
A D | am200epd.c | 287 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()
|
A D | am300epd.c | 103 wait_event(par->waitq, gpio_get_value(RDY_GPIO_PIN)); in am300_wait_event() 235 wake_up(&par->waitq); in am300_handle_irq()
|
/linux/drivers/usb/gadget/function/ |
A D | f_fs.c | 276 __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() 431 spin_lock_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() 578 spin_lock_irq(&ffs->ev.waitq.lock); in ffs_ep0_read() 598 spin_unlock_irq(&ffs->ev.waitq.lock); in ffs_ep0_read() 1758 init_waitqueue_head(&ffs->ev.waitq); in ffs_data_new() [all …]
|
/linux/kernel/bpf/ |
A D | ringbuf.c | 34 wait_queue_head_t waitq; member 126 wake_up_all(&rb->waitq); in bpf_ringbuf_notify() 138 init_waitqueue_head(&rb->waitq); in bpf_ringbuf_alloc() 259 poll_wait(filp, &rb_map->rb->waitq, pts); in ringbuf_map_poll()
|
/linux/drivers/vdpa/vdpa_user/ |
A D | vduse_dev.c | 77 wait_queue_head_t waitq; member 104 wait_queue_head_t waitq; member 184 wake_up(&msg->waitq); in vduse_dev_broken() 187 wake_up(&dev->waitq); in vduse_dev_broken() 198 init_waitqueue_head(&msg->waitq); in vduse_dev_msg_sync() 206 wake_up(&dev->waitq); in vduse_dev_msg_sync() 212 ret = wait_event_killable(msg->waitq, msg->completed); in vduse_dev_msg_sync() 320 ret = wait_event_interruptible_exclusive(dev->waitq, in vduse_dev_read_iter() 377 wake_up(&msg->waitq); in vduse_dev_write_iter() 389 poll_wait(file, &dev->waitq, wait); in vduse_dev_poll() [all …]
|
/linux/fs/fuse/ |
A D | dev.c | 47 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() 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() 862 spin_lock(&cs->req->waitq.lock); in fuse_try_move_page() 867 spin_unlock(&cs->req->waitq.lock); in fuse_try_move_page() 2144 spin_lock(&req->waitq.lock); in fuse_abort_conn() [all …]
|
/linux/drivers/platform/surface/ |
A D | surface_aggregator_cdev.c | 67 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/drivers/media/pci/cx18/ |
A D | cx18-mailbox.c | 320 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/sound/soc/intel/common/ |
A D | sst-ipc.c | 52 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/drivers/staging/olpc_dcon/ |
A D | olpc_dcon.c | 294 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() 598 init_waitqueue_head(&dcon->waitq); in dcon_probe() 745 wake_up(&dcon->waitq); in dcon_interrupt() 759 wake_up(&dcon->waitq); in dcon_interrupt()
|
/linux/include/linux/ |
A D | backing-dev-defs.h | 70 wait_queue_head_t *waitq; member 74 (struct wb_completion){ .cnt = ATOMIC_INIT(1), .waitq = (_waitq) }
|
/linux/drivers/i2c/busses/ |
A D | i2c-mv64xxx.c | 141 wait_queue_head_t waitq; member 419 wake_up(&drv_data->waitq); in mv64xxx_i2c_do_action() 434 wake_up(&drv_data->waitq); in mv64xxx_i2c_do_action() 498 wake_up(&drv_data->waitq); in mv64xxx_i2c_intr_offload() 546 time_left = wait_event_timeout(drv_data->waitq, in mv64xxx_i2c_wait_for_completion() 562 time_left = wait_event_timeout(drv_data->waitq, in mv64xxx_i2c_wait_for_completion() 955 init_waitqueue_head(&drv_data->waitq); in mv64xxx_i2c_probe()
|
/linux/fs/afs/ |
A D | rxrpc.c | 150 init_waitqueue_head(&call->waitq); in afs_alloc_call() 252 init_waitqueue_head(&call->waitq); in afs_alloc_flat_call() 586 add_wait_queue(&call->waitq, &myself); in afs_wait_for_call_to_complete() 611 remove_wait_queue(&call->waitq, &myself); in afs_wait_for_call_to_complete() 659 wake_up(&call->waitq); in afs_wake_up_call_waiter() 729 init_waitqueue_head(&call->waitq); in afs_charge_preallocation()
|
/linux/net/sunrpc/ |
A D | rpc_pipe.c | 64 static void rpc_purge_list(wait_queue_head_t *waitq, struct list_head *head, in rpc_purge_list() argument 78 if (waitq) in rpc_purge_list() 79 wake_up(waitq); in rpc_purge_list() 99 rpc_purge_list(dentry ? &RPC_I(d_inode(dentry))->waitq : NULL, in rpc_timeout_upcall_queue() 157 wake_up(&RPC_I(d_inode(dentry))->waitq); in rpc_queue_upcall() 186 rpc_purge_list(&RPC_I(inode)->waitq, &free_list, pipe->ops->destroy_msg, -EPIPE); in rpc_close_pipes() 268 rpc_purge_list(&RPC_I(inode)->waitq, &free_list, in rpc_pipe_release() 345 poll_wait(filp, &rpci->waitq, wait); in rpc_pipe_poll() 1483 init_waitqueue_head(&rpci->waitq); in init_once()
|