Lines Matching refs:mutex
19 #include <linux/mutex.h>
222 mutex_init(&dev->mutex);
233 mutex_init(&dev->vqs[i].mutex);
243 /* Caller should have device mutex */
273 /* Caller should have device mutex */
310 /* Caller should have device mutex */
327 /* Caller should have device mutex */
380 /* Caller should have vq mutex and device mutex. */
406 /* Caller should have device mutex but not vq mutex */
413 mutex_lock(&d->vqs[i].mutex);
420 mutex_unlock(&d->vqs[i].mutex);
440 /* Caller should have device mutex but not vq mutex */
447 /* Caller should have vq mutex and device mutex */
458 /* Caller should have vq mutex and device mutex */
527 mutex_lock(&vq->mutex);
697 mutex_unlock(&vq->mutex);
704 /* Caller must have device mutex */
742 mutex_lock(&vq->mutex);
748 mutex_unlock(&vq->mutex);
768 mutex_lock(&d->vqs[i].mutex);
770 mutex_unlock(&d->vqs[i].mutex);