Searched refs:o_tty (Results 1 – 2 of 2) sorted by relevance
362 struct tty_struct *o_tty; in pty_common_install() local379 o_tty = alloc_tty_struct(driver->other, idx); in pty_common_install()380 if (!o_tty) in pty_common_install()383 tty_set_lock_subclass(o_tty); in pty_common_install()384 lockdep_set_subclass(&o_tty->termios_rwsem, TTY_LOCK_SLAVE); 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()397 memset(&o_tty->termios_locked, 0, sizeof(tty->termios_locked)); in pty_common_install()398 o_tty->termios = driver->other->init_termios; in pty_common_install()406 tty->link = o_tty; in pty_common_install()[all …]
98 int tty_ldisc_setup(struct tty_struct *tty, struct tty_struct *o_tty);