tag | line | file | source code |
ldisc | 2080 | drivers/char/console.c | l = MIN(c, tty->ldisc.receive_room(tty)); |
ldisc | 2081 | drivers/char/console.c | tty->ldisc.receive_buf(tty, bp, 0, l); |
ldisc | 106 | drivers/char/pty.c | o_tty->ldisc.write_wakeup) |
ldisc | 107 | drivers/char/pty.c | (o_tty->ldisc.write_wakeup)(o_tty); |
ldisc | 129 | drivers/char/pty.c | r = to->ldisc.receive_room(to); |
ldisc | 133 | drivers/char/pty.c | to->ldisc.receive_buf(to, temp_buffer, 0, n); |
ldisc | 139 | drivers/char/pty.c | c = MIN(count, to->ldisc.receive_room(to)); |
ldisc | 140 | drivers/char/pty.c | to->ldisc.receive_buf(to, buf, 0, c); |
ldisc | 153 | drivers/char/pty.c | return to->ldisc.receive_room(to); |
ldisc | 160 | drivers/char/pty.c | if (!to || !to->ldisc.chars_in_buffer) |
ldisc | 163 | drivers/char/pty.c | return to->ldisc.chars_in_buffer(to); |
ldisc | 173 | drivers/char/pty.c | if (to->ldisc.flush_buffer) |
ldisc | 174 | drivers/char/pty.c | to->ldisc.flush_buffer(to); |
ldisc | 714 | drivers/char/serial.c | tty->ldisc.write_wakeup) |
ldisc | 715 | drivers/char/serial.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 1306 | drivers/char/serial.c | tty->ldisc.write_wakeup) |
ldisc | 1307 | drivers/char/serial.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 1325 | drivers/char/serial.c | tty->ldisc.chars_in_buffer(tty)); |
ldisc | 1348 | drivers/char/serial.c | tty->ldisc.chars_in_buffer(tty)); |
ldisc | 1795 | drivers/char/serial.c | if (tty->ldisc.flush_buffer) |
ldisc | 1796 | drivers/char/serial.c | tty->ldisc.flush_buffer(tty); |
ldisc | 1799 | drivers/char/serial.c | if (tty->ldisc.num != ldiscs[N_TTY].num) { |
ldisc | 1800 | drivers/char/serial.c | if (tty->ldisc.close) |
ldisc | 1801 | drivers/char/serial.c | (tty->ldisc.close)(tty); |
ldisc | 1802 | drivers/char/serial.c | tty->ldisc = ldiscs[N_TTY]; |
ldisc | 1804 | drivers/char/serial.c | if (tty->ldisc.open) |
ldisc | 1805 | drivers/char/serial.c | (tty->ldisc.open)(tty); |
ldisc | 164 | drivers/char/tty_io.c | static int tty_set_ldisc(struct tty_struct *tty, int ldisc) |
ldisc | 169 | drivers/char/tty_io.c | if ((ldisc < N_TTY) || (ldisc >= NR_LDISCS) || |
ldisc | 170 | drivers/char/tty_io.c | !(ldiscs[ldisc].flags & LDISC_FLAG_DEFINED)) |
ldisc | 173 | drivers/char/tty_io.c | if (tty->ldisc.num == ldisc) |
ldisc | 175 | drivers/char/tty_io.c | o_ldisc = tty->ldisc; |
ldisc | 178 | drivers/char/tty_io.c | if (tty->ldisc.close) |
ldisc | 179 | drivers/char/tty_io.c | (tty->ldisc.close)(tty); |
ldisc | 182 | drivers/char/tty_io.c | tty->ldisc = ldiscs[ldisc]; |
ldisc | 183 | drivers/char/tty_io.c | tty->termios->c_line = ldisc; |
ldisc | 184 | drivers/char/tty_io.c | if (tty->ldisc.open) |
ldisc | 185 | drivers/char/tty_io.c | retval = (tty->ldisc.open)(tty); |
ldisc | 187 | drivers/char/tty_io.c | tty->ldisc = o_ldisc; |
ldisc | 188 | drivers/char/tty_io.c | tty->termios->c_line = tty->ldisc.num; |
ldisc | 189 | drivers/char/tty_io.c | if (tty->ldisc.open && (tty->ldisc.open(tty) < 0)) { |
ldisc | 190 | drivers/char/tty_io.c | tty->ldisc = ldiscs[N_TTY]; |
ldisc | 192 | drivers/char/tty_io.c | if (tty->ldisc.open) { |
ldisc | 193 | drivers/char/tty_io.c | int r = tty->ldisc.open(tty); |
ldisc | 202 | drivers/char/tty_io.c | if (tty->ldisc.num != o_ldisc.num && tty->driver.set_ldisc) |
ldisc | 328 | drivers/char/tty_io.c | if (tty->ldisc.flush_buffer) |
ldisc | 329 | drivers/char/tty_io.c | tty->ldisc.flush_buffer(tty); |
ldisc | 333 | drivers/char/tty_io.c | tty->ldisc.write_wakeup) |
ldisc | 334 | drivers/char/tty_io.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 342 | drivers/char/tty_io.c | if (tty->ldisc.num != ldiscs[N_TTY].num) { |
ldisc | 343 | drivers/char/tty_io.c | if (tty->ldisc.close) |
ldisc | 344 | drivers/char/tty_io.c | (tty->ldisc.close)(tty); |
ldisc | 345 | drivers/char/tty_io.c | tty->ldisc = ldiscs[N_TTY]; |
ldisc | 347 | drivers/char/tty_io.c | if (tty->ldisc.open) { |
ldisc | 348 | drivers/char/tty_io.c | i = (tty->ldisc.open)(tty); |
ldisc | 627 | drivers/char/tty_io.c | tty->ldisc.write_wakeup) |
ldisc | 628 | drivers/char/tty_io.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 659 | drivers/char/tty_io.c | if (tty->ldisc.read) |
ldisc | 661 | drivers/char/tty_io.c | i = (tty->ldisc.read)(tty,file,(unsigned char *)buf,(unsigned int)count); |
ldisc | 695 | drivers/char/tty_io.c | if (tty->ldisc.write) |
ldisc | 697 | drivers/char/tty_io.c | i = (tty->ldisc.write)(tty,file,(unsigned char *)buf,(unsigned int)count); |
ldisc | 817 | drivers/char/tty_io.c | if (tty->ldisc.open) { |
ldisc | 818 | drivers/char/tty_io.c | retval = (tty->ldisc.open)(tty); |
ldisc | 842 | drivers/char/tty_io.c | if (o_tty->ldisc.open) { |
ldisc | 843 | drivers/char/tty_io.c | retval = (o_tty->ldisc.open)(o_tty); |
ldisc | 999 | drivers/char/tty_io.c | if (tty->ldisc.close) |
ldisc | 1000 | drivers/char/tty_io.c | (tty->ldisc.close)(tty); |
ldisc | 1001 | drivers/char/tty_io.c | tty->ldisc = ldiscs[N_TTY]; |
ldisc | 1143 | drivers/char/tty_io.c | if (tty->ldisc.select) |
ldisc | 1144 | drivers/char/tty_io.c | return (tty->ldisc.select)(tty, inode, filp, sel_type, wait); |
ldisc | 1249 | drivers/char/tty_io.c | tty->ldisc.receive_buf(tty, &ch, &mbz, 1); |
ldisc | 1375 | drivers/char/tty_io.c | put_fs_long(tty->ldisc.num, (unsigned long *) arg); |
ldisc | 1421 | drivers/char/tty_io.c | if (tty->ldisc.ioctl) { |
ldisc | 1422 | drivers/char/tty_io.c | retval = (tty->ldisc.ioctl)(tty, file, |
ldisc | 1454 | drivers/char/tty_io.c | if (tty->ldisc.flush_buffer) |
ldisc | 1455 | drivers/char/tty_io.c | tty->ldisc.flush_buffer(tty); |
ldisc | 1514 | drivers/char/tty_io.c | tty->ldisc.receive_buf(tty, cp, fp, count); |
ldisc | 1524 | drivers/char/tty_io.c | tty->ldisc = ldiscs[N_TTY]; |
ldisc | 123 | drivers/char/tty_ioctl.c | if ((opt & TERMIOS_FLUSH) && tty->ldisc.flush_buffer) |
ldisc | 124 | drivers/char/tty_ioctl.c | tty->ldisc.flush_buffer(tty); |
ldisc | 166 | drivers/char/tty_ioctl.c | if (tty->ldisc.set_termios) |
ldisc | 167 | drivers/char/tty_ioctl.c | (*tty->ldisc.set_termios)(tty, &old_termios); |
ldisc | 278 | drivers/char/tty_ioctl.c | if (tty->ldisc.flush_buffer) |
ldisc | 279 | drivers/char/tty_ioctl.c | tty->ldisc.flush_buffer(tty); |
ldisc | 282 | drivers/char/tty_ioctl.c | if (tty->ldisc.flush_buffer) |
ldisc | 283 | drivers/char/tty_ioctl.c | tty->ldisc.flush_buffer(tty); |
ldisc | 240 | drivers/char/vt.c | if (tty->ldisc.flush_buffer) |
ldisc | 241 | drivers/char/vt.c | tty->ldisc.flush_buffer(tty); |
ldisc | 532 | drivers/net/ppp.c | if (tty->ldisc.flush_buffer) |
ldisc | 533 | drivers/net/ppp.c | tty->ldisc.flush_buffer(tty); |
ldisc | 700 | drivers/net/slip.c | if (tty->ldisc.flush_buffer) |
ldisc | 701 | drivers/net/slip.c | tty->ldisc.flush_buffer(tty); |
ldisc | 191 | include/linux/tty.h | struct tty_ldisc ldisc; |