Home
last modified time | relevance | path

Searched refs:read_wait (Results 1 – 22 of 22) sorted by relevance

/linux/drivers/tty/
A Dtty_ldsem.c70 INIT_LIST_HEAD(&sem->read_wait); in __init_ldsem()
94 list_for_each_entry_safe(waiter, next, &sem->read_wait, list) { in __ldsem_wake_readers()
100 INIT_LIST_HEAD(&sem->read_wait); in __ldsem_wake_readers()
139 else if (!list_empty(&sem->read_wait)) in __ldsem_wake()
180 list_add_tail(&waiter.list, &sem->read_wait); in down_read_failed()
A Dn_hdlc.c213 wake_up_interruptible(&tty->read_wait); in n_hdlc_tty_close()
425 wake_up_interruptible(&tty->read_wait); in n_hdlc_tty_receive()
456 add_wait_queue(&tty->read_wait, &wait); in n_hdlc_tty_read()
486 remove_wait_queue(&tty->read_wait, &wait); in n_hdlc_tty_read()
684 poll_wait(filp, &tty->read_wait, wait); in n_hdlc_tty_poll()
A Dpty.c58 wake_up_interruptible(&tty->read_wait); in pty_close()
67 wake_up_interruptible(&tty->link->read_wait); in pty_close()
225 wake_up_interruptible(&to->read_wait); in pty_flush_buffer()
276 wake_up_interruptible(&tty->link->read_wait); in pty_set_termios()
341 wake_up_interruptible_poll(&tty->link->read_wait, EPOLLIN); in pty_start()
354 wake_up_interruptible_poll(&tty->link->read_wait, EPOLLIN); in pty_stop()
A Dn_tty.c349 wake_up_interruptible(&tty->link->read_wait); in n_tty_packet_mode_flush()
1372 wake_up_interruptible_poll(&tty->read_wait, EPOLLIN); in n_tty_receive_char_special()
1592 wake_up_interruptible_poll(&tty->read_wait, EPOLLIN); in __receive_buf()
1807 wake_up_interruptible(&tty->read_wait); in n_tty_set_termios()
2134 add_wait_queue(&tty->read_wait, &wait); in n_tty_read()
2208 remove_wait_queue(&tty->read_wait, &wait); in n_tty_read()
2225 remove_wait_queue(&tty->read_wait, &wait); in n_tty_read()
2362 poll_wait(file, &tty->read_wait, wait); in n_tty_poll()
A Dtty_ldisc.c321 wake_up_interruptible_all(&tty->read_wait); in tty_ldisc_lock()
730 wake_up_interruptible_poll(&tty->read_wait, EPOLLIN); in tty_ldisc_hangup()
A Dtty_io.c1793 if (waitqueue_active(&tty->read_wait)) { in tty_release()
1794 wake_up_poll(&tty->read_wait, EPOLLIN); in tty_release()
1803 if (waitqueue_active(&o_tty->read_wait)) { in tty_release()
1804 wake_up_poll(&o_tty->read_wait, EPOLLIN); in tty_release()
3140 init_waitqueue_head(&tty->read_wait); in alloc_tty_struct()
A Dn_gsm.c2682 poll_wait(file, &tty->read_wait, wait); in gsmld_poll()
/linux/drivers/bluetooth/
A Dhci_vhci.c36 wait_queue_head_t read_wait; member
76 wake_up_interruptible(&data->read_wait); in vhci_send_frame()
261 wake_up_interruptible(&data->read_wait); in __vhci_create_device()
393 ret = wait_event_interruptible(data->read_wait, in vhci_read()
414 poll_wait(file, &data->read_wait, wait); in vhci_poll()
439 init_waitqueue_head(&data->read_wait); in vhci_open()
/linux/arch/ia64/kernel/
A Dsalinfo.c143 wait_queue_head_t read_wait; member
245 wake_up_interruptible(&data->read_wait); in salinfo_log_wakeup()
261 wake_up_interruptible(&data->read_wait); in salinfo_timeout_check()
294 if (wait_event_interruptible(data->read_wait, in salinfo_event_read()
488 wake_up_interruptible(&data->read_wait); in salinfo_log_clear()
553 wake_up_interruptible(&data->read_wait); in salinfo_cpu_online()
614 init_waitqueue_head(&data->read_wait); in salinfo_init()
/linux/drivers/usb/misc/
A Dldusb.c163 wait_queue_head_t read_wait; member
273 wake_up_interruptible(&dev->read_wait); in ld_usb_interrupt_in_callback()
422 poll_wait(file, &dev->read_wait, wait); in ld_usb_poll()
473 retval = wait_event_interruptible(dev->read_wait, dev->interrupt_in_done); in ld_usb_read()
666 init_waitqueue_head(&dev->read_wait); in ld_usb_probe()
777 wake_up_interruptible_all(&dev->read_wait); in ld_usb_disconnect()
A Dlegousbtower.c202 wait_queue_head_t read_wait; member
467 poll_wait(file, &dev->read_wait, wait); in tower_poll()
530 …retval = wait_event_interruptible_timeout(dev->read_wait, dev->interrupt_in_done, dev->packet_time… in tower_read()
706 wake_up_interruptible(&dev->read_wait); in tower_interrupt_in_callback()
760 init_waitqueue_head(&dev->read_wait); in tower_probe()
866 wake_up_interruptible_all(&dev->read_wait); in tower_disconnect()
A Diowarrior.c84 wait_queue_head_t read_wait; member
210 wake_up_interruptible(&dev->read_wait); in iowarrior_callback()
304 int r = wait_event_interruptible(dev->read_wait, in iowarrior_read()
666 wake_up_interruptible(&dev->read_wait); in iowarrior_release()
686 poll_wait(file, &dev->read_wait, wait); in iowarrior_poll()
764 init_waitqueue_head(&dev->read_wait); in iowarrior_probe()
905 wake_up_interruptible(&dev->read_wait); in iowarrior_disconnect()
A Dadutux.c87 wait_queue_head_t read_wait; member
198 wake_up_interruptible(&dev->read_wait); in adu_interrupt_in_callback()
446 add_wait_queue(&dev->read_wait, &wait); in adu_read()
455 remove_wait_queue(&dev->read_wait, &wait); in adu_read()
667 init_waitqueue_head(&dev->read_wait); in adu_probe()
/linux/drivers/char/pcmcia/
A Dcm4040_cs.c74 wait_queue_head_t read_wait; member
116 wake_up_interruptible(&dev->read_wait); in cm4040_do_poll()
201 rc = wait_event_interruptible_timeout(dev->read_wait, in wait_for_bulk_in_ready()
584 init_waitqueue_head(&dev->read_wait); in reader_probe()
/linux/drivers/platform/x86/intel/
A Dishtp_eclite.c87 wait_queue_head_t read_wait; member
150 rv = wait_event_interruptible_timeout(opr_dev->read_wait, in ecl_ish_cl_read()
390 wake_up_interruptible(&opr_dev->read_wait); in ecl_ish_process_rx_data()
574 init_waitqueue_head(&opr_dev->read_wait); in ecl_ishtp_cl_probe()
/linux/net/rfkill/
A Dcore.c79 wait_queue_head_t read_wait; member
287 wake_up_interruptible(&data->read_wait); in rfkill_send_events()
1146 init_waitqueue_head(&data->read_wait); in rfkill_fop_open()
1185 poll_wait(file, &data->read_wait, wait); in rfkill_fop_poll()
1214 ret = wait_event_interruptible(data->read_wait, in rfkill_fop_read()
/linux/include/linux/
A Dtty_ldisc.h142 struct list_head read_wait; member
A Drelay.h42 wait_queue_head_t read_wait; /* reader wait queue */ member
A Dtty.h190 wait_queue_head_t read_wait; member
/linux/kernel/
A Drelay.c276 wake_up_interruptible(&buf->read_wait); in wakeup_readers()
291 init_waitqueue_head(&buf->read_wait); in __relay_reset()
683 if (waitqueue_active(&buf->read_wait)) { in relay_switch_subbuf()
854 poll_wait(filp, &buf->read_wait, wait); in relay_file_poll()
/linux/drivers/scsi/
A Dsg.c139 wait_queue_head_t read_wait; /* queue read until command done */ member
476 retval = wait_event_interruptible(sfp->read_wait, in sg_read()
943 result = wait_event_interruptible(sfp->read_wait, in sg_ioctl_common()
1187 poll_wait(filp, &sfp->read_wait, wait); in sg_poll()
1409 wake_up_interruptible(&sfp->read_wait); in sg_rq_end_io()
1607 wake_up_interruptible_all(&sfp->read_wait); in sg_remove_device()
2139 init_waitqueue_head(&sfp->read_wait); in sg_add_sfp()
/linux/block/
A Dblk-throttle.c973 unsigned long read_wait = -1, write_wait = -1, min_wait = -1, disptime; in tg_update_disptime() local
978 tg_may_dispatch(tg, bio, &read_wait); in tg_update_disptime()
984 min_wait = min(read_wait, write_wait); in tg_update_disptime()

Completed in 54 milliseconds