Lines Matching refs:termios_rwsem

111 	down_write(&tty->termios_rwsem);  in tty_throttle()
117 up_write(&tty->termios_rwsem); in tty_throttle()
136 down_write(&tty->termios_rwsem); in tty_unthrottle()
141 up_write(&tty->termios_rwsem); in tty_unthrottle()
328 down_write(&tty->termios_rwsem); in tty_set_termios()
344 up_write(&tty->termios_rwsem); in tty_set_termios()
371 down_read(&tty->termios_rwsem); in set_termios()
373 up_read(&tty->termios_rwsem); in set_termios()
425 down_read(&tty->termios_rwsem); in copy_termios()
427 up_read(&tty->termios_rwsem); in copy_termios()
432 down_read(&tty->termios_rwsem); in copy_termios_locked()
434 up_read(&tty->termios_rwsem); in copy_termios_locked()
474 down_read(&tty->termios_rwsem); in get_sgttyb()
480 up_read(&tty->termios_rwsem); in get_sgttyb()
535 down_write(&tty->termios_rwsem); in set_sgttyb()
545 up_write(&tty->termios_rwsem); in set_sgttyb()
556 down_read(&tty->termios_rwsem); in get_tchars()
563 up_read(&tty->termios_rwsem); in get_tchars()
573 down_write(&tty->termios_rwsem); in set_tchars()
580 up_write(&tty->termios_rwsem); in set_tchars()
590 down_read(&tty->termios_rwsem); in get_ltchars()
599 up_read(&tty->termios_rwsem); in get_ltchars()
610 down_write(&tty->termios_rwsem); in set_ltchars()
619 up_write(&tty->termios_rwsem); in set_ltchars()
639 down_write(&tty->termios_rwsem); in tty_change_softcar()
647 up_write(&tty->termios_rwsem); in tty_change_softcar()
750 down_write(&real_tty->termios_rwsem); in tty_mode_ioctl()
752 up_write(&real_tty->termios_rwsem); in tty_mode_ioctl()
767 down_write(&real_tty->termios_rwsem); in tty_mode_ioctl()
769 up_write(&real_tty->termios_rwsem); in tty_mode_ioctl()