Lines Matching refs:termios_rwsem
103 down_write(&tty->termios_rwsem); in tty_unthrottle()
108 up_write(&tty->termios_rwsem); in tty_unthrottle()
333 down_write(&tty->termios_rwsem); in tty_set_termios()
351 up_write(&tty->termios_rwsem); in tty_set_termios()
453 down_read(&tty->termios_rwsem); in set_termios()
455 up_read(&tty->termios_rwsem); in set_termios()
528 down_read(&tty->termios_rwsem); in copy_termios()
530 up_read(&tty->termios_rwsem); in copy_termios()
535 down_read(&tty->termios_rwsem); in copy_termios_locked()
537 up_read(&tty->termios_rwsem); in copy_termios_locked()
577 down_read(&tty->termios_rwsem); in get_sgttyb()
583 up_read(&tty->termios_rwsem); in get_sgttyb()
638 down_write(&tty->termios_rwsem); in set_sgttyb()
646 up_write(&tty->termios_rwsem); in set_sgttyb()
657 down_read(&tty->termios_rwsem); in get_tchars()
664 up_read(&tty->termios_rwsem); in get_tchars()
674 down_write(&tty->termios_rwsem); in set_tchars()
681 up_write(&tty->termios_rwsem); in set_tchars()
691 down_read(&tty->termios_rwsem); in get_ltchars()
700 up_read(&tty->termios_rwsem); in get_ltchars()
711 down_write(&tty->termios_rwsem); in set_ltchars()
720 up_write(&tty->termios_rwsem); in set_ltchars()
743 down_write(&tty->termios_rwsem); in tty_change_softcar()
751 up_write(&tty->termios_rwsem); in tty_change_softcar()
849 down_write(&real_tty->termios_rwsem); in tty_mode_ioctl()
851 up_write(&real_tty->termios_rwsem); in tty_mode_ioctl()
866 down_write(&real_tty->termios_rwsem); in tty_mode_ioctl()
868 up_write(&real_tty->termios_rwsem); in tty_mode_ioctl()