Searched refs:atomic_read_lock (Results 1 – 1 of 1) sorted by relevance
128 struct mutex atomic_read_lock; member1917 mutex_init(&ldata->atomic_read_lock); in n_tty_open()2190 mutex_unlock(&ldata->atomic_read_lock); in n_tty_read()2203 if (!mutex_trylock(&ldata->atomic_read_lock)) in n_tty_read()2206 if (mutex_lock_interruptible(&ldata->atomic_read_lock)) in n_tty_read()2325 mutex_unlock(&ldata->atomic_read_lock); in n_tty_read()