Searched refs:atomic_read_lock (Results 1 – 1 of 1) sorted by relevance
123 struct mutex atomic_read_lock; member1904 mutex_init(&ldata->atomic_read_lock); in n_tty_open()2137 if (!mutex_trylock(&ldata->atomic_read_lock)) in n_tty_read()2140 if (mutex_lock_interruptible(&ldata->atomic_read_lock)) in n_tty_read()2255 mutex_unlock(&ldata->atomic_read_lock); in n_tty_read()