/linux/drivers/tty/ |
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()
|
A D | n_hdlc.c | 214 wake_up_interruptible(&tty->write_wait); in n_hdlc_tty_close() 316 wake_up_interruptible(&tty->write_wait); in n_hdlc_send_frames() 555 add_wait_queue(&tty->write_wait, &wait); in n_hdlc_tty_write() 577 remove_wait_queue(&tty->write_wait, &wait); in n_hdlc_tty_write() 685 poll_wait(filp, &tty->write_wait, wait); in n_hdlc_tty_poll()
|
A D | tty_ldisc.c | 322 wake_up_interruptible_all(&tty->write_wait); in tty_ldisc_lock() 729 wake_up_interruptible_poll(&tty->write_wait, EPOLLOUT); in tty_ldisc_hangup()
|
A D | tty_io.c | 538 wake_up_interruptible_poll(&tty->write_wait, EPOLLOUT); in tty_wakeup() 956 wake_up_interruptible_poll(&tty->write_wait, EPOLLOUT); in tty_write_unlock() 1797 if (waitqueue_active(&tty->write_wait)) { in tty_release() 1798 wake_up_poll(&tty->write_wait, EPOLLOUT); in tty_release() 1807 if (waitqueue_active(&o_tty->write_wait)) { in tty_release() 1808 wake_up_poll(&o_tty->write_wait, EPOLLOUT); in tty_release() 3139 init_waitqueue_head(&tty->write_wait); in alloc_tty_struct()
|
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()
|
A D | n_tty.c | 1806 wake_up_interruptible(&tty->write_wait); in n_tty_set_termios() 2276 add_wait_queue(&tty->write_wait, &wait); in n_tty_write() 2336 remove_wait_queue(&tty->write_wait, &wait); in n_tty_write() 2363 poll_wait(file, &tty->write_wait, wait); in n_tty_poll()
|
A D | tty_ioctl.c | 204 timeout = wait_event_interruptible_timeout(tty->write_wait, in tty_wait_until_sent()
|
A D | n_gsm.c | 2683 poll_wait(file, &tty->write_wait, wait); in gsmld_poll()
|
/linux/drivers/usb/misc/ |
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()
|
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() 667 init_waitqueue_head(&dev->write_wait); in ld_usb_probe() 778 wake_up_interruptible_all(&dev->write_wait); in ld_usb_disconnect()
|
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()
|
A D | iowarrior.c | 85 wait_queue_head_t write_wait; /* wait-queue for writing to the device */ member 241 wake_up_interruptible(&dev->write_wait); in iowarrior_write_callback() 395 retval = wait_event_interruptible(dev->write_wait, in iowarrior_write() 466 wake_up_interruptible(&dev->write_wait); in iowarrior_write() 667 wake_up_interruptible(&dev->write_wait); in iowarrior_release() 687 poll_wait(file, &dev->write_wait, wait); in iowarrior_poll() 766 init_waitqueue_head(&dev->write_wait); in iowarrior_probe() 906 wake_up_interruptible(&dev->write_wait); in iowarrior_disconnect()
|
/linux/drivers/rtc/ |
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/char/pcmcia/ |
A D | cm4040_cs.c | 75 wait_queue_head_t write_wait; member 123 wake_up_interruptible(&dev->write_wait); in cm4040_do_poll() 153 rc = wait_event_interruptible_timeout(dev->write_wait, in wait_for_bulk_out_ready() 585 init_waitqueue_head(&dev->write_wait); in reader_probe()
|
A D | synclink_cs.c | 1677 wake_up_interruptible(&tty->write_wait); in mgslpc_flush_buffer()
|
/linux/drivers/usb/image/ |
A D | mdc800.c | 142 wait_queue_head_t write_wait; member 374 wake_up (&mdc800->write_wait); in mdc800_usb_write_notify() 859 wait_event_timeout(mdc800->write_wait, mdc800->written, in mdc800_device_write() 995 init_waitqueue_head (&mdc800->write_wait); in usb_mdc800_init()
|
/linux/drivers/usb/serial/ |
A D | digi_acceleport.c | 200 wait_queue_head_t write_wait; member 385 &oob_priv->write_wait, DIGI_RETRY_TIMEOUT, in digi_write_oob_command() 448 &priv->write_wait, DIGI_RETRY_TIMEOUT, in digi_write_inb_command() 526 &oob_priv->write_wait, DIGI_RETRY_TIMEOUT, in digi_set_modem_signals() 986 wake_up_interruptible(&priv->write_wait); in digi_write_bulk_callback() 1220 init_waitqueue_head(&priv->write_wait); in digi_port_init()
|
/linux/include/linux/ |
A D | tty_ldisc.h | 143 struct list_head write_wait; member
|
A D | tty.h | 189 wait_queue_head_t write_wait; member
|
/linux/drivers/md/ |
A D | md-bitmap.h | 228 wait_queue_head_t write_wait; member
|
A D | md-bitmap.c | 310 wait_event(bitmap->write_wait, in write_page() 324 wake_up(&bitmap->write_wait); in end_bitmap_write() 404 wait_event(bitmap->write_wait, in read_page() 429 wait_event(bitmap->write_wait, in md_bitmap_wait_writes() 1749 wait_event(bitmap->write_wait, in md_bitmap_free() 1834 init_waitqueue_head(&bitmap->write_wait); in md_bitmap_create()
|
/linux/drivers/tty/serdev/ |
A D | serdev-ttyport.c | 63 wake_up_interruptible(&tty->write_wait); in ttyport_write_wakeup()
|
/linux/block/ |
A D | blk-throttle.c | 973 unsigned long read_wait = -1, write_wait = -1, min_wait = -1, disptime; in tg_update_disptime() local 982 tg_may_dispatch(tg, bio, &write_wait); in tg_update_disptime() 984 min_wait = min(read_wait, write_wait); in tg_update_disptime()
|