Searched refs:o_tty (Results 1 – 4 of 4) sorted by relevance
372 struct tty_struct *o_tty; in pty_common_install() local390 if (!o_tty) in pty_common_install()393 tty_set_lock_subclass(o_tty); in pty_common_install()400 tty_init_termios(o_tty); in pty_common_install()402 driver->other->ttys[idx] = o_tty; in pty_common_install()416 tty->link = o_tty; in pty_common_install()417 o_tty->link = tty; in pty_common_install()422 o_tty->port = ports[0]; in pty_common_install()424 o_tty->port->itty = o_tty; in pty_common_install()426 tty_buffer_set_lock_subclass(o_tty->port); in pty_common_install()[all …]
764 int tty_ldisc_setup(struct tty_struct *tty, struct tty_struct *o_tty) in tty_ldisc_setup() argument771 if (o_tty) { in tty_ldisc_setup()776 retval = tty_ldisc_open(o_tty, o_tty->ldisc); in tty_ldisc_setup()795 struct tty_struct *o_tty = tty->link; in tty_ldisc_release() local802 tty_ldisc_lock_pair(tty, o_tty); in tty_ldisc_release()804 if (o_tty) in tty_ldisc_release()805 tty_ldisc_kill(o_tty); in tty_ldisc_release()806 tty_ldisc_unlock_pair(tty, o_tty); in tty_ldisc_release()
1654 if (o_tty->link != tty) { in tty_release_checks()1744 struct tty_struct *o_tty = NULL; in tty_release() local1761 o_tty = tty->link; in tty_release()1774 tty_lock_slave(o_tty); in tty_release()1802 if (o_tty && o_tty->count <= 1) { in tty_release()1826 if (o_tty) { in tty_release()1827 if (--o_tty->count < 0) { in tty_release()1829 o_tty->count = 0; in tty_release()1858 if (o_tty) in tty_release()1864 final = !tty->count && !(o_tty && o_tty->count); in tty_release()[all …]
91 int tty_ldisc_setup(struct tty_struct *tty, struct tty_struct *o_tty);
Completed in 25 milliseconds