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 92 (as a macro)
- arch/csky/include/asm/cmpxchg.h, line 67 (as a macro)
- arch/hexagon/include/asm/cmpxchg.h, line 54 (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 185 (as a macro)
- arch/openrisc/include/asm/cmpxchg.h, line 135 (as a macro)
- arch/parisc/include/asm/cmpxchg.h, line 79 (as a macro)
- arch/powerpc/include/asm/cmpxchg.h, line 481 (as a macro)
- arch/riscv/include/asm/cmpxchg.h, line 340 (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 83 (as a macro)
- include/asm-generic/atomic-instrumented.h, line 1680 (as a macro)
- include/asm-generic/cmpxchg.h, line 106 (as a macro)
- include/linux/atomic-fallback.h, line 49 (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 201 files:
- arch/alpha/include/asm/atomic.h, 2 times
- arch/alpha/include/asm/cmpxchg.h, line 71
- arch/arc/include/asm/cmpxchg.h, line 104
- arch/arc/kernel/smp.c, line 282
- arch/arm/include/asm/sync_bitops.h, line 24
- arch/ia64/include/asm/atomic.h, 2 times
- arch/ia64/include/asm/pgtable.h, line 444
- arch/ia64/include/uapi/asm/cmpxchg.h, line 133
- arch/ia64/kernel/setup.c, line 1057
- arch/ia64/kernel/time.c, line 377
- arch/m68k/include/asm/atomic.h, line 165
- arch/mips/include/asm/atomic.h, line 40
- arch/mips/include/asm/cmpxchg.h, line 220
- arch/mips/include/asm/pgtable.h, line 212
- 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 26
- arch/powerpc/kernel/fadump.c, line 613
- 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 620
- arch/powerpc/platforms/powernv/idle.c, line 269
- 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, 7 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/kernel/acpi/boot.c, 2 times
- arch/x86/kernel/cpu/mce/dev-mcelog.c, line 266
- arch/x86/kvm/mmu/paging_tmpl.h, 2 times
- arch/x86/kvm/svm/svm.c, line 1246
- arch/x86/kvm/x86.c, 2 times
- arch/x86/mm/pat/memtype.c, line 170
- arch/x86/xen/p2m.c, line 577
- arch/xtensa/include/asm/atomic.h, line 262
- block/bio.c, line 1312
- drivers/block/drbd/drbd_worker.c, line 2045
- drivers/block/null_blk_main.c, line 425
- drivers/char/random.c, 3 times
- drivers/dma-buf/dma-fence-array.c, 2 times
- drivers/dma-buf/dma-fence-chain.c, line 65
- drivers/gpu/drm/drm_lock.c, 4 times
- drivers/gpu/drm/i810/i810_dma.c, 6 times
- drivers/gpu/drm/i915/gem/i915_gem_context.c, line 1646
- drivers/gpu/drm/i915/gem/i915_gem_mman.c, line 762
- drivers/gpu/drm/i915/gt/intel_gt_requests.c, line 87
- drivers/gpu/drm/i915/i915_active.c, line 202
- drivers/gpu/drm/i915/i915_gpu_error.c, 3 times
- drivers/gpu/drm/i915/i915_sw_fence.h, line 116
- drivers/gpu/drm/i915/i915_vma.c, line 471
- drivers/gpu/drm/scheduler/sched_entity.c, line 178
- drivers/gpu/drm/vkms/vkms_gem.c, line 160
- drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c, line 172
- drivers/infiniband/hw/hfi1/rc.c, line 3169
- drivers/infiniband/hw/qib/qib_rc.c, line 2044
- drivers/infiniband/sw/rdmavt/qp.c, line 3147
- drivers/md/dm-bufio.c, 2 times
- drivers/md/dm-integrity.c, line 380
- drivers/md/dm-writecache.c, line 413
- drivers/md/dm.c, 2 times
- drivers/md/raid5-cache.c, line 1574
- drivers/misc/genwqe/card_ddcb.c, 2 times
- drivers/misc/sgi-xp/xpc_main.c, line 1092
- 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 647
- drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c, 2 times
- drivers/net/ethernet/huawei/hinic/hinic_hw_mgmt.c, line 384
- drivers/net/ethernet/intel/iavf/iavf_ethtool.c, line 496
- drivers/net/ethernet/sfc/mcdi.c, 4 times
- drivers/net/ethernet/sfc/ptp.c, line 1987
- drivers/nvme/target/core.c, line 673
- drivers/nvme/target/fabrics-cmd.c, line 114
- drivers/pci/controller/pci-hyperv.c, line 2810
- drivers/phy/renesas/phy-rcar-gen2.c, line 91
- drivers/scsi/libsas/sas_init.c, line 610
- drivers/scsi/lpfc/lpfc_sli.c, 2 times
- drivers/spi/spi-bcm2835.c, 2 times
- drivers/staging/speakup/selection.c, 2 times
- drivers/target/iscsi/iscsi_target.c, 4 times
- drivers/target/target_core_transport.c, line 708
- drivers/tty/tty_audit.c, line 191
- drivers/usb/gadget/function/f_fs.c, 3 times
- drivers/xen/mcelog.c, line 170
- fs/btrfs/inode.c, line 2922
- fs/btrfs/raid56.c, line 235
- fs/buffer.c, line 1467
- fs/ceph/file.c, line 1101
- fs/crypto/fname.c, line 80
- fs/crypto/keysetup.c, line 167
- fs/dcache.c, line 2489
- fs/debugfs/file.c, line 99
- fs/direct-io.c, line 604
- fs/erofs/tagptr.h, line 85
- fs/erofs/zdata.c, 5 times
- fs/erofs/zdata.h, line 162
- fs/eventpoll.c, 2 times
- fs/ext4/inode.c, line 757
- fs/fs-writeback.c, line 275
- fs/gfs2/glock.c, 2 times
- fs/gfs2/log.c, 2 times
- fs/gfs2/lops.c, line 206
- fs/gfs2/quota.c, line 1491
- fs/iomap/direct-io.c, line 143
- fs/locks.c, line 271
- fs/nfs/filelayout/filelayout.c, line 581
- fs/nfs/flexfilelayout/flexfilelayoutdev.c, line 336
- fs/nfs/nfs3acl.c, 3 times
- fs/nfs/nfs3proc.c, line 835
- fs/notify/mark.c, line 500
- fs/posix_acl.c, 3 times
- fs/verity/open.c, line 227
- fs/xfs/xfs_buf.c, line 1282
- include/asm-generic/atomic.h, 4 times
- include/asm-generic/mshyperv.h, line 70
- include/linux/atomic-fallback.h, 7 times
- include/linux/bitops.h, 2 times
- include/linux/kvm_host.h, line 332
- include/linux/netdevice.h, line 562
- include/linux/netpoll.h, line 84
- kernel/acct.c, line 177
- kernel/bpf/bpf_struct_ops.c, line 490
- kernel/bpf/devmap.c, line 752
- kernel/debug/kdb/kdb_io.c, line 566
- kernel/exit.c, line 993
- kernel/locking/osq_lock.c, line 158
- kernel/locking/qspinlock_paravirt.h, 2 times
- kernel/rcu/tree.c, line 2862
- kernel/rcu/tree_stall.h, 2 times
- kernel/sched/core.c, 2 times
- kernel/sched/fair.c, line 2757
- kernel/sched/psi.c, 2 times
- 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, 2 times
- lib/sbitmap.c, line 36
- mm/cleancache.c, line 53
- mm/frontswap.c, line 141
- mm/huge_memory.c, line 95
- mm/kmemleak.c, line 1891
- mm/memcontrol.c, 3 times
- mm/mmzone.c, line 111
- mm/oom_kill.c, line 708
- mm/page_alloc.c, line 543
- net/core/bpf_sk_storage.c, line 358
- net/core/dev.c, 3 times
- net/core/dst.c, 2 times
- net/core/filter.c, 3 times
- net/core/lwtunnel.c, 2 times
- net/core/netpoll.c, line 165
- net/core/sock.c, line 1120
- 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, 2 times
- net/ipv4/tcp_bbr.c, line 1075
- 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 40
- net/mptcp/protocol.c, line 1519
- net/netfilter/ipvs/ip_vs_sync.c, line 535
- net/netfilter/nf_conntrack_labels.c, line 25
- net/rds/ib_frmr.c, 2 times
- net/rds/ib_recv.c, line 507
- net/rxrpc/call_event.c, 5 times
- net/rxrpc/input.c, line 1303
- net/smc/smc_core.c, line 944
- net/sunrpc/auth.c, 2 times
- net/sunrpc/auth_gss/auth_gss.c, line 2103
- net/sunrpc/auth_gss/svcauth_gss.c, line 1364
- net/sunrpc/svcauth.c, line 117
- net/tipc/net.c, line 135
- sound/soc/dwc/dwc-pcm.c, 2 times
- sound/soc/xtensa/xtfpga-i2s.c, line 169
- 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 277
- virt/kvm/kvm_main.c, line 327