Lines Matching refs:new
198 unsigned int old, new, prev;
205 new = old | _DRM_LOCK_CONT;
207 new = context | _DRM_LOCK_HELD |
211 prev = cmpxchg(lock, old, new);
225 if ((_DRM_LOCKING_CONTEXT(new)) == context && (new & _DRM_LOCK_HELD)) {
248 unsigned int old, new, prev;
254 new = context | _DRM_LOCK_HELD;
255 prev = cmpxchg(lock, old, new);
273 unsigned int old, new, prev;
287 new = _DRM_LOCKING_CONTEXT(old);
288 prev = cmpxchg(lock, old, new);
315 unsigned int old, new, prev;
326 new = old | _DRM_LOCK_CONT;
327 prev = cmpxchg(&s->lock->lock, old, new);