Home
last modified time | relevance | path

Searched refs:o_tty (Results 1 – 4 of 4) sorted by relevance

/linux-6.3-rc2/drivers/tty/
A Dpty.c362 struct tty_struct *o_tty; in pty_common_install() local
380 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 …]
A Dtty_ldisc.c738 int tty_ldisc_setup(struct tty_struct *tty, struct tty_struct *o_tty) in tty_ldisc_setup() argument
745 if (o_tty) { in tty_ldisc_setup()
750 retval = tty_ldisc_open(o_tty, o_tty->ldisc); in tty_ldisc_setup()
768 struct tty_struct *o_tty = tty->link; in tty_ldisc_release() local
775 tty_ldisc_lock_pair(tty, o_tty); in tty_ldisc_release()
777 if (o_tty) in tty_ldisc_release()
778 tty_ldisc_kill(o_tty); in tty_ldisc_release()
779 tty_ldisc_unlock_pair(tty, o_tty); in tty_ldisc_release()
A Dtty_io.c1637 if (o_tty->link != tty) { in tty_release_checks()
1726 struct tty_struct *o_tty = NULL; in tty_release() local
1743 o_tty = tty->link; in tty_release()
1756 tty_lock_slave(o_tty); in tty_release()
1784 if (o_tty && o_tty->count <= 1) { in tty_release()
1808 if (o_tty) { in tty_release()
1809 if (--o_tty->count < 0) { in tty_release()
1811 o_tty->count = 0; in tty_release()
1840 if (o_tty) in tty_release()
1846 final = !tty->count && !(o_tty && o_tty->count); in tty_release()
[all …]
A Dtty.h91 int tty_ldisc_setup(struct tty_struct *tty, struct tty_struct *o_tty);

Completed in 13 milliseconds