Home
last modified time | relevance | path

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

/drivers/tty/
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()
Dn_hdlc.c205 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()
Dtty_ldisc.c312 wake_up_interruptible_all(&tty->write_wait); in tty_ldisc_lock()
704 wake_up_interruptible_poll(&tty->write_wait, EPOLLOUT); in tty_ldisc_hangup()
Dtty_io.c528 wake_up_interruptible_poll(&tty->write_wait, EPOLLOUT); in tty_wakeup()
939 wake_up_interruptible_poll(&tty->write_wait, EPOLLOUT); in tty_write_unlock()
1779 if (waitqueue_active(&tty->write_wait)) { in tty_release()
1780 wake_up_poll(&tty->write_wait, EPOLLOUT); in tty_release()
1789 if (waitqueue_active(&o_tty->write_wait)) { in tty_release()
1790 wake_up_poll(&o_tty->write_wait, EPOLLOUT); in tty_release()
3105 init_waitqueue_head(&tty->write_wait); in alloc_tty_struct()
Dpty.c59 wake_up_interruptible(&tty->write_wait); in pty_close()
68 wake_up_interruptible(&tty->link->write_wait); in pty_close()
Dn_tty.c1852 wake_up_interruptible(&tty->write_wait); in n_tty_set_termios()
2355 add_wait_queue(&tty->write_wait, &wait); in n_tty_write()
2415 remove_wait_queue(&tty->write_wait, &wait); in n_tty_write()
2442 poll_wait(file, &tty->write_wait, wait); in n_tty_poll()
Dtty_ioctl.c205 timeout = wait_event_interruptible_timeout(tty->write_wait, in tty_wait_until_sent()
505 retval = wait_event_interruptible(tty->write_wait, !tty_chars_in_buffer(tty));
Dn_gsm.c3089 poll_wait(file, &tty->write_wait, wait); in gsmld_poll()
/drivers/usb/misc/
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()
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()
780 wake_up_interruptible_all(&dev->write_wait); in ld_usb_disconnect()
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()
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()
/drivers/rtc/
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()
/drivers/char/pcmcia/
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()
Dsynclink_cs.c1679 wake_up_interruptible(&tty->write_wait); in mgslpc_flush_buffer()
/drivers/usb/image/
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()
/drivers/usb/serial/
Ddigi_acceleport.c200 wait_queue_head_t write_wait; member
386 &oob_priv->write_wait, DIGI_RETRY_TIMEOUT, in digi_write_oob_command()
449 &priv->write_wait, DIGI_RETRY_TIMEOUT, in digi_write_inb_command()
527 &oob_priv->write_wait, DIGI_RETRY_TIMEOUT, in digi_set_modem_signals()
988 wake_up_interruptible(&priv->write_wait); in digi_write_bulk_callback()
1222 init_waitqueue_head(&priv->write_wait); in digi_port_init()
/drivers/md/
Dmd-bitmap.h228 wait_queue_head_t write_wait; member
Dmd-bitmap.c303 wait_event(bitmap->write_wait, in write_page()
317 wake_up(&bitmap->write_wait); in end_bitmap_write()
397 wait_event(bitmap->write_wait, in read_page()
422 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()
/drivers/tty/serdev/
Dserdev-ttyport.c63 wake_up_interruptible(&tty->write_wait); in ttyport_write_wakeup()