Lines Matching refs:termios_rwsem

115 	down_write(&tty->termios_rwsem);  in tty_unthrottle()
120 up_write(&tty->termios_rwsem); in tty_unthrottle()
355 down_write(&tty->termios_rwsem); in tty_set_termios()
373 up_write(&tty->termios_rwsem); in tty_set_termios()
474 down_read(&tty->termios_rwsem); in set_termios()
476 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()
740 down_write(&tty->termios_rwsem); in tty_change_softcar()
748 up_write(&tty->termios_rwsem); in tty_change_softcar()
847 down_write(&real_tty->termios_rwsem); in tty_mode_ioctl()
849 up_write(&real_tty->termios_rwsem); in tty_mode_ioctl()
864 down_write(&real_tty->termios_rwsem); in tty_mode_ioctl()
866 up_write(&real_tty->termios_rwsem); in tty_mode_ioctl()