Home
last modified time | relevance | path

Searched refs:atomic_read_lock (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/tty/
H A Dn_tty.c126 struct mutex atomic_read_lock; member
1915 mutex_init(&ldata->atomic_read_lock); in n_tty_open()
1947 * Called under the ldata->atomic_read_lock sem
2006 * Called under the atomic_read_lock mutex
2170 * If so, we still hold the atomic_read_lock and the in n_tty_read()
2193 mutex_unlock(&ldata->atomic_read_lock); in n_tty_read()
2206 if (!mutex_trylock(&ldata->atomic_read_lock)) in n_tty_read()
2209 if (mutex_lock_interruptible(&ldata->atomic_read_lock)) in n_tty_read()
2299 * and atomic_read_lock still held, the retries in n_tty_read()
2322 mutex_unlock(&ldata->atomic_read_lock); in n_tty_read()
[all...]
/kernel/linux/linux-6.6/drivers/tty/
H A Dn_tty.c128 struct mutex atomic_read_lock; member
1917 mutex_init(&ldata->atomic_read_lock); in n_tty_open()
1953 * * called under the @ldata->atomic_read_lock sem
2007 * * called under the %atomic_read_lock mutex
2167 * If so, we still hold the atomic_read_lock and the in n_tty_read()
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()
2296 * and atomic_read_lock still held, the retries in n_tty_read()
2325 mutex_unlock(&ldata->atomic_read_lock); in n_tty_read()
[all...]

Completed in 7 milliseconds