Searched refs:termios_rwsem (Results 1 – 11 of 11) sorted by relevance
103 down_write(&tty->termios_rwsem); in tty_unthrottle()108 up_write(&tty->termios_rwsem); in tty_unthrottle()337 down_write(&tty->termios_rwsem); in tty_set_termios()355 up_write(&tty->termios_rwsem); in tty_set_termios()457 down_read(&tty->termios_rwsem); in set_termios()459 up_read(&tty->termios_rwsem); in set_termios()532 down_read(&tty->termios_rwsem); in copy_termios()534 up_read(&tty->termios_rwsem); in copy_termios()539 down_read(&tty->termios_rwsem); in copy_termios_locked()541 up_read(&tty->termios_rwsem); in copy_termios_locked()[all …]
358 down_write(&tty->termios_rwsem); in n_tty_flush_buffer()364 up_write(&tty->termios_rwsem); in n_tty_flush_buffer()1099 up_read(&tty->termios_rwsem); in isig()1100 down_write(&tty->termios_rwsem); in isig()1120 up_write(&tty->termios_rwsem); in isig()1121 down_read(&tty->termios_rwsem); in isig()1702 down_read(&tty->termios_rwsem); in n_tty_receive_buf_common()1771 up_read(&tty->termios_rwsem); in n_tty_receive_buf_common()1898 down_write(&tty->termios_rwsem); in n_tty_close()1901 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()
1151 down_read(&tty->termios_rwsem); in tty_send_xchar()1153 up_read(&tty->termios_rwsem); in tty_send_xchar()1160 down_read(&tty->termios_rwsem); in tty_send_xchar()1166 up_read(&tty->termios_rwsem); in tty_send_xchar()3129 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()
1059 down_write(&tty->termios_rwsem); in uart_set_info_user()1070 up_write(&tty->termios_rwsem); in uart_set_info_user()1603 down_write(&tty->termios_rwsem); in uart_ioctl()1605 up_write(&tty->termios_rwsem); in uart_ioctl()1631 down_write(&tty->termios_rwsem); in uart_ioctl()1674 up_write(&tty->termios_rwsem); in uart_ioctl()
202 struct rw_semaphore termios_rwsem; member
2695 down_write(&tty->termios_rwsem); in serial8250_update_uartclk()2710 up_write(&tty->termios_rwsem); in serial8250_update_uartclk()