Searched refs:termios_rwsem (Results 1 – 9 of 9) 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 …]
358 down_write(&tty->termios_rwsem); in n_tty_flush_buffer()364 up_write(&tty->termios_rwsem); in n_tty_flush_buffer()1115 up_read(&tty->termios_rwsem); in isig()1116 down_write(&tty->termios_rwsem); in isig()1136 up_write(&tty->termios_rwsem); in isig()1137 down_read(&tty->termios_rwsem); in isig()1690 down_read(&tty->termios_rwsem); in n_tty_receive_buf_common()1748 up_read(&tty->termios_rwsem); in n_tty_receive_buf_common()2144 down_read(&tty->termios_rwsem); in n_tty_read()2182 up_read(&tty->termios_rwsem); in n_tty_read()[all …]
428 down_write(&tty->termios_rwsem); in tty_set_termios_ldisc()430 up_write(&tty->termios_rwsem); in tty_set_termios_ldisc()586 down_read(&tty->termios_rwsem); in tty_set_ldisc()588 up_read(&tty->termios_rwsem); in tty_set_ldisc()638 down_write(&tty->termios_rwsem); in tty_reset_termios()642 up_write(&tty->termios_rwsem); in tty_reset_termios()
1079 down_read(&tty->termios_rwsem); in tty_send_xchar()1081 up_read(&tty->termios_rwsem); in tty_send_xchar()1088 down_read(&tty->termios_rwsem); in tty_send_xchar()1094 up_read(&tty->termios_rwsem); in tty_send_xchar()2832 init_rwsem(&tty->termios_rwsem); in alloc_tty_struct()
403 lockdep_set_subclass(&o_tty->termios_rwsem, TTY_LOCK_SLAVE); in pty_common_install()
133 down_read(&tty->termios_rwsem); in get_termios()135 up_read(&tty->termios_rwsem); in get_termios()
442 down_read(&nu->tty->termios_rwsem); in nci_uart_set_config()444 up_read(&nu->tty->termios_rwsem); in nci_uart_set_config()
1333 down_write(&tty->termios_rwsem); in uart_ioctl()1335 up_write(&tty->termios_rwsem); in uart_ioctl()1339 down_write(&tty->termios_rwsem); in uart_ioctl()1341 up_write(&tty->termios_rwsem); in uart_ioctl()
298 struct rw_semaphore termios_rwsem; member