Lines Matching refs:mtx
64 * adu_device.mtx: A mutex to hold across sleepers like copy_from_user.
71 struct mutex mtx;
356 if (mutex_lock_interruptible(&dev->mtx))
501 mutex_unlock(&dev->mtx);
519 retval = mutex_lock_interruptible(&dev->mtx);
544 mutex_unlock(&dev->mtx);
559 retval = mutex_lock_interruptible(&dev->mtx);
613 mutex_unlock(&dev->mtx);
617 mutex_unlock(&dev->mtx);
667 mutex_init(&dev->mtx);
776 mutex_lock(&dev->mtx); /* not interruptible */
778 mutex_unlock(&dev->mtx);