Lines Matching refs:termios_rwsem

103 	down_write(&tty->termios_rwsem);  in tty_unthrottle()
108 up_write(&tty->termios_rwsem); in tty_unthrottle()
337 down_write(&tty->termios_rwsem); in tty_set_termios()
355 up_write(&tty->termios_rwsem); in tty_set_termios()
457 down_read(&tty->termios_rwsem); in set_termios()
459 up_read(&tty->termios_rwsem); in set_termios()
532 down_read(&tty->termios_rwsem); in copy_termios()
534 up_read(&tty->termios_rwsem); in copy_termios()
539 down_read(&tty->termios_rwsem); in copy_termios_locked()
541 up_read(&tty->termios_rwsem); in copy_termios_locked()
581 down_read(&tty->termios_rwsem); in get_sgttyb()
587 up_read(&tty->termios_rwsem); in get_sgttyb()
642 down_write(&tty->termios_rwsem); in set_sgttyb()
650 up_write(&tty->termios_rwsem); in set_sgttyb()
661 down_read(&tty->termios_rwsem); in get_tchars()
668 up_read(&tty->termios_rwsem); in get_tchars()
678 down_write(&tty->termios_rwsem); in set_tchars()
685 up_write(&tty->termios_rwsem); in set_tchars()
695 down_read(&tty->termios_rwsem); in get_ltchars()
704 up_read(&tty->termios_rwsem); in get_ltchars()
715 down_write(&tty->termios_rwsem); in set_ltchars()
724 up_write(&tty->termios_rwsem); in set_ltchars()
747 down_write(&tty->termios_rwsem); in tty_change_softcar()
755 up_write(&tty->termios_rwsem); in tty_change_softcar()
853 down_write(&real_tty->termios_rwsem); in tty_mode_ioctl()
855 up_write(&real_tty->termios_rwsem); in tty_mode_ioctl()
870 down_write(&real_tty->termios_rwsem); in tty_mode_ioctl()
872 up_write(&real_tty->termios_rwsem); in tty_mode_ioctl()