Searched refs:termios_rwsem (Results 1 - 11 of 11) sorted by relevance

/linux-master/drivers/tty/
H A Dtty_ioctl.c94 * the &tty_struct->termios_rwsem to protect against parallel
103 down_write(&tty->termios_rwsem);
108 up_write(&tty->termios_rwsem);
321 * Locking: &tty_struct->termios_rwsem
337 down_write(&tty->termios_rwsem);
355 up_write(&tty->termios_rwsem);
444 * &tty_struct->termios_rwsem locks
457 down_read(&tty->termios_rwsem);
459 up_read(&tty->termios_rwsem);
532 down_read(&tty->termios_rwsem);
[all...]
H A Dn_tty.c107 /* must hold exclusive termios_rwsem to reset these */
195 * * Caller holds exclusive %termios_rwsem, or
197 * holds non-exclusive %termios_rwsem
299 * caller holds non-exclusive %termios_rwsem
315 * * caller holds exclusive %termios_rwsem, or
351 * Holds %termios_rwsem to exclude producer/consumer while buffer indices are
354 * Locking: %ctrl.lock, exclusive %termios_rwsem
358 down_write(&tty->termios_rwsem);
364 up_write(&tty->termios_rwsem);
946 * caller holds non-exclusive %termios_rwsem
[all...]
H A Dtty_ldisc.c405 * Locking: takes termios_rwsem
409 down_write(&tty->termios_rwsem);
411 up_write(&tty->termios_rwsem);
565 down_read(&tty->termios_rwsem);
567 up_read(&tty->termios_rwsem);
621 down_write(&tty->termios_rwsem);
625 up_write(&tty->termios_rwsem);
H A Dtty_io.c571 * * termios_rwsem resetting termios data
1157 down_read(&tty->termios_rwsem);
1159 up_read(&tty->termios_rwsem);
1166 down_read(&tty->termios_rwsem);
1172 up_read(&tty->termios_rwsem);
3129 init_rwsem(&tty->termios_rwsem);
H A Dpty.c384 lockdep_set_subclass(&o_tty->termios_rwsem, TTY_LOCK_SLAVE);
/linux-master/drivers/accessibility/speakup/
H A Dspk_ttyio.c138 down_read(&tty->termios_rwsem);
140 up_read(&tty->termios_rwsem);
/linux-master/net/nfc/nci/
H A Duart.c410 down_read(&nu->tty->termios_rwsem);
412 up_read(&nu->tty->termios_rwsem);
/linux-master/drivers/usb/serial/
H A Dxr_serial.c852 down_read(&tty->termios_rwsem);
854 up_read(&tty->termios_rwsem);
857 up_read(&tty->termios_rwsem);
873 down_write(&tty->termios_rwsem);
876 up_write(&tty->termios_rwsem);
/linux-master/include/linux/
H A Dtty.h138 * @termios_rwsem: protects @termios and @termios_locked
206 struct rw_semaphore termios_rwsem; member in struct:tty_struct
/linux-master/drivers/tty/serial/
H A Dserial_core.c1044 down_write(&tty->termios_rwsem);
1055 up_write(&tty->termios_rwsem);
1598 down_write(&tty->termios_rwsem);
1600 up_write(&tty->termios_rwsem);
1626 down_write(&tty->termios_rwsem);
1669 up_write(&tty->termios_rwsem);
/linux-master/drivers/tty/serial/8250/
H A D8250_port.c2698 down_write(&tty->termios_rwsem);
2713 up_write(&tty->termios_rwsem);

Completed in 147 milliseconds