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()
481 down_write(&tty->termios_rwsem); in set_termiox()
484 up_write(&tty->termios_rwsem); in set_termiox()
519 down_read(&tty->termios_rwsem); in get_sgttyb()
525 up_read(&tty->termios_rwsem); in get_sgttyb()
580 down_write(&tty->termios_rwsem); in set_sgttyb()
590 up_write(&tty->termios_rwsem); in set_sgttyb()
601 down_read(&tty->termios_rwsem); in get_tchars()
608 up_read(&tty->termios_rwsem); in get_tchars()
618 down_write(&tty->termios_rwsem); in set_tchars()
625 up_write(&tty->termios_rwsem); in set_tchars()
635 down_read(&tty->termios_rwsem); in get_ltchars()
644 up_read(&tty->termios_rwsem); in get_ltchars()
655 down_write(&tty->termios_rwsem); in set_ltchars()
664 up_write(&tty->termios_rwsem); in set_ltchars()
684 down_write(&tty->termios_rwsem); in tty_change_softcar()
692 up_write(&tty->termios_rwsem); in tty_change_softcar()
795 down_write(&real_tty->termios_rwsem); in tty_mode_ioctl()
797 up_write(&real_tty->termios_rwsem); in tty_mode_ioctl()
812 down_write(&real_tty->termios_rwsem); in tty_mode_ioctl()
814 up_write(&real_tty->termios_rwsem); in tty_mode_ioctl()
822 down_read(&real_tty->termios_rwsem); in tty_mode_ioctl()
824 up_read(&real_tty->termios_rwsem); in tty_mode_ioctl()