Home
last modified time | relevance | path

Searched refs:user_lock (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/iio/buffer/
H A Dkfifo_buf.c19 struct mutex user_lock; member
47 mutex_lock(&buf->user_lock); in iio_request_update_kfifo()
57 mutex_unlock(&buf->user_lock); in iio_request_update_kfifo()
106 if (mutex_lock_interruptible(&kf->user_lock)) in iio_read_kfifo()
113 mutex_unlock(&kf->user_lock); in iio_read_kfifo()
125 mutex_lock(&kf->user_lock); in iio_kfifo_buf_data_available()
127 mutex_unlock(&kf->user_lock); in iio_kfifo_buf_data_available()
136 mutex_destroy(&kf->user_lock); in iio_kfifo_buffer_release()
146 mutex_lock(&kf->user_lock); in iio_kfifo_buf_space_available()
148 mutex_unlock(&kf->user_lock); in iio_kfifo_buf_space_available()
[all …]
/linux/drivers/misc/
H A Datmel-ssc.c23 static DEFINE_MUTEX(user_lock);
31 mutex_lock(&user_lock); in ssc_request()
47 mutex_unlock(&user_lock); in ssc_request()
53 mutex_unlock(&user_lock); in ssc_request()
58 mutex_unlock(&user_lock); in ssc_request()
70 mutex_lock(&user_lock); in ssc_free()
77 mutex_unlock(&user_lock); in ssc_free()
239 mutex_lock(&user_lock); in ssc_probe()
241 mutex_unlock(&user_lock); in ssc_probe()
260 mutex_lock(&user_lock); in ssc_remove()
[all …]
/linux/drivers/macintosh/
H A Dmediabay.c66 int user_lock; member
425 bay->user_lock = 1; in lock_media_bay()
438 if (bay->user_lock) { in unlock_media_bay()
439 bay->user_lock = 0; in unlock_media_bay()