Loading...
Defined in 30 files as a macro:
- arch/alpha/include/asm/cmpxchg.h, line 52 (as a macro)
- arch/arc/include/asm/cmpxchg.h, line 95 (as a macro)
- arch/arm64/include/asm/cmpxchg.h, line 159 (as a macro)
- arch/blackfin/include/asm/cmpxchg.h, line 68 (as a macro)
- arch/blackfin/include/asm/cmpxchg.h, line 125 (as a macro)
- arch/frv/include/asm/cmpxchg.h, line 83 (as a macro)
- arch/frv/include/asm/cmpxchg.h, line 123 (as a macro)
- arch/hexagon/include/asm/cmpxchg.h, line 68 (as a macro)
- arch/ia64/include/uapi/asm/cmpxchg.h, line 129 (as a macro)
- arch/m32r/include/asm/cmpxchg.h, line 192 (as a macro)
- arch/m68k/include/asm/cmpxchg.h, line 120 (as a macro)
- arch/metag/include/asm/cmpxchg.h, line 54 (as a macro)
- arch/mips/include/asm/cmpxchg.h, line 179 (as a macro)
- arch/mn10300/include/asm/cmpxchg.h, line 110 (as a macro)
- arch/openrisc/include/asm/cmpxchg.h, line 46 (as a macro)
- arch/parisc/include/asm/cmpxchg.h, line 72 (as a macro)
- arch/powerpc/include/asm/cmpxchg.h, line 480 (as a macro)
- arch/s390/include/asm/cmpxchg.h, line 14 (as a macro)
- arch/score/include/asm/cmpxchg.h, line 40 (as a macro)
- arch/sh/include/asm/cmpxchg.h, line 65 (as a macro)
- arch/sparc/include/asm/cmpxchg_32.h, line 57 (as a macro)
- arch/sparc/include/asm/cmpxchg_64.h, line 165 (as a macro)
- arch/tile/include/asm/cmpxchg.h, line 51 (as a macro)
- arch/tile/include/asm/cmpxchg.h, line 102 (as a macro)
- arch/x86/include/asm/cmpxchg.h, line 147 (as a macro)
- arch/xtensa/include/asm/cmpxchg.h, line 65 (as a macro)
- include/asm-generic/cmpxchg.h, line 105 (as a macro)
- include/linux/atomic.h, line 468 (as a macro)
- tools/arch/x86/include/asm/cmpxchg.h, line 85 (as a macro)
- tools/include/asm-generic/atomic-gcc.h, line 63 (as a macro)
Defined in 1 files as a function:
Referenced in 174 files:
- arch/alpha/include/asm/atomic.h, 2 times
- arch/alpha/include/asm/cmpxchg.h, line 63
- arch/arc/include/asm/cmpxchg.h, line 104
- arch/arc/kernel/smp.c, line 250
- arch/arm/include/asm/sync_bitops.h, line 23
- arch/arm64/include/asm/atomic.h, line 120
- arch/arm64/include/asm/cmpxchg.h, line 166
- arch/arm64/include/asm/sync_bitops.h, line 24
- arch/frv/include/asm/atomic.h, line 144
- arch/frv/include/asm/cmpxchg.h, line 154
- arch/ia64/include/asm/atomic.h, 2 times
- arch/ia64/include/asm/pgtable.h, line 445
- arch/ia64/include/uapi/asm/cmpxchg.h, line 132
- arch/ia64/kernel/setup.c, line 1038
- arch/ia64/kernel/time.c, line 378
- arch/m32r/include/asm/atomic.h, line 247
- arch/m68k/include/asm/atomic.h, line 160
- arch/mips/include/asm/atomic.h, 2 times
- arch/mips/include/asm/cmpxchg.h, line 200
- arch/mips/kernel/cmpxchg.c, 2 times
- arch/mips/kvm/vz.c, line 2837
- arch/mn10300/include/asm/atomic.h, line 157
- arch/parisc/include/asm/atomic.h, 2 times
- arch/powerpc/include/asm/atomic.h, 2 times
- arch/powerpc/include/asm/cmpxchg.h, line 518
- arch/powerpc/include/asm/cputime.h, line 31
- arch/powerpc/kernel/fadump.c, line 532
- 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 621
- arch/powerpc/xmon/xmon.c, 2 times
- arch/s390/include/asm/cmpxchg.h, 3 times
- arch/s390/include/asm/percpu.h, 2 times
- arch/s390/kvm/gaccess.c, 4 times
- arch/s390/kvm/interrupt.c, 4 times
- arch/sh/include/asm/atomic.h, line 45
- arch/sh/kernel/cpu/sh2/smp-j2.c, 2 times
- arch/sparc/include/asm/atomic_64.h, 2 times
- arch/tile/gxio/dma_queue.c, 2 times
- arch/tile/include/asm/atomic.h, line 141
- arch/tile/include/asm/atomic_64.h, 2 times
- arch/tile/include/asm/bitops_64.h, 2 times
- arch/tile/include/asm/cmpxchg.h, line 126
- arch/tile/kernel/pmc.c, line 38
- arch/tile/lib/spinlock_64.c, line 60
- arch/x86/events/amd/core.c, 3 times
- arch/x86/events/amd/uncore.c, 2 times
- arch/x86/include/asm/atomic.h, line 186
- arch/x86/include/asm/atomic64_64.h, line 176
- arch/x86/include/asm/cmpxchg_64.h, line 12
- arch/x86/include/asm/mshyperv.h, line 116
- arch/x86/include/asm/uaccess.h, line 571
- arch/x86/kernel/acpi/boot.c, 2 times
- arch/x86/kernel/cpu/mcheck/dev-mcelog.c, 3 times
- arch/x86/kvm/paging_tmpl.h, 2 times
- arch/x86/kvm/x86.c, line 4786
- arch/x86/mm/pat.c, line 142
- arch/x86/xen/p2m.c, line 578
- arch/xtensa/include/asm/atomic.h, line 274
- drivers/block/ataflop.c, 2 times
- drivers/block/drbd/drbd_worker.c, line 2031
- drivers/char/random.c, 2 times
- drivers/gpu/drm/armada/armada_crtc.c, line 238
- drivers/gpu/drm/drm_lock.c, 4 times
- drivers/gpu/drm/drm_syncobj.c, line 198
- drivers/gpu/drm/i810/i810_dma.c, 6 times
- drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c, line 171
- drivers/infiniband/hw/hfi1/rc.c, line 2283
- drivers/infiniband/hw/hfi1/ruc.c, line 500
- drivers/infiniband/hw/qib/qib_rc.c, line 2076
- drivers/infiniband/hw/qib/qib_ruc.c, line 486
- drivers/md/bcache/btree.c, line 839
- drivers/md/dm-bufio.c, 2 times
- drivers/md/dm-integrity.c, line 312
- drivers/md/dm.c, 2 times
- drivers/md/raid5-cache.c, line 1582
- drivers/misc/genwqe/card_ddcb.c, 2 times
- drivers/misc/sgi-xp/xpc_main.c, line 1102
- drivers/misc/sgi-xp/xpc_sn2.c, 4 times
- drivers/misc/sgi-xp/xpc_uv.c, 2 times
- drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c, line 633
- drivers/net/ethernet/sfc/mcdi.c, 4 times
- drivers/net/ethernet/sfc/ptp.c, line 1718
- drivers/nvme/target/fabrics-cmd.c, line 107
- drivers/pci/host/pci-hyperv.c, line 2323
- drivers/phy/renesas/phy-rcar-gen2.c, line 84
- drivers/staging/speakup/selection.c, line 178
- drivers/target/iscsi/iscsi_target.c, 4 times
- drivers/target/target_core_transport.c, line 650
- drivers/tty/tty_audit.c, line 194
- drivers/usb/gadget/function/f_fs.c, 3 times
- drivers/xen/mcelog.c, line 170
- fs/aio.c, line 578
- fs/btrfs/inode.c, line 3452
- fs/btrfs/raid56.c, line 237
- fs/buffer.c, line 1493
- fs/ceph/file.c, line 752
- fs/crypto/keyinfo.c, 3 times
- fs/dcache.c, line 2410
- fs/direct-io.c, line 571
- fs/exec.c, line 1907
- fs/ext4/inode.c, line 757
- fs/fs-writeback.c, line 269
- fs/inode.c, line 2082
- fs/iomap.c, line 761
- fs/libfs.c, line 130
- fs/locks.c, line 237
- fs/nfs/filelayout/filelayout.c, line 580
- fs/nfs/flexfilelayout/flexfilelayoutdev.c, line 212
- fs/nfs/nfs3acl.c, 3 times
- fs/notify/mark.c, line 458
- fs/posix_acl.c, 3 times
- fs/xfs/xfs_buf.c, line 1233
- include/asm-generic/atomic.h, 4 times
- include/linux/atomic.h, 7 times
- include/linux/bitops.h, 2 times
- include/linux/kvm_host.h, line 287
- include/linux/netpoll.h, line 84
- kernel/acct.c, line 176
- kernel/debug/kdb/kdb_io.c, line 573
- kernel/exit.c, line 1077
- kernel/irq_work.c, 2 times
- kernel/locking/osq_lock.c, line 147
- kernel/locking/qspinlock_paravirt.h, 5 times
- kernel/pid.c, line 149
- kernel/sched/core.c, 3 times
- kernel/sched/fair.c, line 2455
- kernel/task_work.c, 3 times
- kernel/trace/blktrace.c, 2 times
- kernel/trace/ring_buffer.c, 4 times
- kernel/trace/trace_functions.c, line 429
- kernel/trace/tracing_map.c, line 439
- kernel/watchdog.c, line 802
- lib/atomic64_test.c, 2 times
- lib/errseq.c, 3 times
- lib/genalloc.c, 2 times
- lib/llist.c, 2 times
- lib/lru_cache.c, 2 times
- mm/cleancache.c, line 54
- mm/frontswap.c, line 142
- mm/huge_memory.c, line 80
- mm/kmemleak.c, line 1954
- mm/memcontrol.c, 3 times
- mm/mmzone.c, line 110
- mm/oom_kill.c, line 680
- mm/page_alloc.c, line 460
- net/core/dev.c, 3 times
- net/core/dst.c, 2 times
- net/core/lwtunnel.c, 2 times
- net/core/netpoll.c, line 183
- net/core/sock.c, line 1042
- net/ipv4/gre_demux.c, 2 times
- net/ipv4/ip_tunnel.c, 2 times
- net/ipv4/protocol.c, 4 times
- net/ipv4/route.c, 2 times
- net/ipv4/tcp.c, line 336
- net/ipv4/tcp_bbr.c, line 860
- net/ipv4/tcp_output.c, 3 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, line 1048
- net/netfilter/ipvs/ip_vs_sync.c, line 529
- net/netfilter/nf_conntrack_labels.c, line 28
- net/rds/ib_recv.c, line 501
- net/smc/smc_core.c, 2 times
- net/sunrpc/auth_gss/svcauth_gss.c, line 1295
- sound/soc/dwc/dwc-pcm.c, 2 times
- sound/soc/xtensa/xtfpga-i2s.c, line 172
- tools/arch/x86/include/asm/atomic.h, line 69
- tools/include/asm-generic/atomic-gcc.h, line 68
- tools/testing/selftests/powerpc/benchmarks/context_switch.c, line 270
- virt/kvm/kvm_main.c, line 257