Home
last modified time | relevance | path

Searched refs:TTY_PTY_LOCK (Results 1 – 2 of 2) sorted by relevance

/linux-4.1.27/drivers/tty/
Dpty.c153 set_bit(TTY_PTY_LOCK, &tty->flags); in pty_set_lock()
155 clear_bit(TTY_PTY_LOCK, &tty->flags); in pty_set_lock()
161 int locked = test_bit(TTY_PTY_LOCK, &tty->flags); in pty_get_lock()
239 if (test_bit(TTY_PTY_LOCK, &tty->link->flags)) in pty_open()
769 set_bit(TTY_PTY_LOCK, &tty->flags); /* LOCK THE SLAVE */ in ptmx_open()
/linux-4.1.27/include/linux/
Dtty.h343 #define TTY_PTY_LOCK 16 /* pty private */ macro