Searched refs:termios_rwsem (Results 1 – 9 of 9) sorted by relevance
110 down_write(&tty->termios_rwsem); in tty_throttle()116 up_write(&tty->termios_rwsem); in tty_throttle()135 down_write(&tty->termios_rwsem); in tty_unthrottle()140 up_write(&tty->termios_rwsem); in tty_unthrottle()556 down_write(&tty->termios_rwsem); in tty_set_termios()572 up_write(&tty->termios_rwsem); in tty_set_termios()599 down_read(&tty->termios_rwsem); in set_termios()601 up_read(&tty->termios_rwsem); in set_termios()653 down_read(&tty->termios_rwsem); in copy_termios()655 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()1705 down_read(&tty->termios_rwsem); in n_tty_receive_buf_common()1763 up_read(&tty->termios_rwsem); in n_tty_receive_buf_common()[all …]
425 down_write(&tty->termios_rwsem); in tty_set_termios_ldisc()427 up_write(&tty->termios_rwsem); in tty_set_termios_ldisc()575 down_read(&tty->termios_rwsem); in tty_set_ldisc()577 up_read(&tty->termios_rwsem); in tty_set_ldisc()610 down_write(&tty->termios_rwsem); in tty_reset_termios()614 up_write(&tty->termios_rwsem); in tty_reset_termios()
1285 down_read(&tty->termios_rwsem); in tty_send_xchar()1287 up_read(&tty->termios_rwsem); in tty_send_xchar()1294 down_read(&tty->termios_rwsem); in tty_send_xchar()1300 up_read(&tty->termios_rwsem); in tty_send_xchar()3152 init_rwsem(&tty->termios_rwsem); in alloc_tty_struct()
402 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()
449 down_read(&nu->tty->termios_rwsem); in nci_uart_set_config()451 up_read(&nu->tty->termios_rwsem); in nci_uart_set_config()
1231 down_write(&tty->termios_rwsem); in uart_ioctl()1233 up_write(&tty->termios_rwsem); in uart_ioctl()1237 down_write(&tty->termios_rwsem); in uart_ioctl()1239 up_write(&tty->termios_rwsem); in uart_ioctl()
274 struct rw_semaphore termios_rwsem; member