/linux/drivers/tty/ |
H A D | tty_ldsem.c | 71 INIT_LIST_HEAD(&sem->write_wait); in __init_ldsem() 123 waiter = list_entry(sem->write_wait.next, struct ldsem_waiter, list); in __ldsem_wake_writer() 137 if (!list_empty(&sem->write_wait)) in __ldsem_wake() 253 list_add_tail(&waiter.list, &sem->write_wait); in down_write_failed() 280 if (!locked && list_empty(&sem->write_wait)) in down_write_failed()
|
H A D | n_hdlc.c | 205 wake_up_interruptible(&tty->write_wait); in n_hdlc_tty_close() 307 wake_up_interruptible(&tty->write_wait); in n_hdlc_send_frames() 537 add_wait_queue(&tty->write_wait, &wait); in n_hdlc_tty_write() 559 remove_wait_queue(&tty->write_wait, &wait); in n_hdlc_tty_write() 659 poll_wait(filp, &tty->write_wait, wait); in n_hdlc_tty_poll()
|
H A D | tty_io.c | 521 wake_up_interruptible_poll(&tty->write_wait, EPOLLOUT); in tty_wakeup() 943 wake_up_interruptible_poll(&tty->write_wait, EPOLLOUT); in tty_write_unlock() 1780 if (waitqueue_active(&tty->write_wait)) { in tty_release() 1781 wake_up_poll(&tty->write_wait, EPOLLOUT); in tty_release() 1790 if (waitqueue_active(&o_tty->write_wait)) { in tty_release() 1791 wake_up_poll(&o_tty->write_wait, EPOLLOUT); in tty_release() 3132 init_waitqueue_head(&tty->write_wait); in alloc_tty_struct()
|
H A D | pty.c | 59 wake_up_interruptible(&tty->write_wait); in pty_close() 68 wake_up_interruptible(&tty->link->write_wait); in pty_close()
|
H A D | tty_ioctl.c | 188 timeout = wait_event_interruptible_timeout(tty->write_wait, in tty_wait_until_sent() 488 retval = wait_event_interruptible(tty->write_wait, !tty_chars_in_buffer(tty));
|
H A D | n_gsm.c | 3809 poll_wait(file, &tty->write_wait, wait); in gsmld_poll()
|
/linux/drivers/usb/misc/ |
H A D | adutux.c | 88 wait_queue_head_t write_wait; member 136 wait_event_timeout(dev->write_wait, dev->out_urb_finished, in adu_abort_transfers() 223 wake_up(&dev->write_wait); in adu_interrupt_out_callback() 535 add_wait_queue(&dev->write_wait, &waita); in adu_write() 555 remove_wait_queue(&dev->write_wait, &waita); in adu_write() 568 remove_wait_queue(&dev->write_wait, &waita); in adu_write() 619 remove_wait_queue(&dev->write_wait, &waita); in adu_write() 668 init_waitqueue_head(&dev->write_wait); in adu_probe()
|
H A D | legousbtower.c | 203 wait_queue_head_t write_wait; member 418 wait_event_interruptible_timeout(dev->write_wait, !dev->interrupt_out_busy, in tower_release() 468 poll_wait(file, &dev->write_wait, wait); in tower_poll() 608 retval = wait_event_interruptible(dev->write_wait, in tower_write() 731 wake_up_interruptible(&dev->write_wait); in tower_interrupt_out_callback() 761 init_waitqueue_head(&dev->write_wait); in tower_probe() 867 wake_up_interruptible_all(&dev->write_wait); in tower_disconnect()
|
H A D | ldusb.c | 164 wait_queue_head_t write_wait; member 293 wake_up_interruptible(&dev->write_wait); in ld_usb_interrupt_out_callback() 398 wait_event_interruptible_timeout(dev->write_wait, !dev->interrupt_out_busy, 2 * HZ); in ld_usb_release() 423 poll_wait(file, &dev->write_wait, wait); in ld_usb_poll() 555 retval = wait_event_interruptible(dev->write_wait, !dev->interrupt_out_busy); in ld_usb_write() 666 init_waitqueue_head(&dev->write_wait); in ld_usb_probe() 779 wake_up_interruptible_all(&dev->write_wait); in ld_usb_disconnect()
|
/linux/drivers/rtc/ |
H A D | rtc-imxdi.c | 116 wait_queue_head_t write_wait; member 514 ret = wait_event_interruptible_timeout(imxdi->write_wait, in di_write_wait() 692 if (list_empty_careful(&imxdi->write_wait.head)) in dryice_irq() 703 wake_up_interruptible(&imxdi->write_wait); in dryice_irq() 771 init_waitqueue_head(&imxdi->write_wait); in dryice_rtc_probe()
|
/linux/drivers/usb/image/ |
H A D | mdc800.c | 142 wait_queue_head_t write_wait; member 374 wake_up (&mdc800->write_wait); in mdc800_usb_write_notify() 858 wait_event_timeout(mdc800->write_wait, mdc800->written, in mdc800_device_write() 994 init_waitqueue_head (&mdc800->write_wait); in usb_mdc800_init()
|
/linux/drivers/usb/serial/ |
H A D | digi_acceleport.c | 200 wait_queue_head_t write_wait; member 384 &oob_priv->write_wait, DIGI_RETRY_TIMEOUT, in digi_write_oob_command() 447 &priv->write_wait, DIGI_RETRY_TIMEOUT, in digi_write_inb_command() 525 &oob_priv->write_wait, DIGI_RETRY_TIMEOUT, in digi_set_modem_signals() 987 wake_up_interruptible(&priv->write_wait); in digi_write_bulk_callback() 1221 init_waitqueue_head(&priv->write_wait); in digi_port_init()
|
/linux/include/linux/ |
H A D | tty_ldisc.h | 22 struct list_head write_wait; member
|
H A D | tty.h | 231 wait_queue_head_t write_wait; member
|
/linux/drivers/md/ |
H A D | md-bitmap.c | 206 wait_queue_head_t write_wait; member 512 wait_event(bitmap->write_wait, in write_file_page() 523 wake_up(&bitmap->write_wait); in end_bitmap_write() 600 wait_event(bitmap->write_wait, in read_file_page() 659 wait_event(bitmap->write_wait, in md_bitmap_wait_writes() 2046 wait_event(bitmap->write_wait, in md_bitmap_free() 2129 init_waitqueue_head(&bitmap->write_wait); in __bitmap_create()
|
/linux/drivers/tty/serdev/ |
H A D | serdev-ttyport.c | 61 wake_up_interruptible(&tty->write_wait); in ttyport_write_wakeup()
|
/linux/block/ |
H A D | blk-throttle.c | 858 unsigned long read_wait = -1, write_wait = -1, min_wait = -1, disptime; in tg_update_disptime() local 867 tg_may_dispatch(tg, bio, &write_wait); in tg_update_disptime() 869 min_wait = min(read_wait, write_wait); in tg_update_disptime()
|