Searched refs:atomic_read_lock (Results 1 – 1 of 1) sorted by relevance
129 struct mutex atomic_read_lock; member1884 mutex_init(&ldata->atomic_read_lock); in n_tty_open()2161 mutex_unlock(&ldata->atomic_read_lock); in n_tty_read()2174 if (!mutex_trylock(&ldata->atomic_read_lock)) in n_tty_read()2177 if (mutex_lock_interruptible(&ldata->atomic_read_lock)) in n_tty_read()2290 mutex_unlock(&ldata->atomic_read_lock); in n_tty_read()