atomic64_cmpxchg
emit_mov_i(ctx, MIPS_R_T9, (u32)&atomic64_cmpxchg);
if (atomic64_cmpxchg(&mem->mapped, 1, 0) != 1) {
if (atomic64_cmpxchg(&fs_info->em_shrinker_nr_to_scan, 0, nr_to_scan) != 0)
atomic64_cmpxchg(&HFS_SB(sb)->next_id,
atomic64_cmpxchg(&HFS_SB(sb)->next_id,
#define local64_cmpxchg(l, o, n) atomic64_cmpxchg((&(l)->a), (o), (n))
BPF_R0 = (u64) atomic64_cmpxchg(
if (atomic64_cmpxchg(&res->watermark, old, new_usage) == old)
max_wait = atomic64_cmpxchg(&max_lock_wait,
atomic64_cmpxchg(&sk->sk_cookie, res, new);
rcv_wnd = atomic64_cmpxchg(&msk->rcv_wnd_sent, rcv_wnd_old, rcv_wnd_new);
return atomic64_cmpxchg(v, old, new);
atomic64_cmpxchg(counter, COUNTER_PRE_INIT, init);