Lines Matching refs:termios_rwsem

108 	down_write(&tty->termios_rwsem);  in tty_unthrottle()
113 up_write(&tty->termios_rwsem); in tty_unthrottle()
346 down_write(&tty->termios_rwsem); in tty_set_termios()
364 up_write(&tty->termios_rwsem); in tty_set_termios()
465 down_read(&tty->termios_rwsem); in set_termios()
467 up_read(&tty->termios_rwsem); in set_termios()
540 down_read(&tty->termios_rwsem); in copy_termios()
542 up_read(&tty->termios_rwsem); in copy_termios()
547 down_read(&tty->termios_rwsem); in copy_termios_locked()
549 up_read(&tty->termios_rwsem); in copy_termios_locked()
589 down_read(&tty->termios_rwsem); in get_sgttyb()
595 up_read(&tty->termios_rwsem); in get_sgttyb()
650 down_write(&tty->termios_rwsem); in set_sgttyb()
658 up_write(&tty->termios_rwsem); in set_sgttyb()
669 down_read(&tty->termios_rwsem); in get_tchars()
676 up_read(&tty->termios_rwsem); in get_tchars()
686 down_write(&tty->termios_rwsem); in set_tchars()
693 up_write(&tty->termios_rwsem); in set_tchars()
703 down_read(&tty->termios_rwsem); in get_ltchars()
712 up_read(&tty->termios_rwsem); in get_ltchars()
723 down_write(&tty->termios_rwsem); in set_ltchars()
732 up_write(&tty->termios_rwsem); in set_ltchars()
752 down_write(&tty->termios_rwsem); in tty_change_softcar()
760 up_write(&tty->termios_rwsem); in tty_change_softcar()
859 down_write(&real_tty->termios_rwsem); in tty_mode_ioctl()
861 up_write(&real_tty->termios_rwsem); in tty_mode_ioctl()
876 down_write(&real_tty->termios_rwsem); in tty_mode_ioctl()
878 up_write(&real_tty->termios_rwsem); in tty_mode_ioctl()