Searched refs:o_tty (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/tty/ |
D | pty.c | 372 struct tty_struct *o_tty; in pty_common_install() local 389 o_tty = alloc_tty_struct(driver->other, idx); in pty_common_install() 390 if (!o_tty) in pty_common_install() 393 tty_set_lock_subclass(o_tty); in pty_common_install() 394 lockdep_set_subclass(&o_tty->termios_rwsem, TTY_LOCK_SLAVE); 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() 407 memset(&o_tty->termios_locked, 0, sizeof(tty->termios_locked)); in pty_common_install() 408 o_tty->termios = driver->other->init_termios; in pty_common_install() 416 tty->link = o_tty; in pty_common_install() [all …]
|
D | tty_ldisc.c | 770 int tty_ldisc_setup(struct tty_struct *tty, struct tty_struct *o_tty) in tty_ldisc_setup() argument 776 if (o_tty) { in tty_ldisc_setup() 781 retval = tty_ldisc_open(o_tty, o_tty->ldisc); in tty_ldisc_setup() 800 struct tty_struct *o_tty = tty->link; in tty_ldisc_release() local 807 tty_ldisc_lock_pair(tty, o_tty); in tty_ldisc_release() 809 if (o_tty) in tty_ldisc_release() 810 tty_ldisc_kill(o_tty); in tty_ldisc_release() 811 tty_ldisc_unlock_pair(tty, o_tty); in tty_ldisc_release()
|
D | tty_io.c | 1637 struct tty_struct *o_tty = tty->link; in tty_release_checks() local 1639 if (o_tty != tty->driver->other->ttys[idx]) { in tty_release_checks() 1644 if (o_tty->link != tty) { in tty_release_checks() 1645 tty_debug(tty, "bad link = %p\n", o_tty->link); in tty_release_checks() 1734 struct tty_struct *o_tty = NULL; in tty_release() local 1751 o_tty = tty->link; in tty_release() 1764 tty_lock_slave(o_tty); in tty_release() 1792 if (o_tty && o_tty->count <= 1) { in tty_release() 1793 if (waitqueue_active(&o_tty->read_wait)) { in tty_release() 1794 wake_up_poll(&o_tty->read_wait, EPOLLIN); in tty_release() [all …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | tty.h | 717 extern int tty_ldisc_setup(struct tty_struct *tty, struct tty_struct *o_tty);
|