tag | line | file | source code |
ldisc | 2481 | drivers/char/console.c | l = MIN(c, tty->ldisc.receive_room(tty)); |
ldisc | 2482 | drivers/char/console.c | tty->ldisc.receive_buf(tty, bp, 0, l); |
ldisc | 897 | drivers/char/cyclades.c | && tty->ldisc.write_wakeup){ |
ldisc | 898 | drivers/char/cyclades.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 1599 | drivers/char/cyclades.c | && tty->ldisc.write_wakeup) |
ldisc | 1600 | drivers/char/cyclades.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 1620 | drivers/char/cyclades.c | tty->ldisc.chars_in_buffer(tty)); |
ldisc | 1661 | drivers/char/cyclades.c | tty->ldisc.chars_in_buffer(tty)); |
ldisc | 2066 | drivers/char/cyclades.c | if (tty->ldisc.flush_buffer) |
ldisc | 2067 | drivers/char/cyclades.c | tty->ldisc.flush_buffer(tty); |
ldisc | 2070 | drivers/char/cyclades.c | if (tty->ldisc.num != ldiscs[N_TTY].num) { |
ldisc | 2071 | drivers/char/cyclades.c | if (tty->ldisc.close) |
ldisc | 2072 | drivers/char/cyclades.c | (tty->ldisc.close)(tty); |
ldisc | 2073 | drivers/char/cyclades.c | tty->ldisc = ldiscs[N_TTY]; |
ldisc | 2075 | drivers/char/cyclades.c | if (tty->ldisc.open) |
ldisc | 2076 | drivers/char/cyclades.c | (tty->ldisc.open)(tty); |
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 | 730 | drivers/char/serial.c | tty->ldisc.write_wakeup) |
ldisc | 731 | drivers/char/serial.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 1320 | drivers/char/serial.c | tty->ldisc.write_wakeup) |
ldisc | 1321 | drivers/char/serial.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 1339 | drivers/char/serial.c | tty->ldisc.chars_in_buffer(tty)); |
ldisc | 1362 | drivers/char/serial.c | tty->ldisc.chars_in_buffer(tty)); |
ldisc | 1897 | drivers/char/serial.c | if (tty->ldisc.flush_buffer) |
ldisc | 1898 | drivers/char/serial.c | tty->ldisc.flush_buffer(tty); |
ldisc | 1901 | drivers/char/serial.c | if (tty->ldisc.num != ldiscs[N_TTY].num) { |
ldisc | 1902 | drivers/char/serial.c | if (tty->ldisc.close) |
ldisc | 1903 | drivers/char/serial.c | (tty->ldisc.close)(tty); |
ldisc | 1904 | drivers/char/serial.c | tty->ldisc = ldiscs[N_TTY]; |
ldisc | 1906 | drivers/char/serial.c | if (tty->ldisc.open) |
ldisc | 1907 | drivers/char/serial.c | (tty->ldisc.open)(tty); |
ldisc | 201 | drivers/char/tty_io.c | static int tty_set_ldisc(struct tty_struct *tty, int ldisc) |
ldisc | 206 | drivers/char/tty_io.c | if ((ldisc < N_TTY) || (ldisc >= NR_LDISCS) || |
ldisc | 207 | drivers/char/tty_io.c | !(ldiscs[ldisc].flags & LDISC_FLAG_DEFINED)) |
ldisc | 210 | drivers/char/tty_io.c | if (tty->ldisc.num == ldisc) |
ldisc | 212 | drivers/char/tty_io.c | o_ldisc = tty->ldisc; |
ldisc | 215 | drivers/char/tty_io.c | if (tty->ldisc.close) |
ldisc | 216 | drivers/char/tty_io.c | (tty->ldisc.close)(tty); |
ldisc | 219 | drivers/char/tty_io.c | tty->ldisc = ldiscs[ldisc]; |
ldisc | 220 | drivers/char/tty_io.c | tty->termios->c_line = ldisc; |
ldisc | 221 | drivers/char/tty_io.c | if (tty->ldisc.open) |
ldisc | 222 | drivers/char/tty_io.c | retval = (tty->ldisc.open)(tty); |
ldisc | 224 | drivers/char/tty_io.c | tty->ldisc = o_ldisc; |
ldisc | 225 | drivers/char/tty_io.c | tty->termios->c_line = tty->ldisc.num; |
ldisc | 226 | drivers/char/tty_io.c | if (tty->ldisc.open && (tty->ldisc.open(tty) < 0)) { |
ldisc | 227 | drivers/char/tty_io.c | tty->ldisc = ldiscs[N_TTY]; |
ldisc | 229 | drivers/char/tty_io.c | if (tty->ldisc.open) { |
ldisc | 230 | drivers/char/tty_io.c | int r = tty->ldisc.open(tty); |
ldisc | 239 | drivers/char/tty_io.c | if (tty->ldisc.num != o_ldisc.num && tty->driver.set_ldisc) |
ldisc | 366 | drivers/char/tty_io.c | if (tty->ldisc.flush_buffer) |
ldisc | 367 | drivers/char/tty_io.c | tty->ldisc.flush_buffer(tty); |
ldisc | 371 | drivers/char/tty_io.c | tty->ldisc.write_wakeup) |
ldisc | 372 | drivers/char/tty_io.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 380 | drivers/char/tty_io.c | if (tty->ldisc.num != ldiscs[N_TTY].num) { |
ldisc | 381 | drivers/char/tty_io.c | if (tty->ldisc.close) |
ldisc | 382 | drivers/char/tty_io.c | (tty->ldisc.close)(tty); |
ldisc | 383 | drivers/char/tty_io.c | tty->ldisc = ldiscs[N_TTY]; |
ldisc | 385 | drivers/char/tty_io.c | if (tty->ldisc.open) { |
ldisc | 386 | drivers/char/tty_io.c | i = (tty->ldisc.open)(tty); |
ldisc | 675 | drivers/char/tty_io.c | tty->ldisc.write_wakeup) |
ldisc | 676 | drivers/char/tty_io.c | (tty->ldisc.write_wakeup)(tty); |
ldisc | 707 | drivers/char/tty_io.c | if (tty->ldisc.read) |
ldisc | 709 | drivers/char/tty_io.c | i = (tty->ldisc.read)(tty,file,(unsigned char *)buf,(unsigned int)count); |
ldisc | 743 | drivers/char/tty_io.c | if (tty->ldisc.write) |
ldisc | 745 | drivers/char/tty_io.c | i = (tty->ldisc.write)(tty,file,(unsigned char *)buf,(unsigned int)count); |
ldisc | 865 | drivers/char/tty_io.c | if (tty->ldisc.open) { |
ldisc | 866 | drivers/char/tty_io.c | retval = (tty->ldisc.open)(tty); |
ldisc | 890 | drivers/char/tty_io.c | if (o_tty->ldisc.open) { |
ldisc | 891 | drivers/char/tty_io.c | retval = (o_tty->ldisc.open)(o_tty); |
ldisc | 1052 | drivers/char/tty_io.c | if (tty->ldisc.close) |
ldisc | 1053 | drivers/char/tty_io.c | (tty->ldisc.close)(tty); |
ldisc | 1054 | drivers/char/tty_io.c | tty->ldisc = ldiscs[N_TTY]; |
ldisc | 1057 | drivers/char/tty_io.c | if (o_tty->ldisc.close) |
ldisc | 1058 | drivers/char/tty_io.c | (o_tty->ldisc.close)(o_tty); |
ldisc | 1059 | drivers/char/tty_io.c | o_tty->ldisc = ldiscs[N_TTY]; |
ldisc | 1199 | drivers/char/tty_io.c | if (tty->ldisc.select) |
ldisc | 1200 | drivers/char/tty_io.c | return (tty->ldisc.select)(tty, inode, filp, sel_type, wait); |
ldisc | 1311 | drivers/char/tty_io.c | tty->ldisc.receive_buf(tty, &ch, &mbz, 1); |
ldisc | 1437 | drivers/char/tty_io.c | put_fs_long(tty->ldisc.num, (unsigned long *) arg); |
ldisc | 1507 | drivers/char/tty_io.c | if (tty->ldisc.ioctl) { |
ldisc | 1508 | drivers/char/tty_io.c | retval = (tty->ldisc.ioctl)(tty, file, |
ldisc | 1543 | drivers/char/tty_io.c | if (tty->ldisc.flush_buffer) |
ldisc | 1544 | drivers/char/tty_io.c | tty->ldisc.flush_buffer(tty); |
ldisc | 1603 | drivers/char/tty_io.c | tty->ldisc.receive_buf(tty, cp, fp, count); |
ldisc | 1613 | drivers/char/tty_io.c | tty->ldisc = ldiscs[N_TTY]; |
ldisc | 130 | drivers/char/tty_ioctl.c | if ((opt & TERMIOS_FLUSH) && tty->ldisc.flush_buffer) |
ldisc | 131 | drivers/char/tty_ioctl.c | tty->ldisc.flush_buffer(tty); |
ldisc | 173 | drivers/char/tty_ioctl.c | if (tty->ldisc.set_termios) |
ldisc | 174 | drivers/char/tty_ioctl.c | (*tty->ldisc.set_termios)(tty, &old_termios); |
ldisc | 285 | drivers/char/tty_ioctl.c | if (tty->ldisc.flush_buffer) |
ldisc | 286 | drivers/char/tty_ioctl.c | tty->ldisc.flush_buffer(tty); |
ldisc | 289 | drivers/char/tty_ioctl.c | if (tty->ldisc.flush_buffer) |
ldisc | 290 | drivers/char/tty_ioctl.c | tty->ldisc.flush_buffer(tty); |
ldisc | 267 | drivers/char/vt.c | if (tty->ldisc.flush_buffer) |
ldisc | 268 | 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 | 696 | drivers/net/slip.c | if (tty->ldisc.flush_buffer) { |
ldisc | 697 | drivers/net/slip.c | tty->ldisc.flush_buffer(tty); |
ldisc | 197 | include/linux/tty.h | struct tty_ldisc ldisc; |