Lines Matching refs:lock
277 DRM_DEBUG("Process %d dead, freeing lock for context %d",
278 DRM_CURRENTPID, _DRM_LOCKING_CONTEXT(master->lock.hw_lock->lock));
279 (void) drm_lock_free(&master->lock,
280 _DRM_LOCKING_CONTEXT(master->lock.hw_lock->lock));
314 * If the hardware lock is held then free it, and take it again for the kernel
341 /* if the master has gone away we can't do anything with the lock */
390 * possibility to lock.
393 if (master->lock.hw_lock) {
394 master->lock.hw_lock = NULL;
395 master->lock.file_priv = NULL;