cmpxchg
Defined as a function in:
Defined as a preprocessor macro in:
Referenced (in 154 files total) in:
- arch/arc/kernel/smp.c, line 267
- arch/arm64/kvm/hyp/pgtable.c, line 765
- arch/mips/include/asm/cmpxchg.h, 2 times
- arch/mips/include/asm/pgtable.h, line 184
- arch/mips/kvm/vz.c, line 2936
- arch/openrisc/include/asm/cmpxchg.h, line 119
- arch/powerpc/kernel/fadump.c, line 702
- 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 648
- arch/powerpc/platforms/powernv/idle.c, line 270
- 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 1914
- arch/sh/kernel/cpu/sh2/smp-j2.c, 2 times
- arch/um/kernel/skas/uaccess.c, line 355
- arch/x86/events/amd/core.c, 2 times
- arch/x86/include/asm/cmpxchg.h, line 16
- arch/x86/include/asm/percpu.h, 2 times
- arch/x86/include/asm/qspinlock_paravirt.h, line 45
- arch/x86/include/asm/uaccess.h, 2 times
- arch/x86/kernel/cpu/mce/dev-mcelog.c, line 272
- arch/x86/kvm/svm/svm.c, line 1487
- block/blk-mq.c, 2 times
- fs/btrfs/bio.c, line 132
- fs/btrfs/raid56.c, line 231
- fs/ceph/file.c, line 1409
- fs/dcache.c, line 2443
- fs/debugfs/file.c, line 110
- fs/erofs/zdata.c, line 808
- fs/eventpoll.c, line 1281
- fs/ext4/orphan.c, line 78
- fs/fcntl.c, line 111
- fs/fs-writeback.c, line 290
- fs/gfs2/glock.c, 2 times
- fs/gfs2/log.c, 2 times
- fs/gfs2/lops.c, line 210
- fs/gfs2/quota.c, line 1556
- fs/iomap/direct-io.c, line 163
- fs/jbd2/transaction.c, line 133
- fs/libfs.c, 2 times
- fs/locks.c, line 199
- fs/netfs/buffered_read.c, line 331
- 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 859
- fs/nfs/nfs4idmap.c, line 576
- fs/nfsd/state.h, line 782
- fs/notify/mark.c, 2 times
- fs/posix_acl.c, 2 times
- fs/super.c, line 2239
- fs/userfaultfd.c, line 1980
- fs/xfs/xfs_buf.c, line 1512
- include/asm-generic/cmpxchg.h, line 11
- include/asm-generic/mshyperv.h, line 156
- include/linux/atomic/atomic-instrumented.h, line 4783
- include/linux/kvm_host.h, line 565
- include/linux/netpoll.h, line 78
- include/linux/percpu-defs.h, line 474
- include/linux/skmsg.h, line 491
- kernel/acct.c, line 195
- kernel/bpf/bpf_local_storage.c, line 495
- kernel/bpf/bpf_struct_ops.c, line 805
- kernel/bpf/devmap.c, line 1140
- kernel/bpf/helpers.c, 2 times
- kernel/debug/kdb/kdb_io.c, line 635
- kernel/exit.c, line 1169
- kernel/kcsan/kcsan_test.c, 3 times
- kernel/kcsan/selftest.c, 3 times
- kernel/locking/osq_lock.c, line 165
- kernel/locking/qspinlock_paravirt.h, line 330
- kernel/rcu/rcutorture.c, line 1062
- kernel/rcu/tasks.h, line 1565
- kernel/rcu/tree_stall.h, line 799
- kernel/sched/core.c, line 10436
- kernel/sched/fair.c, 2 times
- kernel/sched/psi.c, 2 times
- kernel/sched/sched.h, line 3613
- kernel/trace/ring_buffer.c, 2 times
- kernel/trace/trace_functions.c, line 626
- kernel/trace/trace_recursion_record.c, 2 times
- kernel/trace/tracing_map.c, line 566
- lib/atomic64_test.c, 2 times
- lib/cmpxchg-emu.c, line 41
- lib/errseq.c, 2 times
- lib/lru_cache.c, line 59
- lib/rhashtable.c, 2 times
- mm/huge_memory.c, line 213
- mm/kmemleak.c, line 2155
- mm/memcontrol.c, 2 times
- mm/oom_kill.c, line 766
- mm/page_io.c, line 328
- mm/slub.c, 4 times
- net/can/isotp.c, 2 times
- net/core/dev.c, 3 times
- net/core/dst.c, 2 times
- net/core/filter.c, line 4901
- net/core/lwtunnel.c, 2 times
- net/core/netpoll.c, line 179
- net/core/sock.c, line 1247
- net/core/sock_diag.c, line 210
- net/ipv4/gre_demux.c, 2 times
- net/ipv4/icmp.c, line 254
- net/ipv4/igmp.c, line 818
- net/ipv4/inet_diag.c, line 1523
- 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 1078
- 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 97
- net/netfilter/ipvs/ip_vs_sync.c, line 532
- net/netfilter/nf_bpf_link.c, line 121
- net/netfilter/nf_conntrack_ecache.c, line 160
- net/netfilter/nf_conntrack_labels.c, line 23
- net/netfilter/xt_limit.c, line 89
- net/rds/ib_frmr.c, 2 times
- net/rds/ib_recv.c, line 509
- net/rxrpc/io_thread.c, line 353
- net/smc/smc_core.c, line 2101
- net/smc/smc_llc.h, line 50
- net/sunrpc/auth.c, 2 times
- net/sunrpc/auth_gss/auth_gss.c, line 2128
- net/sunrpc/auth_gss/svcauth_gss.c, line 1358
- net/sunrpc/sched.c, line 70
- net/sunrpc/svcauth.c, line 147
- net/tipc/net.c, line 135
- net/xfrm/xfrm_interface_bpf.c, line 77
- sound/soc/dwc/dwc-pcm.c, 2 times
- sound/soc/intel/keembay/kmb_platform.c, 2 times
- sound/soc/sof/ipc3-dtrace.c, line 252
- sound/soc/xtensa/xtfpga-i2s.c, line 169
- tools/arch/x86/include/asm/atomic.h, line 71
- 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 27
- tools/testing/selftests/bpf/prog_tests/arena_atomics.c, 2 times
- tools/testing/selftests/bpf/prog_tests/atomics.c, 2 times
- tools/testing/selftests/bpf/progs/arena_atomics.c, line 167
- tools/testing/selftests/bpf/progs/atomics.c, line 136
- tools/testing/selftests/bpf/verifier/atomic_cmpxchg.c, 2 times
- tools/testing/selftests/kvm/include/x86_64/kvm_util_arch.h, line 45
- tools/testing/selftests/kvm/s390x/memop.c, 7 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.