Searched refs:o_tty (Results 1 – 4 of 4) sorted by relevance
465 struct tty_struct *o_tty; in tty_set_ldisc() local493 o_tty = tty->link; in tty_set_ldisc()506 if (o_tty) in tty_set_ldisc()507 clear_bit(TTY_LDISC, &o_tty->flags); in tty_set_ldisc()510 if (tty->ldisc.refcount || (o_tty && o_tty->ldisc.refcount)) { in tty_set_ldisc()527 if (o_tty && o_tty->ldisc.refcount) { in tty_set_ldisc()529 tty_ldisc_put(o_tty->ldisc.ops); in tty_set_ldisc()530 if (wait_event_interruptible(tty_ldisc_wait, o_tty->ldisc.refcount == 0) < 0) in tty_set_ldisc()553 if (o_tty) in tty_set_ldisc()554 set_bit(TTY_LDISC_CHANGING, &o_tty->flags); in tty_set_ldisc()[all …]
79 struct tty_struct *o_tty = tty->link; in pty_unthrottle() local81 if (!o_tty) in pty_unthrottle()84 tty_wakeup(o_tty); in pty_unthrottle()279 struct tty_struct *o_tty; in pty_install() local283 o_tty = alloc_tty_struct(); in pty_install()284 if (!o_tty) in pty_install()288 free_tty_struct(o_tty); in pty_install()291 initialize_tty_struct(o_tty, driver->other, idx); in pty_install()299 retval = tty_init_termios(o_tty); in pty_install()308 driver->other->ttys[idx] = o_tty; in pty_install()[all …]
1525 struct tty_struct *tty, *o_tty; in tty_release_dev() local1545 o_tty = tty->link; in tty_release_dev()1576 if (o_tty != tty->driver->other->ttys[idx]) { in tty_release_dev()1582 if (o_tty->termios != tty->driver->other->termios[idx]) { in tty_release_dev()1588 if (o_tty->link != tty) { in tty_release_dev()1620 o_tty_closing = o_tty && in tty_release_dev()1621 (o_tty->count <= (pty_master ? 1 : 0)); in tty_release_dev()1635 if (waitqueue_active(&o_tty->read_wait)) { in tty_release_dev()1636 wake_up(&o_tty->read_wait); in tty_release_dev()1639 if (waitqueue_active(&o_tty->write_wait)) { in tty_release_dev()[all …]
714 the tty and the o_tty (if present) aren't a process's