Lines Matching refs:termios_rwsem
114 down_write(&tty->termios_rwsem); in tty_unthrottle()
119 up_write(&tty->termios_rwsem); in tty_unthrottle()
352 down_write(&tty->termios_rwsem); in tty_set_termios()
368 up_write(&tty->termios_rwsem); in tty_set_termios()
395 down_read(&tty->termios_rwsem); in set_termios()
397 up_read(&tty->termios_rwsem); in set_termios()
449 down_read(&tty->termios_rwsem); in copy_termios()
451 up_read(&tty->termios_rwsem); in copy_termios()
456 down_read(&tty->termios_rwsem); in copy_termios_locked()
458 up_read(&tty->termios_rwsem); in copy_termios_locked()
498 down_read(&tty->termios_rwsem); in get_sgttyb()
504 up_read(&tty->termios_rwsem); in get_sgttyb()
559 down_write(&tty->termios_rwsem); in set_sgttyb()
569 up_write(&tty->termios_rwsem); in set_sgttyb()
580 down_read(&tty->termios_rwsem); in get_tchars()
587 up_read(&tty->termios_rwsem); in get_tchars()
597 down_write(&tty->termios_rwsem); in set_tchars()
604 up_write(&tty->termios_rwsem); in set_tchars()
614 down_read(&tty->termios_rwsem); in get_ltchars()
623 up_read(&tty->termios_rwsem); in get_ltchars()
634 down_write(&tty->termios_rwsem); in set_ltchars()
643 up_write(&tty->termios_rwsem); in set_ltchars()
663 down_write(&tty->termios_rwsem); in tty_change_softcar()
671 up_write(&tty->termios_rwsem); in tty_change_softcar()
774 down_write(&real_tty->termios_rwsem); in tty_mode_ioctl()
776 up_write(&real_tty->termios_rwsem); in tty_mode_ioctl()
791 down_write(&real_tty->termios_rwsem); in tty_mode_ioctl()
793 up_write(&real_tty->termios_rwsem); in tty_mode_ioctl()