Home
last modified time | relevance | path

Searched refs:write_wait (Results 1 – 23 of 23) sorted by relevance

/linux/drivers/tty/
A Dtty_ldsem.c71 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 Dn_hdlc.c214 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 Dtty_ldisc.c322 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 Dtty_io.c538 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 Dpty.c59 wake_up_interruptible(&tty->write_wait); in pty_close()
68 wake_up_interruptible(&tty->link->write_wait); in pty_close()
A Dn_tty.c1806 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 Dtty_ioctl.c204 timeout = wait_event_interruptible_timeout(tty->write_wait, in tty_wait_until_sent()
A Dn_gsm.c2683 poll_wait(file, &tty->write_wait, wait); in gsmld_poll()
/linux/drivers/usb/misc/
A Dadutux.c88 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 Dldusb.c164 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 Dlegousbtower.c203 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 Diowarrior.c85 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 Drtc-imxdi.c116 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 Dcm4040_cs.c75 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 Dsynclink_cs.c1677 wake_up_interruptible(&tty->write_wait); in mgslpc_flush_buffer()
/linux/drivers/usb/image/
A Dmdc800.c142 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 Ddigi_acceleport.c200 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 Dtty_ldisc.h143 struct list_head write_wait; member
A Dtty.h189 wait_queue_head_t write_wait; member
/linux/drivers/md/
A Dmd-bitmap.h228 wait_queue_head_t write_wait; member
A Dmd-bitmap.c310 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 Dserdev-ttyport.c63 wake_up_interruptible(&tty->write_wait); in ttyport_write_wakeup()
/linux/block/
A Dblk-throttle.c973 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()

Completed in 63 milliseconds