Lines Matching refs:termios_rwsem

110 	down_write(&tty->termios_rwsem);  in tty_throttle()
116 up_write(&tty->termios_rwsem); in tty_throttle()
135 down_write(&tty->termios_rwsem); in tty_unthrottle()
140 up_write(&tty->termios_rwsem); in tty_unthrottle()
556 down_write(&tty->termios_rwsem); in tty_set_termios()
572 up_write(&tty->termios_rwsem); in tty_set_termios()
599 down_read(&tty->termios_rwsem); in set_termios()
601 up_read(&tty->termios_rwsem); in set_termios()
653 down_read(&tty->termios_rwsem); in copy_termios()
655 up_read(&tty->termios_rwsem); in copy_termios()
660 down_read(&tty->termios_rwsem); in copy_termios_locked()
662 up_read(&tty->termios_rwsem); in copy_termios_locked()
709 down_write(&tty->termios_rwsem); in set_termiox()
712 up_write(&tty->termios_rwsem); in set_termiox()
747 down_read(&tty->termios_rwsem); in get_sgttyb()
753 up_read(&tty->termios_rwsem); in get_sgttyb()
808 down_write(&tty->termios_rwsem); in set_sgttyb()
818 up_write(&tty->termios_rwsem); in set_sgttyb()
829 down_read(&tty->termios_rwsem); in get_tchars()
836 up_read(&tty->termios_rwsem); in get_tchars()
846 down_write(&tty->termios_rwsem); in set_tchars()
853 up_write(&tty->termios_rwsem); in set_tchars()
863 down_read(&tty->termios_rwsem); in get_ltchars()
872 up_read(&tty->termios_rwsem); in get_ltchars()
883 down_write(&tty->termios_rwsem); in set_ltchars()
892 up_write(&tty->termios_rwsem); in set_ltchars()
912 down_write(&tty->termios_rwsem); in tty_change_softcar()
920 up_write(&tty->termios_rwsem); in tty_change_softcar()
1023 down_write(&real_tty->termios_rwsem); in tty_mode_ioctl()
1025 up_write(&real_tty->termios_rwsem); in tty_mode_ioctl()
1040 down_write(&real_tty->termios_rwsem); in tty_mode_ioctl()
1042 up_write(&real_tty->termios_rwsem); in tty_mode_ioctl()
1050 down_read(&real_tty->termios_rwsem); in tty_mode_ioctl()
1052 up_read(&real_tty->termios_rwsem); in tty_mode_ioctl()