Searched refs:termios_rwsem (Results 1 – 8 of 8) sorted by relevance
104 down_write(&tty->termios_rwsem); in tty_throttle()110 up_write(&tty->termios_rwsem); in tty_throttle()129 down_write(&tty->termios_rwsem); in tty_unthrottle()134 up_write(&tty->termios_rwsem); in tty_unthrottle()553 down_write(&tty->termios_rwsem); in tty_set_termios()569 up_write(&tty->termios_rwsem); in tty_set_termios()596 down_read(&tty->termios_rwsem); in set_termios()598 up_read(&tty->termios_rwsem); in set_termios()650 down_read(&tty->termios_rwsem); in copy_termios()652 up_read(&tty->termios_rwsem); in copy_termios()[all …]
363 down_write(&tty->termios_rwsem); in n_tty_flush_buffer()369 up_write(&tty->termios_rwsem); in n_tty_flush_buffer()388 down_write(&tty->termios_rwsem); in n_tty_chars_in_buffer()390 up_write(&tty->termios_rwsem); in n_tty_chars_in_buffer()1125 up_read(&tty->termios_rwsem); in isig()1126 down_write(&tty->termios_rwsem); in isig()1146 up_write(&tty->termios_rwsem); in isig()1147 down_read(&tty->termios_rwsem); in isig()1712 down_read(&tty->termios_rwsem); in n_tty_receive_buf_common()1770 up_read(&tty->termios_rwsem); in n_tty_receive_buf_common()[all …]
428 down_write(&tty->termios_rwsem); in tty_set_termios_ldisc()430 up_write(&tty->termios_rwsem); in tty_set_termios_ldisc()576 down_read(&tty->termios_rwsem); in tty_set_ldisc()578 up_read(&tty->termios_rwsem); in tty_set_ldisc()611 down_write(&tty->termios_rwsem); in tty_reset_termios()615 up_write(&tty->termios_rwsem); in tty_reset_termios()
1290 down_read(&tty->termios_rwsem); in tty_send_xchar()1292 up_read(&tty->termios_rwsem); in tty_send_xchar()1299 down_read(&tty->termios_rwsem); in tty_send_xchar()1305 up_read(&tty->termios_rwsem); in tty_send_xchar()3159 init_rwsem(&tty->termios_rwsem); in alloc_tty_struct()
397 lockdep_set_subclass(&o_tty->termios_rwsem, TTY_LOCK_SLAVE); in pty_common_install()
126 down_write(&tty->termios_rwsem); in irtty_change_speed()133 up_write(&tty->termios_rwsem); in irtty_change_speed()283 down_write(&tty->termios_rwsem); in irtty_stop_receiver()295 up_write(&tty->termios_rwsem); in irtty_stop_receiver()
1222 down_write(&tty->termios_rwsem); in uart_ioctl()1224 up_write(&tty->termios_rwsem); in uart_ioctl()1228 down_write(&tty->termios_rwsem); in uart_ioctl()1230 up_write(&tty->termios_rwsem); in uart_ioctl()
275 struct rw_semaphore termios_rwsem; member