Searched refs:atomic_read_lock (Results 1 – 1 of 1) sorted by relevance
122 struct mutex atomic_read_lock; member 1906 mutex_init(&ldata->atomic_read_lock); in n_tty_open() 1942 * * called under the @ldata->atomic_read_lock sem1997 * * called under the %atomic_read_lock mutex2115 * We still hold the atomic_read_lock and the termios_rwsem, and can just2142 mutex_unlock(&ldata->atomic_read_lock); in n_tty_continue_cookie() 2219 if (!mutex_trylock(&ldata->atomic_read_lock)) in n_tty_read() 2222 if (mutex_lock_interruptible(&ldata->atomic_read_lock)) in n_tty_read() 2306 mutex_unlock(&ldata->atomic_read_lock); in n_tty_read() 2317 * NOTE! We return here with both the termios_sem and atomic_read_lock in n_tty_read() [all...]