Lines Matching refs:mutex
51 mutex_lock(&vq->mutex); in handle_vq()
54 mutex_unlock(&vq->mutex); in handle_vq()
93 mutex_unlock(&vq->mutex); in handle_vq()
135 mutex_lock(&vq->mutex); in vhost_test_stop_vq()
138 mutex_unlock(&vq->mutex); in vhost_test_stop_vq()
175 mutex_lock(&n->dev.mutex); in vhost_test_run()
190 mutex_lock(&vq->mutex); in vhost_test_run()
199 mutex_unlock(&vq->mutex); in vhost_test_run()
209 mutex_unlock(&n->dev.mutex); in vhost_test_run()
213 mutex_unlock(&n->dev.mutex); in vhost_test_run()
223 mutex_lock(&n->dev.mutex); in vhost_test_reset_owner()
237 mutex_unlock(&n->dev.mutex); in vhost_test_reset_owner()
245 mutex_lock(&n->dev.mutex); in vhost_test_set_features()
248 mutex_unlock(&n->dev.mutex); in vhost_test_set_features()
252 mutex_lock(&vq->mutex); in vhost_test_set_features()
254 mutex_unlock(&vq->mutex); in vhost_test_set_features()
255 mutex_unlock(&n->dev.mutex); in vhost_test_set_features()
267 mutex_lock(&n->dev.mutex); in vhost_test_set_backend()
277 mutex_lock(&vq->mutex); in vhost_test_set_backend()
295 mutex_unlock(&vq->mutex); in vhost_test_set_backend()
301 mutex_unlock(&n->dev.mutex); in vhost_test_set_backend()
305 mutex_unlock(&vq->mutex); in vhost_test_set_backend()
307 mutex_unlock(&n->dev.mutex); in vhost_test_set_backend()
347 mutex_lock(&n->dev.mutex); in vhost_test_ioctl()
352 mutex_unlock(&n->dev.mutex); in vhost_test_ioctl()