Lines Matching refs:tty_mutex
136 DEFINE_MUTEX(tty_mutex);
137 EXPORT_SYMBOL(tty_mutex);
302 * Locking: caller must hold tty_mutex
346 mutex_lock(&tty_mutex);
364 mutex_unlock(&tty_mutex);
760 * tty_mutex is taken to protect tty
1185 * Locking: tty_mutex must be held. If tty is found, the mutex must
1206 * the tty_mutex currently so we can be relaxed about ordering.
1243 * Locking: tty_mutex for now
1273 * Locking: tty_mutex for now
1290 * Locking: tty_mutex must be held from the time the tty was found
1335 * The function is called under the tty_mutex, which
1435 * tty_mutex - sometimes only
1624 mutex_lock(&tty_mutex);
1657 mutex_unlock(&tty_mutex);
1716 mutex_unlock(&tty_mutex);
1760 * Locking: tty_mutex protects tty, get_tty_driver and tty_init_dev work.
1781 mutex_lock(&tty_mutex);
1788 mutex_unlock(&tty_mutex);
1819 mutex_unlock(&tty_mutex);
1826 mutex_unlock(&tty_mutex);
1836 mutex_unlock(&tty_mutex);
1848 mutex_unlock(&tty_mutex);
1902 mutex_lock(&tty_mutex);
1912 mutex_unlock(&tty_mutex);
2168 * Takes tty_mutex() to protect tty instance
2179 mutex_lock(&tty_mutex);
2208 mutex_unlock(&tty_mutex);
2967 mutex_lock(&tty_mutex);
2969 mutex_unlock(&tty_mutex);
2989 mutex_lock(&tty_mutex);
2991 mutex_unlock(&tty_mutex);