Searched refs:atomic_read_lock (Results 1 – 1 of 1) sorted by relevance
125 struct mutex atomic_read_lock; member1919 mutex_init(&ldata->atomic_read_lock); in n_tty_open()2153 if (!mutex_trylock(&ldata->atomic_read_lock)) in n_tty_read()2156 if (mutex_lock_interruptible(&ldata->atomic_read_lock)) in n_tty_read()2271 mutex_unlock(&ldata->atomic_read_lock); in n_tty_read()