Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.c213 wake_up_interruptible(&tty->write_wait); in n_hdlc_tty_close()
315 wake_up_interruptible(&tty->write_wait); in n_hdlc_send_frames()
552 add_wait_queue(&tty->write_wait, &wait); in n_hdlc_tty_write()
574 remove_wait_queue(&tty->write_wait, &wait); in n_hdlc_tty_write()
682 poll_wait(filp, &tty->write_wait, wait); in n_hdlc_tty_poll()
Dtty_ldisc.c336 wake_up_interruptible_all(&tty->write_wait); in tty_ldisc_lock()
735 wake_up_interruptible_poll(&tty->write_wait, EPOLLOUT); in tty_ldisc_hangup()
Dtty_io.c539 wake_up_interruptible_poll(&tty->write_wait, EPOLLOUT); in tty_wakeup()
947 wake_up_interruptible_poll(&tty->write_wait, EPOLLOUT); in tty_write_unlock()
1787 if (waitqueue_active(&tty->write_wait)) { in tty_release()
1788 wake_up_poll(&tty->write_wait, EPOLLOUT); in tty_release()
1797 if (waitqueue_active(&o_tty->write_wait)) { in tty_release()
1798 wake_up_poll(&o_tty->write_wait, EPOLLOUT); in tty_release()
3088 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.c1869 wake_up_interruptible(&tty->write_wait); in n_tty_set_termios()
2337 add_wait_queue(&tty->write_wait, &wait); in n_tty_write()
2397 remove_wait_queue(&tty->write_wait, &wait); in n_tty_write()
2424 poll_wait(file, &tty->write_wait, wait); in n_tty_poll()
Dtty_ioctl.c225 timeout = wait_event_interruptible_timeout(tty->write_wait, in tty_wait_until_sent()
Dn_gsm.c2623 poll_wait(file, &tty->write_wait, wait); in gsmld_poll()
/kernel/linux/linux-5.10/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()
538 add_wait_queue(&dev->write_wait, &waita); in adu_write()
558 remove_wait_queue(&dev->write_wait, &waita); in adu_write()
571 remove_wait_queue(&dev->write_wait, &waita); in adu_write()
622 remove_wait_queue(&dev->write_wait, &waita); in adu_write()
671 init_waitqueue_head(&dev->write_wait); in adu_probe()
Dldusb.c165 wait_queue_head_t write_wait; member
294 wake_up_interruptible(&dev->write_wait); in ld_usb_interrupt_out_callback()
399 wait_event_interruptible_timeout(dev->write_wait, !dev->interrupt_out_busy, 2 * HZ); in ld_usb_release()
424 poll_wait(file, &dev->write_wait, wait); in ld_usb_poll()
556 retval = wait_event_interruptible(dev->write_wait, !dev->interrupt_out_busy); in ld_usb_write()
668 init_waitqueue_head(&dev->write_wait); in ld_usb_probe()
779 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()
396 retval = wait_event_interruptible(dev->write_wait, in iowarrior_write()
469 wake_up_interruptible(&dev->write_wait); in iowarrior_write()
670 wake_up_interruptible(&dev->write_wait); in iowarrior_release()
690 poll_wait(file, &dev->write_wait, wait); in iowarrior_poll()
769 init_waitqueue_head(&dev->write_wait); in iowarrior_probe()
909 wake_up_interruptible(&dev->write_wait); in iowarrior_disconnect()
/kernel/linux/linux-5.10/drivers/rtc/
Drtc-imxdi.c115 wait_queue_head_t write_wait; member
513 ret = wait_event_interruptible_timeout(imxdi->write_wait, in di_write_wait()
691 if (list_empty_careful(&imxdi->write_wait.head)) in dryice_irq()
702 wake_up_interruptible(&imxdi->write_wait); in dryice_irq()
770 init_waitqueue_head(&imxdi->write_wait); in dryice_rtc_probe()
/kernel/linux/linux-5.10/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()
586 init_waitqueue_head(&dev->write_wait); in reader_probe()
Dsynclink_cs.c1685 wake_up_interruptible(&tty->write_wait); in mgslpc_flush_buffer()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/include/linux/
Dtty_ldisc.h138 struct list_head write_wait; member
Dtty.h328 wait_queue_head_t write_wait; member
/kernel/linux/linux-5.10/drivers/usb/serial/
Ddigi_acceleport.c384 &oob_port->write_wait, DIGI_RETRY_TIMEOUT, in digi_write_oob_command()
447 &port->write_wait, DIGI_RETRY_TIMEOUT, in digi_write_inb_command()
526 &oob_port->write_wait, DIGI_RETRY_TIMEOUT, in digi_set_modem_signals()
987 wake_up_interruptible(&port->write_wait); in digi_write_bulk_callback()
1222 init_waitqueue_head(&port->write_wait); in digi_port_init()
/kernel/linux/linux-5.10/drivers/md/
Dmd-bitmap.h228 wait_queue_head_t write_wait; member
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()
/kernel/linux/linux-5.10/include/linux/usb/
Dserial.h111 wait_queue_head_t write_wait; member
/kernel/linux/linux-5.10/drivers/tty/serdev/
Dserdev-ttyport.c63 wake_up_interruptible(&tty->write_wait); in ttyport_write_wakeup()
/kernel/linux/linux-5.10/block/
Dblk-throttle.c1115 unsigned long read_wait = -1, write_wait = -1, min_wait = -1, disptime; in tg_update_disptime() local
1124 tg_may_dispatch(tg, bio, &write_wait); in tg_update_disptime()
1126 min_wait = min(read_wait, write_wait); in tg_update_disptime()