Searched refs:termios_rwsem (Results 1 – 11 of 11) sorted by relevance
108 down_write(&tty->termios_rwsem); in tty_unthrottle()113 up_write(&tty->termios_rwsem); in tty_unthrottle()346 down_write(&tty->termios_rwsem); in tty_set_termios()364 up_write(&tty->termios_rwsem); in tty_set_termios()465 down_read(&tty->termios_rwsem); in set_termios()467 up_read(&tty->termios_rwsem); in set_termios()540 down_read(&tty->termios_rwsem); in copy_termios()542 up_read(&tty->termios_rwsem); in copy_termios()547 down_read(&tty->termios_rwsem); in copy_termios_locked()549 up_read(&tty->termios_rwsem); in copy_termios_locked()[all …]
363 down_write(&tty->termios_rwsem); in n_tty_flush_buffer()369 up_write(&tty->termios_rwsem); in n_tty_flush_buffer()1104 up_read(&tty->termios_rwsem); in isig()1105 down_write(&tty->termios_rwsem); in isig()1125 up_write(&tty->termios_rwsem); in isig()1126 down_read(&tty->termios_rwsem); in isig()1707 down_read(&tty->termios_rwsem); in n_tty_receive_buf_common()1776 up_read(&tty->termios_rwsem); in n_tty_receive_buf_common()1903 down_write(&tty->termios_rwsem); in n_tty_close()1906 up_write(&tty->termios_rwsem); in n_tty_close()[all …]
409 down_write(&tty->termios_rwsem); in tty_set_termios_ldisc()411 up_write(&tty->termios_rwsem); in tty_set_termios_ldisc()571 down_read(&tty->termios_rwsem); in tty_set_ldisc()573 up_read(&tty->termios_rwsem); in tty_set_ldisc()627 down_write(&tty->termios_rwsem); in tty_reset_termios()631 up_write(&tty->termios_rwsem); in tty_reset_termios()
1149 down_read(&tty->termios_rwsem); in tty_send_xchar()1151 up_read(&tty->termios_rwsem); in tty_send_xchar()1158 down_read(&tty->termios_rwsem); in tty_send_xchar()1164 up_read(&tty->termios_rwsem); in tty_send_xchar()3105 init_rwsem(&tty->termios_rwsem); in alloc_tty_struct()
384 lockdep_set_subclass(&o_tty->termios_rwsem, TTY_LOCK_SLAVE); in pty_common_install()
852 down_read(&tty->termios_rwsem); in xr_get_rs485_config()854 up_read(&tty->termios_rwsem); in xr_get_rs485_config()857 up_read(&tty->termios_rwsem); in xr_get_rs485_config()873 down_write(&tty->termios_rwsem); in xr_set_rs485_config()876 up_write(&tty->termios_rwsem); in xr_set_rs485_config()
138 down_read(&tty->termios_rwsem); in get_termios()140 up_read(&tty->termios_rwsem); in get_termios()
410 down_read(&nu->tty->termios_rwsem); in nci_uart_set_config()412 up_read(&nu->tty->termios_rwsem); in nci_uart_set_config()
1054 down_write(&tty->termios_rwsem); in uart_set_info_user()1065 up_write(&tty->termios_rwsem); in uart_set_info_user()1602 down_write(&tty->termios_rwsem); in uart_ioctl()1604 up_write(&tty->termios_rwsem); in uart_ioctl()1630 down_write(&tty->termios_rwsem); in uart_ioctl()1673 up_write(&tty->termios_rwsem); in uart_ioctl()
207 struct rw_semaphore termios_rwsem; member
2743 down_write(&tty->termios_rwsem); in serial8250_update_uartclk()2772 up_write(&tty->termios_rwsem); in serial8250_update_uartclk()