atomic_cmpxchg
__r = atomic_cmpxchg##type((_p), __o, (_n)); \
while ((old = atomic_cmpxchg(v, c, c c_op i)) != c) \
while ((old = atomic_cmpxchg(v, c, c c_op i)) != c) \
while ((old = atomic_cmpxchg(v, c, pstate[c])) != c)
atomic_cmpxchg(&dwork->work.state,
atomic_cmpxchg(&dwork->work.state,
while ((old = atomic_cmpxchg(v, c, pstate[c])) != c)
if (atomic_cmpxchg(&iwqp->flush_issued, 0, 1))
if (!atomic_cmpxchg(&iwcq->armed, 0, 1) || promo_event) {
return atomic_cmpxchg(&uobj->usecnt, 0, -1) == 0 ? 0 : -EBUSY;