atomic_long_try_cmpxchg
} while (!atomic_long_try_cmpxchg(&user->locked_vm, &cur_pages, new_pages));
} while (!atomic_long_try_cmpxchg(&zram->stats.max_used_pages,
} while (!atomic_long_try_cmpxchg(&pages->source_user->locked_vm,
if (atomic_long_try_cmpxchg(&sem->count, &count, count - LDSEM_ACTIVE_BIAS))
if (atomic_long_try_cmpxchg(&sem->count, &count, count + adjust)) {
if (atomic_long_try_cmpxchg(&sem->count, &count, count + adjust))
if (atomic_long_try_cmpxchg(&sem->count, &count, count + LDSEM_READ_BIAS)) {
if (atomic_long_try_cmpxchg(&sem->count, &count, count - adjust))
#define local_try_cmpxchg(l, po, n) atomic_long_try_cmpxchg((&(l)->a), (po), (n))
if (likely(atomic_long_try_cmpxchg(&ref->refcnt, &old, FILE_REF_DEAD)))
} while (!atomic_long_try_cmpxchg(&info->unwind_mask, &bits, 0UL));
} while (!atomic_long_try_cmpxchg(&user->locked_vm,
} while (!atomic_long_try_cmpxchg(&mem->used_hiwater,
if (atomic_long_try_cmpxchg(&sem->owner, &val,
} while (!atomic_long_try_cmpxchg(&sem->owner, &owner,
atomic_long_try_cmpxchg(&ACCESS_PRIVATE(con, nbcon_prev_seq), &ulseq,
if (atomic_long_try_cmpxchg(&ACCESS_PRIVATE(con, nbcon_seq), &nbcon_seq,
if (!atomic_long_try_cmpxchg(&desc->state_var, &prev_state_val,
} while (!atomic_long_try_cmpxchg(&data_ring->head_lpos, &begin_lpos,
if (!atomic_long_try_cmpxchg(&data_ring->head_lpos, &head_lpos,
if (!atomic_long_try_cmpxchg(&d->state_var, &prev_state_val,
if (!atomic_long_try_cmpxchg(&d->state_var, &prev_state_val,
if (atomic_long_try_cmpxchg(&data_ring->tail_lpos, &tail_lpos,
} while (!atomic_long_try_cmpxchg(&desc_ring->head_id, &head_id,
if (atomic_long_try_cmpxchg(&p->scx.ops_state, &opss,
if (likely(atomic_long_try_cmpxchg(&p->scx.ops_state, &opss,
} while (!atomic_long_try_cmpxchg(v, &c, c+1));
while (!atomic_long_try_cmpxchg(ptr, &val,
KUNIT_EXPECT_KASAN_FAIL(test, atomic_long_try_cmpxchg(unsafe, safe, 42));
KUNIT_EXPECT_KASAN_FAIL(test, atomic_long_try_cmpxchg(safe, unsafe, 42));
if (!atomic_long_try_cmpxchg(&si->inuse_pages, &pages,
if (atomic_long_try_cmpxchg(&si->inuse_pages, &pages,
} while (!atomic_long_try_cmpxchg(
} while (!atomic_long_try_cmpxchg(&user->locked_vm, &old_pg, new_pg));