tag | line | file | source code |
o_tty | 102 | drivers/char/pty.c | struct tty_struct *o_tty = tty->link; |
o_tty | 104 | drivers/char/pty.c | if (!o_tty) |
o_tty | 107 | drivers/char/pty.c | if ((o_tty->flags & (1 << TTY_DO_WRITE_WAKEUP)) && |
o_tty | 108 | drivers/char/pty.c | o_tty->ldisc.write_wakeup) |
o_tty | 109 | drivers/char/pty.c | (o_tty->ldisc.write_wakeup)(o_tty); |
o_tty | 110 | drivers/char/pty.c | wake_up_interruptible(&o_tty->write_wait); |
o_tty | 798 | drivers/char/tty_io.c | struct tty_struct *tty, **tty_loc, *o_tty, **o_tty_loc; |
o_tty | 810 | drivers/char/tty_io.c | tty = o_tty = NULL; |
o_tty | 856 | drivers/char/tty_io.c | if (!*o_tty_loc && !o_tty) { |
o_tty | 859 | drivers/char/tty_io.c | o_tty = (struct tty_struct *) |
o_tty | 861 | drivers/char/tty_io.c | if (!o_tty) |
o_tty | 865 | drivers/char/tty_io.c | initialize_tty_struct(o_tty); |
o_tty | 866 | drivers/char/tty_io.c | o_tty->device = o_device; |
o_tty | 867 | drivers/char/tty_io.c | o_tty->driver = *driver->other; |
o_tty | 931 | drivers/char/tty_io.c | o_tty->termios = *o_tp_loc; |
o_tty | 932 | drivers/char/tty_io.c | o_tty->termios_locked = *o_ltp_loc; |
o_tty | 933 | drivers/char/tty_io.c | *o_tty_loc = o_tty; |
o_tty | 935 | drivers/char/tty_io.c | if (o_tty->ldisc.open) { |
o_tty | 936 | drivers/char/tty_io.c | retval = (o_tty->ldisc.open)(o_tty); |
o_tty | 939 | drivers/char/tty_io.c | o_tty = NULL; |
o_tty | 943 | drivers/char/tty_io.c | o_tty = NULL; |
o_tty | 956 | drivers/char/tty_io.c | if (o_tty) |
o_tty | 957 | drivers/char/tty_io.c | free_page((unsigned long) o_tty); |
o_tty | 976 | drivers/char/tty_io.c | struct tty_struct *tty, *o_tty; |
o_tty | 1023 | drivers/char/tty_io.c | o_tty = tty->link; |
o_tty | 1024 | drivers/char/tty_io.c | o_tp = (o_tty) ? o_tty->termios : NULL; |
o_tty | 1025 | drivers/char/tty_io.c | o_ltp = (o_tty) ? o_tty->termios_locked : NULL; |
o_tty | 1029 | drivers/char/tty_io.c | if (o_tty != tty->driver.other->table[idx]) { |
o_tty | 1048 | drivers/char/tty_io.c | if (o_tty->link != tty) { |
o_tty | 1076 | drivers/char/tty_io.c | if (o_tty) { |
o_tty | 1077 | drivers/char/tty_io.c | if (o_tty->count) |
o_tty | 1098 | drivers/char/tty_io.c | if (o_tty && (*p)->tty == o_tty) |
o_tty | 1110 | drivers/char/tty_io.c | if (o_tty) { |
o_tty | 1111 | drivers/char/tty_io.c | if (o_tty->ldisc.close) |
o_tty | 1112 | drivers/char/tty_io.c | (o_tty->ldisc.close)(o_tty); |
o_tty | 1113 | drivers/char/tty_io.c | o_tty->ldisc = ldiscs[N_TTY]; |
o_tty | 1121 | drivers/char/tty_io.c | if (tty == redirect || o_tty == redirect) |
o_tty | 1146 | drivers/char/tty_io.c | if (o_tty) { |
o_tty | 1147 | drivers/char/tty_io.c | o_tty->magic = 0; |
o_tty | 1148 | drivers/char/tty_io.c | (*o_tty->driver.refcount)--; |
o_tty | 1149 | drivers/char/tty_io.c | free_page((unsigned long) o_tty); |