Loading...
Defined in 21 files as a macro:
- arch/alpha/include/asm/cmpxchg.h, line 56 (as a macro)
- arch/arc/include/asm/cmpxchg.h, line 95 (as a macro)
- arch/arm64/include/asm/cmpxchg.h, line 160 (as a macro)
- arch/hexagon/include/asm/cmpxchg.h, line 68 (as a macro)
- arch/ia64/include/uapi/asm/cmpxchg.h, line 130 (as a macro)
- arch/m68k/include/asm/cmpxchg.h, line 121 (as a macro)
- arch/mips/include/asm/cmpxchg.h, line 182 (as a macro)
- arch/openrisc/include/asm/cmpxchg.h, line 135 (as a macro)
- arch/parisc/include/asm/cmpxchg.h, line 73 (as a macro)
- arch/powerpc/include/asm/cmpxchg.h, line 481 (as a macro)
- arch/riscv/include/asm/cmpxchg.h, line 348 (as a macro)
- arch/s390/include/asm/cmpxchg.h, line 15 (as a macro)
- arch/sh/include/asm/cmpxchg.h, line 66 (as a macro)
- arch/sparc/include/asm/cmpxchg_32.h, line 58 (as a macro)
- arch/sparc/include/asm/cmpxchg_64.h, line 171 (as a macro)
- arch/xtensa/include/asm/cmpxchg.h, line 65 (as a macro)
- include/asm-generic/atomic-instrumented.h, line 418 (as a macro)
- include/asm-generic/cmpxchg.h, line 106 (as a macro)
- include/linux/atomic.h, line 513 (as a macro)
- tools/arch/x86/include/asm/cmpxchg.h, line 86 (as a macro)
- tools/include/asm-generic/atomic-gcc.h, line 64 (as a macro)
Defined in 1 files as a function:
Referenced in 179 files:
- arch/alpha/include/asm/atomic.h, 2 times
- arch/alpha/include/asm/cmpxchg.h, line 71
- arch/arc/include/asm/cmpxchg.h, line 107
- arch/arc/kernel/smp.c, line 285
- arch/arm/include/asm/sync_bitops.h, line 24
- arch/arm64/include/asm/atomic.h, line 99
- arch/arm64/include/asm/cmpxchg.h, line 167
- arch/arm64/include/asm/sync_bitops.h, line 25
- arch/ia64/include/asm/atomic.h, 2 times
- arch/ia64/include/asm/pgtable.h, line 446
- arch/ia64/include/uapi/asm/cmpxchg.h, line 133
- arch/ia64/kernel/setup.c, line 1036
- arch/ia64/kernel/time.c, line 378
- arch/m68k/include/asm/atomic.h, line 165
- arch/mips/include/asm/atomic.h, 2 times
- arch/mips/include/asm/cmpxchg.h, line 203
- arch/mips/kernel/cmpxchg.c, 2 times
- arch/mips/kvm/vz.c, line 2837
- arch/parisc/include/asm/atomic.h, 2 times
- arch/powerpc/include/asm/atomic.h, 2 times
- arch/powerpc/include/asm/cmpxchg.h, line 519
- arch/powerpc/include/asm/cputime.h, line 30
- arch/powerpc/kernel/fadump.c, line 573
- arch/powerpc/kvm/book3s_hv_builtin.c, 3 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 631
- arch/powerpc/platforms/powernv/pci-ioda-tce.c, line 78
- arch/powerpc/xmon/xmon.c, 2 times
- arch/riscv/include/asm/cmpxchg.h, 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 36
- arch/sh/kernel/cpu/sh2/smp-j2.c, 2 times
- arch/sparc/include/asm/atomic_64.h, 2 times
- arch/x86/events/amd/core.c, 3 times
- arch/x86/events/amd/uncore.c, 2 times
- arch/x86/include/asm/mshyperv.h, line 56
- arch/x86/include/asm/uaccess.h, line 589
- arch/x86/kernel/acpi/boot.c, 2 times
- arch/x86/kernel/cpu/mcheck/dev-mcelog.c, line 274
- arch/x86/kvm/paging_tmpl.h, 2 times
- arch/x86/kvm/svm.c, line 2209
- arch/x86/kvm/x86.c, line 5368
- arch/x86/mm/pat.c, line 142
- arch/x86/xen/p2m.c, line 568
- arch/xtensa/include/asm/atomic.h, line 200
- drivers/block/ataflop.c, 2 times
- drivers/block/drbd/drbd_worker.c, line 2057
- drivers/block/null_blk_main.c, line 376
- drivers/char/random.c, 3 times
- drivers/gpu/drm/drm_lock.c, 4 times
- drivers/gpu/drm/i810/i810_dma.c, 6 times
- drivers/gpu/drm/scheduler/gpu_scheduler.c, line 282
- drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c, line 171
- drivers/infiniband/hw/hfi1/rc.c, line 2399
- drivers/infiniband/hw/hfi1/ruc.c, line 346
- drivers/infiniband/hw/qib/qib_rc.c, line 2072
- drivers/infiniband/hw/qib/qib_ruc.c, line 339
- drivers/md/bcache/btree.c, line 879
- drivers/md/dm-bufio.c, 2 times
- drivers/md/dm-integrity.c, line 339
- drivers/md/dm-writecache.c, line 411
- drivers/md/dm.c, 2 times
- drivers/md/raid5-cache.c, line 1583
- drivers/misc/genwqe/card_ddcb.c, 2 times
- drivers/misc/sgi-xp/xpc_main.c, line 1101
- 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/huawei/hinic/hinic_hw_dev.c, line 703
- drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c, 2 times
- drivers/net/ethernet/huawei/hinic/hinic_hw_mgmt.c, line 392
- drivers/net/ethernet/intel/i40evf/i40evf_ethtool.c, line 270
- drivers/net/ethernet/sfc/mcdi.c, 4 times
- drivers/net/ethernet/sfc/ptp.c, line 1958
- drivers/nvme/target/core.c, line 509
- drivers/nvme/target/fabrics-cmd.c, line 105
- drivers/pci/controller/pci-hyperv.c, line 2373
- drivers/phy/renesas/phy-rcar-gen2.c, line 84
- drivers/scsi/libsas/sas_init.c, line 625
- drivers/spi/spi-bcm2835.c, 2 times
- drivers/staging/erofs/include/linux/tagptr.h, line 85
- drivers/staging/erofs/unzip_vle.c, 7 times
- drivers/staging/erofs/unzip_vle.h, line 187
- drivers/staging/speakup/selection.c, line 174
- drivers/target/iscsi/iscsi_target.c, 4 times
- drivers/target/target_core_transport.c, line 709
- drivers/tty/tty_audit.c, line 192
- drivers/usb/gadget/function/f_fs.c, 3 times
- drivers/xen/mcelog.c, line 170
- fs/btrfs/inode.c, line 3376
- fs/btrfs/raid56.c, line 221
- fs/buffer.c, line 1432
- fs/ceph/file.c, line 837
- fs/crypto/keyinfo.c, 2 times
- fs/dcache.c, line 2409
- fs/debugfs/file.c, line 97
- fs/direct-io.c, line 631
- fs/exec.c, line 1956
- fs/ext4/inode.c, line 787
- fs/fs-writeback.c, line 269
- fs/inode.c, line 2107
- fs/iomap.c, line 1541
- fs/locks.c, line 229
- fs/nfs/filelayout/filelayout.c, line 580
- fs/nfs/flexfilelayout/flexfilelayoutdev.c, line 214
- fs/nfs/nfs3acl.c, 3 times
- fs/notify/mark.c, line 498
- fs/posix_acl.c, 3 times
- fs/xfs/xfs_buf.c, line 1289
- include/asm-generic/atomic.h, 4 times
- include/linux/atomic.h, 7 times
- include/linux/bitops.h, 2 times
- include/linux/blk-mq.h, line 309
- include/linux/kvm_host.h, line 289
- include/linux/netpoll.h, line 86
- kernel/acct.c, line 177
- kernel/bpf/devmap.c, line 525
- kernel/debug/kdb/kdb_io.c, line 576
- kernel/exit.c, line 1079
- kernel/irq_work.c, 2 times
- kernel/locking/osq_lock.c, line 161
- kernel/locking/qspinlock_paravirt.h, 2 times
- kernel/rcu/tree.c, 2 times
- kernel/sched/core.c, 2 times
- kernel/sched/fair.c, line 2561
- 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 453
- kernel/trace/tracing_map.c, line 563
- 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, line 302
- mm/cleancache.c, line 54
- mm/frontswap.c, line 142
- mm/huge_memory.c, line 91
- mm/kmemleak.c, line 1955
- mm/memcontrol.c, 3 times
- mm/mmzone.c, line 111
- mm/oom_kill.c, line 683
- mm/page_alloc.c, line 464
- net/core/dev.c, 3 times
- net/core/dst.c, 2 times
- net/core/filter.c, 2 times
- net/core/lwtunnel.c, 2 times
- net/core/netpoll.c, line 165
- net/core/sock.c, line 999
- 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 334
- net/ipv4/tcp_bbr.c, line 882
- 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/netfilter/ipvs/ip_vs_sync.c, line 535
- net/netfilter/nf_conntrack_labels.c, line 28
- net/rds/ib_recv.c, line 498
- net/rxrpc/call_event.c, 5 times
- net/rxrpc/input.c, line 1295
- net/smc/smc_core.c, line 696
- net/sunrpc/auth_gss/svcauth_gss.c, line 1298
- net/tipc/net.c, line 134
- sound/soc/dwc/dwc-pcm.c, 2 times
- sound/soc/xtensa/xtfpga-i2s.c, line 172
- tools/arch/x86/include/asm/atomic.h, line 70
- tools/include/asm-generic/atomic-gcc.h, line 69
- tools/testing/selftests/powerpc/benchmarks/context_switch.c, line 281
- virt/kvm/kvm_main.c, line 301