cmpxchg
Defined as a function in:
Defined as a preprocessor macro in:
Referenced (in 159 files total) in:
- arch/arc/kernel/smp.c, line 271
- arch/ia64/include/asm/pgtable.h, line 399
- arch/ia64/include/uapi/asm/cmpxchg.h, 2 times
- arch/ia64/kernel/setup.c, line 1054
- arch/ia64/kernel/time.c, line 383
- arch/mips/include/asm/cmpxchg.h, 2 times
- arch/mips/include/asm/pgtable.h, line 187
- arch/mips/kvm/vz.c, line 2936
- arch/openrisc/include/asm/cmpxchg.h, line 119
- arch/powerpc/include/asm/cputime.h, line 27
- arch/powerpc/kernel/fadump.c, line 711
- arch/powerpc/kvm/book3s_hv_builtin.c, 2 times
- arch/powerpc/kvm/book3s_hv_rm_xics.c, 2 times
- arch/powerpc/kvm/book3s_xics.c, 2 times
- arch/powerpc/kvm/booke.c, line 645
- arch/powerpc/platforms/powernv/idle.c, line 269
- arch/powerpc/platforms/powernv/pci-ioda-tce.c, line 106
- arch/powerpc/platforms/powernv/rng.c, line 157
- arch/powerpc/xmon/xmon.c, 2 times
- arch/s390/include/asm/percpu.h, 2 times
- arch/s390/kvm/gaccess.c, 4 times
- arch/s390/kvm/interrupt.c, 7 times
- arch/s390/kvm/kvm-s390.c, line 1820
- arch/sh/kernel/cpu/sh2/smp-j2.c, 2 times
- arch/um/kernel/skas/uaccess.c, line 353
- arch/x86/events/amd/core.c, 3 times
- arch/x86/events/amd/uncore.c, 2 times
- arch/x86/include/asm/cmpxchg.h, 2 times
- arch/x86/include/asm/percpu.h, 2 times
- arch/x86/include/asm/qspinlock_paravirt.h, line 49
- arch/x86/include/asm/uaccess.h, 2 times
- arch/x86/kernel/acpi/boot.c, 2 times
- arch/x86/kernel/cpu/mce/dev-mcelog.c, line 273
- arch/x86/kvm/svm/svm.c, line 1423
- arch/x86/mm/pat/memtype.c, line 171
- arch/x86/xen/p2m.c, line 573
- block/blk-mq.c, 2 times
- block/blk-stat.c, line 243
- fs/btrfs/raid56.c, line 124
- fs/buffer.c, line 1474
- fs/ceph/file.c, line 1186
- fs/dcache.c, line 2611
- fs/debugfs/file.c, line 99
- fs/direct-io.c, line 580
- fs/erofs/tagptr.h, line 83
- fs/erofs/zdata.c, 5 times
- fs/eventpoll.c, 2 times
- fs/ext4/inode.c, line 793
- fs/ext4/orphan.c, line 78
- fs/fs-writeback.c, line 265
- fs/gfs2/glock.c, 2 times
- fs/gfs2/log.c, 2 times
- fs/gfs2/lops.c, line 210
- fs/gfs2/quota.c, line 1500
- fs/iomap/direct-io.c, line 154
- fs/jbd2/transaction.c, line 155
- fs/locks.c, line 195
- fs/nfs/filelayout/filelayout.c, line 581
- fs/nfs/flexfilelayout/flexfilelayoutdev.c, line 338
- fs/nfs/nfs3acl.c, 3 times
- fs/nfs/nfs3proc.c, line 857
- fs/nfs/nfs4idmap.c, line 576
- fs/nfsd/state.h, line 732
- fs/notify/mark.c, line 567
- fs/posix_acl.c, 3 times
- fs/userfaultfd.c, line 1957
- fs/xfs/xfs_buf.c, line 1436
- fs/xfs/xfs_log_cil.c, line 174
- include/asm-generic/cmpxchg.h, line 11
- include/asm-generic/mshyperv.h, line 134
- include/linux/atomic/atomic-instrumented.h, line 1911
- include/linux/bitops.h, 2 times
- include/linux/kvm_host.h, line 542
- include/linux/netdevice.h, line 565
- include/linux/netpoll.h, line 77
- include/linux/percpu-defs.h, line 487
- include/linux/skmsg.h, line 476
- io_uring/io_uring.c, line 1035
- kernel/acct.c, line 196
- kernel/bpf/bpf_local_storage.c, line 331
- kernel/bpf/bpf_struct_ops.c, line 534
- kernel/bpf/devmap.c, line 1101
- kernel/debug/kdb/kdb_io.c, line 602
- kernel/exit.c, line 1026
- kernel/kcsan/kcsan_test.c, 3 times
- kernel/kcsan/selftest.c, 3 times
- kernel/locking/osq_lock.c, line 162
- kernel/locking/qspinlock_paravirt.h, 2 times
- kernel/rcu/rcutorture.c, line 992
- kernel/rcu/tasks.h, line 1235
- kernel/rcu/tree_stall.h, 2 times
- kernel/sched/fair.c, line 2805
- kernel/sched/psi.c, 2 times
- kernel/smp.c, line 204
- kernel/task_work.c, 3 times
- kernel/trace/ring_buffer.c, 4 times
- kernel/trace/trace_functions.c, line 613
- kernel/trace/trace_recursion_record.c, 2 times
- kernel/trace/tracing_map.c, line 566
- lib/atomic64_test.c, 2 times
- lib/errseq.c, 2 times
- lib/genalloc.c, 2 times
- lib/llist.c, 2 times
- lib/lru_cache.c, 2 times
- lib/rhashtable.c, 2 times
- mm/huge_memory.c, line 169
- mm/kmemleak.c, line 2043
- mm/memcontrol.c, 4 times
- mm/oom_kill.c, line 767
- mm/page_io.c, line 251
- mm/slub.c, 3 times
- net/can/isotp.c, line 945
- net/core/dev.c, 6 times
- net/core/dst.c, 2 times
- net/core/filter.c, 3 times
- net/core/lwtunnel.c, 2 times
- net/core/netpoll.c, line 167
- net/core/skbuff.c, line 6563
- net/core/sock.c, line 1395
- net/ipv4/gre_demux.c, 2 times
- net/ipv4/igmp.c, line 815
- net/ipv4/ip_tunnel.c, 2 times
- net/ipv4/protocol.c, 4 times
- net/ipv4/route.c, 2 times
- net/ipv4/tcp.c, 2 times
- net/ipv4/tcp_bbr.c, line 1077
- net/ipv4/tcp_output.c, 2 times
- net/ipv6/ip6_icmp.c, 2 times
- net/ipv6/ip6_tunnel.c, 2 times
- net/ipv6/protocol.c, 4 times
- net/ipv6/route.c, 2 times
- net/mptcp/mib.c, line 78
- net/netfilter/ipvs/ip_vs_sync.c, line 532
- net/netfilter/nf_conntrack_ecache.c, line 160
- net/netfilter/nf_conntrack_labels.c, line 25
- net/netfilter/xt_limit.c, line 89
- net/rds/ib_frmr.c, 2 times
- net/rds/ib_recv.c, line 508
- net/rxrpc/call_event.c, 5 times
- net/rxrpc/input.c, line 1380
- net/smc/smc_core.c, line 1996
- net/smc/smc_llc.h, line 49
- net/sunrpc/auth.c, 2 times
- net/sunrpc/auth_gss/auth_gss.c, line 2109
- net/sunrpc/auth_gss/svcauth_gss.c, line 1420
- net/sunrpc/svcauth.c, line 121
- net/tipc/net.c, line 135
- sound/soc/dwc/dwc-pcm.c, 2 times
- sound/soc/intel/keembay/kmb_platform.c, 2 times
- sound/soc/sof/ipc3-dtrace.c, line 260
- sound/soc/xtensa/xtfpga-i2s.c, line 169
- tools/arch/x86/include/asm/atomic.h, line 70
- tools/arch/x86/include/asm/cmpxchg.h, 2 times
- tools/include/asm-generic/atomic-gcc.h, 2 times
- tools/perf/arch/x86/annotate/instructions.c, line 34
- tools/testing/selftests/bpf/prog_tests/atomics.c, 2 times
- tools/testing/selftests/bpf/progs/atomics.c, line 136
- tools/testing/selftests/bpf/verifier/atomic_cmpxchg.c, 3 times
- tools/testing/selftests/powerpc/benchmarks/context_switch.c, 2 times
kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.
