Symbol: try_cmpxchg
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
1928
} while (!try_cmpxchg(&sca->utility.val, &old.val, new.val));
arch/x86/events/amd/core.c
440
if (try_cmpxchg(nb->owners + i, &tmp, NULL))
arch/x86/events/amd/uncore.c
224
if (try_cmpxchg(&ctx->events[i], &tmp, event)) {
arch/x86/events/amd/uncore.c
260
if (try_cmpxchg(&ctx->events[i], &tmp, NULL))
arch/x86/include/asm/pgtable.h
1292
} while (!try_cmpxchg((long *)&ptep->pte, (long *)&old_pte, *(long *)&new_pte));
arch/x86/include/asm/pgtable.h
1352
} 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
687
if (try_cmpxchg(&src->preempted, &state,
arch/x86/kvm/lapic.c
688
!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
1030
likely(try_cmpxchg(&part->bd_stamp, &stamp, now)) &&
drivers/char/random.c
730
} 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
373
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
2314
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
743
} while (!try_cmpxchg(&req->sq->sqhd, &old_sqhd, new_sqhd));
fs/dcache.c
2568
if (!(n & 1) && try_cmpxchg(&dir->i_dir_seq, &n, n + 1))
fs/ext4/inode.c
884
} while (unlikely(!try_cmpxchg(&bh->b_state, &old_state, new_state)));
fs/inode.c
2872
if (try_cmpxchg(&inode->i_ctime_nsec, &cur, now.tv_nsec)) {
fs/inode.c
2947
if (try_cmpxchg(&inode->i_ctime_nsec, &cur, update.tv_nsec)) {
fs/kernfs/inode.c
53
if (!try_cmpxchg(&kn->iattr, &attr, ret))
fs/libfs.c
2214
if (likely(try_cmpxchg(stashed, &old, dentry)))
fs/posix_acl.c
177
if (unlikely(!try_cmpxchg(p, &sentinel, acl)))
fs/splice.c
55
} while (!try_cmpxchg(&file->f_mode, &fmode, fmode & ~FMODE_NOWAIT));
fs/super.c
2266
if (!try_cmpxchg(&sb->s_dio_done_wq, &old, wq)) {
include/linux/bitops.h
366
} while (!try_cmpxchg(ptr, &old__, new__)); \
include/linux/bitops.h
383
} while (!try_cmpxchg(ptr, &old__, new__)); \
include/linux/llist.h
242
} while (!try_cmpxchg(&head->first, &first, new_first));
include/linux/mm.h
2189
} 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
285
if (try_cmpxchg(&net->vsock.child_ns_mode_locked,
include/rv/da_monitor.h
125
if (likely(try_cmpxchg(&da_mon->curr_state, &curr_state, next_state))) {
include/rv/da_monitor.h
166
if (likely(try_cmpxchg(&da_mon->curr_state, &curr_state, next_state))) {
io_uring/tw.c
212
} while (!try_cmpxchg(&ctx->work_llist.first, &head,
kernel/cgroup/rstat.c
121
if (!try_cmpxchg(&rstatc->lnode.next, &self, NULL))
kernel/events/core.c
5422
if (try_cmpxchg(&task->perf_ctx_data, &old, cd)) {
kernel/events/core.c
5433
if (try_cmpxchg(&task->perf_ctx_data, &cd, NULL))
kernel/events/core.c
5546
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
3941
!try_cmpxchg(&rcu_barrier_last_throttle, &old, j)) {
kernel/sched/core.c
1000
} while (!try_cmpxchg(&ti->flags, &val, val | _TIF_NEED_RESCHED));
kernel/sched/core.c
969
} while (!try_cmpxchg(_ptr, &_val, _val | _mask)); \
kernel/sched/fair.c
3418
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
1451
return try_cmpxchg(ptr, &val, (unsigned long)&new->list);
kernel/trace/ring_buffer.c
1513
if (try_cmpxchg(&cpu_buffer->tail_page, &tail_page, next_page))
kernel/trace/ring_buffer.c
2877
if (try_cmpxchg(&prev_page->next,
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
2728
} 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
507
} while (!try_cmpxchg(bitmap_word, &word, (word & ~mask) | flags));
mm/swap.c
410
} while (!try_cmpxchg(&folio->flags.f, &old_flags, new_flags));
mm/vmscan.c
3249
} while (!try_cmpxchg(&folio->flags.f, &old_flags, new_flags));
mm/vmscan.c
3277
} while (!try_cmpxchg(&folio->flags.f, &old_flags, new_flags));
net/core/dev.c
4233
} while (!try_cmpxchg(&q->defer_list.first, &first_n, &skb->ll_node));
net/core/dev.c
6725
} while (!try_cmpxchg(&n->state, &val, new));
net/core/dev.c
6806
} while (!try_cmpxchg(&n->state, &val, new));
net/core/dev.c
7151
if (try_cmpxchg(&napi->state, &val, new))
net/core/dev.c
7600
} while (!try_cmpxchg(&n->state, &val, new));
net/core/dev.c
7644
} while (!try_cmpxchg(&n->state, &val, new));
net/core/rtnetlink.c
1061
} while (!try_cmpxchg(&dev->operstate, &old, newstate));
net/ipv4/tcp_output.c
1339
} while (!try_cmpxchg(&sk->sk_tsq_flags, &flags, nflags));
net/ipv4/tcp_output.c
1409
} while (!try_cmpxchg(&sk->sk_tsq_flags, &oval, nval));
rust/helpers/atomic_ext.c
103
return try_cmpxchg(ptr, old, new);
rust/helpers/atomic_ext.c
108
return try_cmpxchg(ptr, old, new);
tools/testing/selftests/bpf/bpf_atomic.h
58
#define try_cmpxchg_relaxed(p, pold, new) try_cmpxchg(p, pold, new)
tools/testing/selftests/bpf/bpf_atomic.h
60
#define try_cmpxchg_acquire(p, pold, new) try_cmpxchg(p, pold, new)