Searched refs:termios_rwsem (Results 1 – 10 of 10) sorted by relevance
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()[all …]
368 down_write(&tty->termios_rwsem); in n_tty_flush_buffer()374 up_write(&tty->termios_rwsem); in n_tty_flush_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()1700 down_read(&tty->termios_rwsem); in n_tty_receive_buf_common()1758 up_read(&tty->termios_rwsem); in n_tty_receive_buf_common()2191 up_read(&tty->termios_rwsem); in n_tty_read()2212 down_read(&tty->termios_rwsem); in n_tty_read()[all …]
438 down_write(&tty->termios_rwsem); in tty_set_termios_ldisc()440 up_write(&tty->termios_rwsem); in tty_set_termios_ldisc()598 down_read(&tty->termios_rwsem); in tty_set_ldisc()600 up_read(&tty->termios_rwsem); in tty_set_ldisc()651 down_write(&tty->termios_rwsem); in tty_reset_termios()655 up_write(&tty->termios_rwsem); in tty_reset_termios()
1163 down_read(&tty->termios_rwsem); in tty_send_xchar()1165 up_read(&tty->termios_rwsem); in tty_send_xchar()1172 down_read(&tty->termios_rwsem); in tty_send_xchar()1178 up_read(&tty->termios_rwsem); in tty_send_xchar()3085 init_rwsem(&tty->termios_rwsem); in alloc_tty_struct()
394 lockdep_set_subclass(&o_tty->termios_rwsem, TTY_LOCK_SLAVE); in pty_common_install()
139 down_read(&tty->termios_rwsem); in get_termios()141 up_read(&tty->termios_rwsem); in get_termios()
441 down_read(&nu->tty->termios_rwsem); in nci_uart_set_config()443 up_read(&nu->tty->termios_rwsem); in nci_uart_set_config()
1031 down_write(&tty->termios_rwsem); in uart_set_info_user()1042 up_write(&tty->termios_rwsem); in uart_set_info_user()1444 down_write(&tty->termios_rwsem); in uart_ioctl()1446 up_write(&tty->termios_rwsem); in uart_ioctl()
300 struct rw_semaphore termios_rwsem; member
2673 down_write(&tty->termios_rwsem); in serial8250_update_uartclk()2702 up_write(&tty->termios_rwsem); in serial8250_update_uartclk()