Searched refs:user_lock (Results 1 – 3 of 3) sorted by relevance
19 struct mutex user_lock; member47 mutex_lock(&buf->user_lock); in iio_request_update_kfifo()57 mutex_unlock(&buf->user_lock); in iio_request_update_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()146 mutex_lock(&kf->user_lock); in iio_kfifo_buf_space_available()148 mutex_unlock(&kf->user_lock); in iio_kfifo_buf_space_available()176 mutex_lock(&kf->user_lock); in iio_kfifo_write()181 mutex_unlock(&kf->user_lock); in iio_kfifo_write()[all …]
23 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 …]
66 int user_lock; member425 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()