atomic64_xchg
#define xchg_xen_ulong(ptr, val) atomic64_xchg(container_of((long long*)(ptr),\
asid = atomic64_xchg(&per_cpu(active_asids, i), 0);
&& atomic64_xchg(&per_cpu(active_asids, cpu), asid))
return atomic64_xchg(v, a);
if (atomic64_xchg(&vm->kfd_last_flushed_seq, tlb_seq) == tlb_seq)
} while (atomic64_xchg(&rdev->fence_drv[ring].last_seq, seq) > seq);
total += atomic64_xchg(&cgs->total_bytes, 0);
lat += atomic64_xchg(&cgs->rx_latency, 0);
rcv += atomic64_xchg(&cgs->rcv_bytes, 0);
return atomic64_xchg(&vnode->cb_expires_at, AFS_NO_CB_PROMISE) != AFS_NO_CB_PROMISE;
#define local64_xchg(l, n) atomic64_xchg((&(l)->a), (n))
SRC = (u64) atomic64_xchg(
pkts = atomic64_xchg(&counter[dir].packets, 0);
bytes = atomic64_xchg(&counter[dir].bytes, 0);
pkts = atomic64_xchg(&acct->pkts, 0);
bytes = atomic64_xchg(&acct->bytes, 0);
consumed = atomic64_xchg(priv->consumed, 0);
return atomic64_xchg(v, new);