Symbol: try_cmpxchg
arch/arm64/include/asm/pgtable.h
1837
if (!try_cmpxchg(&pte_val(*ptep), &old, pte_val(new_pte)))
arch/s390/kvm/gaccess.c
160
} while (!try_cmpxchg(&ic->val, &old.val, new.val));
arch/s390/kvm/gaccess.c
178
} while (!try_cmpxchg(&ic->val, &old.val, new.val));
arch/s390/kvm/gaccess.c
199
} while (!try_cmpxchg(&ic->val, &old.val, new.val));
arch/s390/kvm/gaccess.c
213
} while (!try_cmpxchg(&ic->val, &old.val, new.val));
arch/s390/kvm/interrupt.c
201
} while (!try_cmpxchg(&gisa->u64.word[0], &word, _word));
arch/s390/kvm/interrupt.c
222
} while (!try_cmpxchg(&gisa->u64.word[0], &word, _word));
arch/s390/kvm/interrupt.c
247
} while (!try_cmpxchg(&gi->origin->u64.word[0], &word, _word));
arch/s390/kvm/kvm-s390.c
2017
} while (!try_cmpxchg(&sca->utility.val, &old.val, new.val));
arch/x86/events/amd/core.c
442
if (try_cmpxchg(nb->owners + i, &tmp, NULL))
arch/x86/events/amd/uncore.c
225
if (try_cmpxchg(&ctx->events[i], &tmp, event)) {
arch/x86/events/amd/uncore.c
261
if (try_cmpxchg(&ctx->events[i], &tmp, NULL))
arch/x86/include/asm/pgtable.h
1284
} while (!try_cmpxchg((long *)&ptep->pte, (long *)&old_pte, *(long *)&new_pte));
arch/x86/include/asm/pgtable.h
1295
return try_cmpxchg((long *)&ptep->pte, (long *)&old_pte, *(long *)&new_pte);
arch/x86/include/asm/pgtable.h
1356
} while (!try_cmpxchg((long *)pmdp, (long *)&old_pmd, *(long *)&new_pmd));
arch/x86/kernel/acpi/boot.c
1806
} while (!try_cmpxchg(lock, &old, new));
arch/x86/kernel/acpi/boot.c
1821
} while (!try_cmpxchg(lock, &old, new));
arch/x86/kernel/kvm.c
682
if (try_cmpxchg(&src->preempted, &state,
arch/x86/kvm/lapic.c
690
!try_cmpxchg(p_irr, &prev_irr_val, irr_val));
arch/x86/mm/pat/memtype.c
168
} while (!try_cmpxchg(&pg->flags.f, &old_flags, new_flags));
arch/x86/xen/p2m.c
563
if (try_cmpxchg(top_mfn_p, &missing_mfn, mid_mfn_mfn)) {
block/blk-core.c
1066
likely(try_cmpxchg(&part->bd_stamp, &stamp, now)) &&
drivers/char/random.c
727
} while (!try_cmpxchg(&input_pool.init_bits, &orig, new));
drivers/gpu/drm/i915/gt/intel_gt_requests.c
107
while (!try_cmpxchg(&engine->retire, &first, tl));
drivers/gpu/drm/i915/i915_active.c
215
return try_cmpxchg(__active_fence_slot(active), &fence, NULL);
drivers/gpu/drm/i915/i915_request.c
585
} while (!try_cmpxchg(&rq->fence.error, &old, error));
drivers/hv/hyperv_vmbus.h
374
if (!try_cmpxchg(&msg->header.message_type,
drivers/hv/mshv_eventfd.c
132
if (!try_cmpxchg(&vp->vp_register_page->interrupt_vectors.as_uint64,
drivers/infiniband/ulp/rtrs/rtrs-clt.c
2308
if (try_cmpxchg((struct rtrs_clt_path **)ppcpu_path, &clt_path,
drivers/md/raid5-cache.c
1570
} while (!try_cmpxchg(&log->reclaim_target, &target, new));
drivers/nvme/target/core.c
751
} while (!try_cmpxchg(&req->sq->sqhd, &old_sqhd, new_sqhd));
fs/dcache.c
2733
if (!(n & 1) && try_cmpxchg(&dir->i_dir_seq, &n, n + 1))
fs/ext4/inode.c
889
} while (unlikely(!try_cmpxchg(&bh->b_state, &old_state, new_state)));
fs/inode.c
2930
if (try_cmpxchg(&inode->i_ctime_nsec, &cur, now.tv_nsec)) {
fs/inode.c
3005
if (try_cmpxchg(&inode->i_ctime_nsec, &cur, update.tv_nsec)) {
fs/kernfs/inode.c
52
if (!try_cmpxchg(&kn->iattr, &attr, ret))
fs/libfs.c
2205
if (likely(try_cmpxchg(stashed, &old, dentry)))
fs/posix_acl.c
184
if (unlikely(!try_cmpxchg(p, &sentinel, acl)))
fs/splice.c
55
} while (!try_cmpxchg(&file->f_mode, &fmode, fmode & ~FMODE_NOWAIT));
fs/super.c
2212
if (!try_cmpxchg(&sb->s_dio_done_wq, &old, wq)) {
include/linux/bitops.h
372
} while (!try_cmpxchg(ptr, &old__, new__)); \
include/linux/bitops.h
389
} while (!try_cmpxchg(ptr, &old__, new__)); \
include/linux/llist.h
242
} while (!try_cmpxchg(&head->first, &first, new_first));
include/linux/mm.h
2496
} while (unlikely(!try_cmpxchg(&page->flags.f, &old_flags, flags)));
include/linux/netdevice.h
645
} while (!try_cmpxchg(&n->state, &val, new));
include/linux/pgalloc_tag.h
157
} while (unlikely(!try_cmpxchg(&page->flags.f, &old_flags, flags)));
include/net/af_vsock.h
295
if (try_cmpxchg(&net->vsock.child_ns_mode_locked,
include/rv/da_monitor.h
696
if (likely(try_cmpxchg(&da_mon->curr_state, &curr_state, next_state))) {
io_uring/mpscq.h
118
if (try_cmpxchg(&q->tail, &head, &q->stub)) {
kernel/cgroup/rstat.c
118
if (!try_cmpxchg(&rstatc->lnode.next, &self, NULL))
kernel/events/core.c
5424
if (try_cmpxchg(&task->perf_ctx_data, &old, cd)) {
kernel/events/core.c
5435
if (try_cmpxchg(&task->perf_ctx_data, &cd, NULL))
kernel/events/core.c
5554
if (try_cmpxchg((struct perf_ctx_data **)&p->perf_ctx_data, &cd, NULL))
kernel/events/uprobes.c
830
if (try_cmpxchg(&hprobe->state, &hstate, uprobe ? HPROBE_STABLE : HPROBE_GONE)) {
kernel/locking/qspinlock_paravirt.h
217
if (try_cmpxchg(&he->lock, &old, lock)) {
kernel/rcu/tree.c
3970
!try_cmpxchg(&rcu_barrier_last_throttle, &old, j)) {
kernel/sched/core.c
1042
} while (!try_cmpxchg(_ptr, &_val, _val | _mask)); \
kernel/sched/core.c
1073
} while (!try_cmpxchg(&ti->flags, &val, val | _TIF_NEED_RESCHED));
kernel/sched/fair.c
1849
if (!try_cmpxchg(&mm->sc_stat.next_scan, &next_scan,
kernel/sched/fair.c
4131
if (!try_cmpxchg(&mm->numa_next_scan, &migrate, next_scan))
kernel/task_work.c
138
} else if (try_cmpxchg(pprev, &work, work->next))
kernel/task_work.c
219
} while (!try_cmpxchg(&task->task_works, &work, head));
kernel/task_work.c
78
} while (!try_cmpxchg(&task->task_works, &head, work));
kernel/trace/ring_buffer.c
1446
return try_cmpxchg(ptr, &val, (unsigned long)&new->list);
kernel/trace/ring_buffer.c
1508
if (try_cmpxchg(&cpu_buffer->tail_page, &tail_page, next_page))
kernel/trace/ring_buffer.c
3139
if (try_cmpxchg(&prev_page->next,
kernel/trace/simple_ring_buffer.c
44
return try_cmpxchg(link, &old, new);
kernel/unwind/deferred.c
28
return try_cmpxchg(&info->id.cnt, &old, cnt);
lib/genalloc.c
54
} while (!try_cmpxchg(addr, &val, val | mask_to_set));
lib/genalloc.c
68
} while (!try_cmpxchg(addr, &val, val & ~mask_to_clear));
lib/llist.c
40
} while (!try_cmpxchg(&head->first, &entry, next));
lib/llist.c
68
} while (!try_cmpxchg(&head->first, &entry, next));
mm/kasan/tags.c
123
if (!try_cmpxchg(&entry->ptr, &old_ptr, STACK_RING_BUSY_PTR))
mm/memcontrol.c
2981
} while (!try_cmpxchg(&current->objcg, &old, objcg));
mm/mmzone.c
109
} while (unlikely(!try_cmpxchg(&folio->flags.f, &old_flags, flags)));
mm/page_alloc.c
474
} while (!try_cmpxchg(bitmap_word, &word, (word & ~mask) | flags));
mm/swap.c
449
} while (!try_cmpxchg(&folio->flags.f, &old_flags, new_flags));
mm/vmscan.c
3217
} while (!try_cmpxchg(&folio->flags.f, &old_flags, new_flags));
mm/vmscan.c
3242
} while (!try_cmpxchg(&folio->flags.f, &old_flags, new_flags));
net/bridge/br_netlink.c
1015
} while (!try_cmpxchg(&p->flags, &old_flags, flags));
net/core/dev.c
4244
} while (!try_cmpxchg(&q->defer_list.first, &first_n, &skb->ll_node));
net/core/dev.c
6756
} while (!try_cmpxchg(&n->state, &val, new));
net/core/dev.c
6837
} while (!try_cmpxchg(&n->state, &val, new));
net/core/dev.c
7177
if (try_cmpxchg(&napi->state, &val, new))
net/core/dev.c
7626
} while (!try_cmpxchg(&n->state, &val, new));
net/core/dev.c
7670
} while (!try_cmpxchg(&n->state, &val, new));
net/core/rtnetlink.c
1060
} while (!try_cmpxchg(&dev->operstate, &old, newstate));
net/core/sock.c
3842
if (likely(try_cmpxchg(&sk->sk_lock.combined,
net/ipv4/tcp_output.c
1347
} while (!try_cmpxchg(&sk->sk_tsq_flags, &flags, nflags));
net/ipv4/tcp_output.c
1416
} while (!try_cmpxchg(&sk->sk_tsq_flags, &oval, nval));
rust/helpers/atomic_ext.c
76
return try_cmpxchg##suffix(ptr, old, new); \
tools/testing/selftests/bpf/libarena/include/bpf_atomic.h
60
#define try_cmpxchg_relaxed(p, pold, new) try_cmpxchg(p, pold, new)
tools/testing/selftests/bpf/libarena/include/bpf_atomic.h
62
#define try_cmpxchg_acquire(p, pold, new) try_cmpxchg(p, pold, new)