Searched refs:o_tty (Results 1 – 4 of 4) sorted by relevance
362 struct tty_struct *o_tty; in pty_common_install() local380 if (!o_tty) in pty_common_install()383 tty_set_lock_subclass(o_tty); in pty_common_install()390 tty_init_termios(o_tty); in pty_common_install()392 driver->other->ttys[idx] = o_tty; in pty_common_install()406 tty->link = o_tty; in pty_common_install()407 o_tty->link = tty; in pty_common_install()412 o_tty->port = ports[0]; in pty_common_install()414 o_tty->port->itty = o_tty; in pty_common_install()416 tty_buffer_set_lock_subclass(o_tty->port); in pty_common_install()[all …]
743 int tty_ldisc_setup(struct tty_struct *tty, struct tty_struct *o_tty) in tty_ldisc_setup() argument750 if (o_tty) { in tty_ldisc_setup()755 retval = tty_ldisc_open(o_tty, o_tty->ldisc); in tty_ldisc_setup()773 struct tty_struct *o_tty = tty->link; in tty_ldisc_release() local780 tty_ldisc_lock_pair(tty, o_tty); in tty_ldisc_release()782 if (o_tty) in tty_ldisc_release()783 tty_ldisc_kill(o_tty); in tty_ldisc_release()784 tty_ldisc_unlock_pair(tty, o_tty); in tty_ldisc_release()
1629 if (o_tty->link != tty) { in tty_release_checks()1718 struct tty_struct *o_tty = NULL; in tty_release() local1735 o_tty = tty->link; in tty_release()1748 tty_lock_slave(o_tty); in tty_release()1776 if (o_tty && o_tty->count <= 1) { in tty_release()1800 if (o_tty) { in tty_release()1801 if (--o_tty->count < 0) { in tty_release()1803 o_tty->count = 0; in tty_release()1832 if (o_tty) in tty_release()1838 final = !tty->count && !(o_tty && o_tty->count); in tty_release()[all …]
98 int tty_ldisc_setup(struct tty_struct *tty, struct tty_struct *o_tty);
Completed in 13 milliseconds