Lines Matching full:unplug
75 mutex_lock(&ptdev->unplug.lock);
77 /* Someone beat us, release the lock and wait for the unplug
80 mutex_unlock(&ptdev->unplug.lock);
81 wait_for_completion(&ptdev->unplug.done);
90 /* We do the rest of the unplug with the unplug lock released,
91 * future callers will wait on ptdev->unplug.done anyway.
93 mutex_unlock(&ptdev->unplug.lock);
112 /* Report the unplug operation as done to unblock concurrent
115 complete_all(&ptdev->unplug.done);
174 init_completion(&ptdev->unplug.done);
175 ret = drmm_mutex_init(&ptdev->base, &ptdev->unplug.lock);