/linux-6.12.1/drivers/md/dm-vdo/ |
D | wait-queue.c | 21 void vdo_waitq_enqueue_waiter(struct vdo_wait_queue *waitq, struct vdo_waiter *waiter) in vdo_waitq_enqueue_waiter() argument 25 if (waitq->last_waiter == NULL) { in vdo_waitq_enqueue_waiter() 33 waiter->next_waiter = waitq->last_waiter->next_waiter; in vdo_waitq_enqueue_waiter() 34 waitq->last_waiter->next_waiter = waiter; in vdo_waitq_enqueue_waiter() 38 waitq->last_waiter = waiter; in vdo_waitq_enqueue_waiter() 39 waitq->length += 1; in vdo_waitq_enqueue_waiter() 83 void vdo_waitq_notify_all_waiters(struct vdo_wait_queue *waitq, in vdo_waitq_notify_all_waiters() argument 93 vdo_waitq_transfer_all_waiters(waitq, &waiters); in vdo_waitq_notify_all_waiters() 106 struct vdo_waiter *vdo_waitq_get_first_waiter(const struct vdo_wait_queue *waitq) in vdo_waitq_get_first_waiter() argument 108 struct vdo_waiter *last_waiter = waitq->last_waiter; in vdo_waitq_get_first_waiter() [all …]
|
D | wait-queue.h | 87 static inline void vdo_waitq_init(struct vdo_wait_queue *waitq) in vdo_waitq_init() argument 89 *waitq = (struct vdo_wait_queue) { in vdo_waitq_init() 101 static inline bool __must_check vdo_waitq_has_waiters(const struct vdo_wait_queue *waitq) in vdo_waitq_has_waiters() argument 103 return (waitq->last_waiter != NULL); in vdo_waitq_has_waiters() 106 void vdo_waitq_enqueue_waiter(struct vdo_wait_queue *waitq, 109 struct vdo_waiter *vdo_waitq_dequeue_waiter(struct vdo_wait_queue *waitq); 111 void vdo_waitq_notify_all_waiters(struct vdo_wait_queue *waitq, 114 bool vdo_waitq_notify_next_waiter(struct vdo_wait_queue *waitq, 120 struct vdo_waiter *vdo_waitq_get_first_waiter(const struct vdo_wait_queue *waitq); 122 void vdo_waitq_dequeue_matching_waiters(struct vdo_wait_queue *waitq, [all …]
|
/linux-6.12.1/drivers/leds/ |
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-6.12.1/drivers/input/serio/ |
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-6.12.1/drivers/spi/ |
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() 401 init_waitqueue_head(&mcfqspi->waitq); in mcfqspi_probe()
|
/linux-6.12.1/fs/orangefs/ |
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()
|
D | orangefs-kernel.h | 127 struct completion waitq; member 141 complete(&op->waitq); in set_op_state_serviced() 169 complete(&op->waitq); in set_op_state_purged()
|
/linux-6.12.1/drivers/usb/misc/ |
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-6.12.1/drivers/mailbox/ |
D | mailbox-test.c | 44 wait_queue_head_t waitq; member 193 add_wait_queue(&tdev->waitq, &wait); in mbox_test_message_read() 237 remove_wait_queue(&tdev->waitq, &wait); in mbox_test_message_read() 248 poll_wait(filp, &tdev->waitq, wait); in mbox_test_message_poll() 303 wake_up_interruptible(&tdev->waitq); in mbox_test_receive_message() 415 init_waitqueue_head(&tdev->waitq); in mbox_test_probe()
|
/linux-6.12.1/drivers/media/pci/netup_unidvb/ |
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-6.12.1/drivers/char/xillybus/ |
D | xillyusb.c | 78 wait_queue_head_t waitq; member 415 init_waitqueue_head(&fifo->waitq); in fifo_init() 594 wake_up_interruptible(&chan->in_fifo->waitq); in wakeup_all() 598 wake_up_interruptible(&chan->out_ep->fifo.waitq); in wakeup_all() 607 wake_up_interruptible(&xdev->msg_ep->fifo.waitq); in wakeup_all() 870 wake_up_interruptible(&fifo->waitq); in try_queue_bulk_out() 912 wake_up_interruptible(&chan->in_fifo->waitq); in process_in_opcode() 1012 wake_up_interruptible(&fifo->waitq); in process_bulk_in() 1091 while (wait_event_interruptible(fifo->waitq, in xillyusb_send_opcode() 1573 (fifo->waitq, in xillyusb_read() [all …]
|
/linux-6.12.1/drivers/net/wireless/marvell/libertas/ |
D | main.c | 229 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() 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-6.12.1/arch/arm/mach-pxa/ |
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()
|
/linux-6.12.1/block/ |
D | blk-iocost.c | 532 struct wait_queue_head waitq; member 734 spin_lock(&iocg->waitq.lock); in iocg_lock() 736 spin_lock_irqsave(&iocg->waitq.lock, *flags); in iocg_lock() 743 spin_unlock(&iocg->waitq.lock); in iocg_unlock() 746 spin_unlock_irqrestore(&iocg->waitq.lock, *flags); in iocg_unlock() 1354 lockdep_assert_held(&iocg->waitq.lock); in iocg_kick_delay() 1417 lockdep_assert_held(&iocg->waitq.lock); in iocg_incur_debt() 1440 lockdep_assert_held(&iocg->waitq.lock); in iocg_pay_debt() 1502 lockdep_assert_held(&iocg->waitq.lock); in iocg_kick_waitq() 1543 __wake_up_locked_key(&iocg->waitq, TASK_NORMAL, &ctx); in iocg_kick_waitq() [all …]
|
/linux-6.12.1/include/linux/ |
D | backing-dev-defs.h | 65 wait_queue_head_t *waitq; member 69 (struct wb_completion){ .cnt = ATOMIC_INIT(1), .waitq = (_waitq) }
|
/linux-6.12.1/drivers/platform/surface/ |
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() 741 wake_up_interruptible(&client->waitq); in ssam_dbg_device_remove()
|
/linux-6.12.1/drivers/scsi/lpfc/ |
D | lpfc_vport.c | 492 DECLARE_WAIT_QUEUE_HEAD_ONSTACK(waitq); in lpfc_send_npiv_logo() 497 ndlp->logo_waitq = &waitq; in lpfc_send_npiv_logo() 505 wait_event_timeout(waitq, in lpfc_send_npiv_logo() 629 DECLARE_WAIT_QUEUE_HEAD_ONSTACK(waitq); in lpfc_vport_delete() 698 ndlp->da_id_waitq = &waitq; in lpfc_vport_delete() 704 wait_event_timeout(waitq, in lpfc_vport_delete()
|
/linux-6.12.1/sound/soc/intel/common/ |
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-6.12.1/drivers/media/pci/cx18/ |
D | cx18-mailbox.c | 321 wake_up(&s->waitq); in epu_dma_done() 586 wait_queue_head_t *waitq; in cx18_api_call() local 612 waitq = &cx->mb_apu_waitq; in cx18_api_call() 618 waitq = &cx->mb_cpu_waitq; in cx18_api_call() 641 ret = wait_event_timeout(*waitq, in cx18_api_call() 672 prepare_to_wait(waitq, &w, TASK_UNINTERRUPTIBLE); in cx18_api_call() 685 finish_wait(waitq, &w); in cx18_api_call()
|
/linux-6.12.1/drivers/staging/olpc_dcon/ |
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() 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.12.1/fs/autofs/ |
D | Makefile | 8 autofs4-objs := init.o inode.o root.o symlink.o waitq.o expire.o dev-ioctl.o
|
/linux-6.12.1/fs/fuse/ |
D | dev.c | 52 init_waitqueue_head(&req->waitq); in fuse_request_init() 248 wake_up(&fiq->waitq); in fuse_dev_wake_and_unlock() 398 wake_up(&req->waitq); in fuse_request_end() 429 err = wait_event_interruptible(req->waitq, in request_wait_answer() 443 err = wait_event_killable(req->waitq, in request_wait_answer() 464 wait_event(req->waitq, test_bit(FR_FINISHED, &req->flags)); in request_wait_answer() 667 spin_lock(&req->waitq.lock); in lock_request() 672 spin_unlock(&req->waitq.lock); in lock_request() 685 spin_lock(&req->waitq.lock); in unlock_request() 690 spin_unlock(&req->waitq.lock); in unlock_request() [all …]
|
/linux-6.12.1/drivers/i2c/busses/ |
D | i2c-mv64xxx.c | 140 wait_queue_head_t waitq; member 423 wake_up(&drv_data->waitq); in mv64xxx_i2c_do_action() 439 wake_up(&drv_data->waitq); in mv64xxx_i2c_do_action() 503 wake_up(&drv_data->waitq); in mv64xxx_i2c_intr_offload() 562 time_left = wait_event_timeout(drv_data->waitq, in mv64xxx_i2c_wait_for_completion() 578 time_left = wait_event_timeout(drv_data->waitq, in mv64xxx_i2c_wait_for_completion() 1005 init_waitqueue_head(&drv_data->waitq); in mv64xxx_i2c_probe()
|
/linux-6.12.1/sound/soc/sof/ |
D | ipc.c | 143 wake_up(&msg->waitq); in snd_sof_ipc_reply() 164 init_waitqueue_head(&msg->waitq); in snd_sof_ipc_init()
|
/linux-6.12.1/drivers/usb/gadget/function/ |
D | f_fs.c | 311 __releases(&ffs->ev.waitq.lock) in __ffs_ep0_queue_wait() 317 spin_unlock_irq(&ffs->ev.waitq.lock); in __ffs_ep0_queue_wait() 323 spin_unlock_irq(&ffs->ev.waitq.lock); in __ffs_ep0_queue_wait() 437 spin_lock_irq(&ffs->ev.waitq.lock); in ffs_ep0_write() 453 spin_unlock_irq(&ffs->ev.waitq.lock); in ffs_ep0_write() 461 spin_unlock_irq(&ffs->ev.waitq.lock); in ffs_ep0_write() 469 spin_lock_irq(&ffs->ev.waitq.lock); in ffs_ep0_write() 487 spin_unlock_irq(&ffs->ev.waitq.lock); in ffs_ep0_write() 507 __releases(&ffs->ev.waitq.lock) in __ffs_ep0_read_events() 533 spin_unlock_irq(&ffs->ev.waitq.lock); in __ffs_ep0_read_events() [all …]
|