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

/linux-4.4.14/drivers/misc/
H A Datmel-ssc.c24 static DEFINE_SPINLOCK(user_lock);
32 spin_lock(&user_lock); ssc_request()
47 spin_unlock(&user_lock); ssc_request()
53 spin_unlock(&user_lock); ssc_request()
58 spin_unlock(&user_lock); ssc_request()
70 spin_lock(&user_lock); ssc_free()
77 spin_unlock(&user_lock); ssc_free()
197 spin_lock(&user_lock); ssc_probe()
199 spin_unlock(&user_lock); ssc_probe()
213 spin_lock(&user_lock); ssc_remove()
215 spin_unlock(&user_lock); ssc_remove()
/linux-4.4.14/drivers/iio/buffer/
H A Dkfifo_buf.c15 struct mutex user_lock; member in struct:iio_kfifo
36 mutex_lock(&buf->user_lock); iio_request_update_kfifo()
46 mutex_unlock(&buf->user_lock); iio_request_update_kfifo()
96 if (mutex_lock_interruptible(&kf->user_lock)) iio_read_first_n_kfifo()
103 mutex_unlock(&kf->user_lock); iio_read_first_n_kfifo()
115 mutex_lock(&kf->user_lock); iio_kfifo_buf_data_available()
117 mutex_unlock(&kf->user_lock); iio_kfifo_buf_data_available()
126 mutex_destroy(&kf->user_lock); iio_kfifo_buffer_release()
155 mutex_init(&kf->user_lock); iio_kfifo_allocate()
/linux-4.4.14/drivers/macintosh/
H A Dmediabay.c70 int user_lock; member in struct:media_bay_info
429 bay->user_lock = 1; lock_media_bay()
442 if (bay->user_lock) { unlock_media_bay()
443 bay->user_lock = 0; unlock_media_bay()

Completed in 203 milliseconds