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 66 (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 81 (as a macro)
- arch/powerpc/include/asm/cmpxchg.h, line 470 (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 1681 (as a macro)
- include/asm-generic/cmpxchg.h, line 106 (as a macro)
- include/linux/atomic-fallback.h, line 51 (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 204 files:
- arch/alpha/include/asm/atomic.h, 2 times
- arch/alpha/include/asm/cmpxchg.h, line 71
- arch/arc/include/asm/cmpxchg.h, line 78
- 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 422
- arch/ia64/include/uapi/asm/cmpxchg.h, line 133
- arch/ia64/kernel/setup.c, line 1058
- arch/ia64/kernel/time.c, line 377
- arch/m68k/include/asm/atomic.h, line 163
- arch/mips/include/asm/atomic.h, line 40
- arch/mips/include/asm/cmpxchg.h, line 220
- arch/mips/include/asm/pgtable.h, line 210
- arch/mips/kernel/cmpxchg.c, 2 times
- arch/mips/kvm/vz.c, line 2932
- arch/parisc/include/asm/atomic.h, 2 times
- arch/powerpc/include/asm/atomic.h, 2 times
- arch/powerpc/include/asm/cmpxchg.h, line 508
- arch/powerpc/include/asm/cputime.h, line 26
- arch/powerpc/kernel/fadump.c, line 699
- 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 619
- arch/powerpc/platforms/powernv/idle.c, line 269
- arch/powerpc/platforms/powernv/pci-ioda-tce.c, line 106
- 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 34
- 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 273
- arch/x86/kvm/mmu/paging_tmpl.h, 2 times
- arch/x86/kvm/svm/svm.c, line 1340
- arch/x86/kvm/x86.c, 2 times
- arch/x86/mm/pat/memtype.c, line 169
- arch/x86/xen/p2m.c, line 573
- arch/xtensa/include/asm/atomic.h, line 260
- block/blk-core.c, line 1270
- drivers/accessibility/speakup/selection.c, 2 times
- drivers/block/drbd/drbd_worker.c, line 2045
- drivers/block/null_blk_main.c, line 444
- 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 1667
- drivers/gpu/drm/i915/gem/i915_gem_mman.c, line 798
- drivers/gpu/drm/i915/gem/i915_gem_userptr.c, line 209
- drivers/gpu/drm/i915/gt/intel_gt_buffer_pool.c, line 198
- drivers/gpu/drm/i915/gt/intel_gt_requests.c, line 100
- drivers/gpu/drm/i915/i915_active.c, 2 times
- drivers/gpu/drm/i915/i915_gpu_error.c, 3 times
- drivers/gpu/drm/i915/i915_request.c, line 156
- drivers/gpu/drm/i915/i915_sw_fence.h, line 116
- drivers/gpu/drm/i915/i915_vma.c, line 469
- drivers/gpu/drm/scheduler/sched_entity.c, line 178
- drivers/gpu/drm/vkms/vkms_gem.c, line 161
- drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c, line 172
- drivers/infiniband/hw/hfi1/rc.c, line 3168
- drivers/infiniband/hw/qib/qib_rc.c, line 2044
- drivers/infiniband/sw/rdmavt/qp.c, line 3138
- drivers/infiniband/ulp/rtrs/rtrs-clt.c, line 2072
- drivers/iommu/sun50i-iommu.c, line 503
- drivers/md/dm-bufio.c, 2 times
- drivers/md/dm-integrity.c, line 381
- drivers/md/dm-writecache.c, line 419
- drivers/md/dm.c, 2 times
- drivers/md/raid5-cache.c, line 1572
- drivers/misc/genwqe/card_ddcb.c, 2 times
- drivers/misc/sgi-xp/xpc_main.c, line 1093
- 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 618
- drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c, 2 times
- drivers/net/ethernet/huawei/hinic/hinic_hw_mgmt.c, line 410
- drivers/net/ethernet/intel/iavf/iavf_ethtool.c, line 507
- drivers/net/ethernet/sfc/mcdi.c, 4 times
- drivers/net/ethernet/sfc/ptp.c, line 1985
- drivers/nvme/target/core.c, line 696
- drivers/nvme/target/fabrics-cmd.c, line 114
- drivers/pci/controller/pci-hyperv.c, line 2831
- 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/target/iscsi/iscsi_target.c, 4 times
- drivers/target/target_core_transport.c, line 713
- 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 3036
- fs/btrfs/ioctl.c, line 384
- fs/btrfs/raid56.c, line 235
- fs/buffer.c, line 1476
- fs/ceph/file.c, line 1094
- fs/dcache.c, line 2508
- fs/debugfs/file.c, line 99
- fs/direct-io.c, line 585
- fs/erofs/tagptr.h, line 85
- fs/erofs/zdata.c, 5 times
- fs/eventpoll.c, 2 times
- fs/ext4/inode.c, line 778
- fs/fs-writeback.c, line 276
- fs/gfs2/glock.c, 2 times
- fs/gfs2/log.c, 2 times
- fs/gfs2/lops.c, line 207
- fs/gfs2/quota.c, line 1488
- fs/iomap/direct-io.c, line 150
- 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 504
- fs/posix_acl.c, 3 times
- fs/xfs/xfs_buf.c, line 1463
- 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 553
- include/linux/netpoll.h, line 76
- include/linux/skmsg.h, line 422
- kernel/acct.c, line 177
- kernel/bpf/bpf_local_storage.c, line 292
- kernel/bpf/bpf_struct_ops.c, line 488
- kernel/bpf/devmap.c, line 846
- kernel/debug/kdb/kdb_io.c, line 603
- kernel/exit.c, line 1008
- kernel/locking/osq_lock.c, line 162
- kernel/locking/qspinlock_paravirt.h, 2 times
- kernel/rcu/tree_stall.h, 2 times
- kernel/sched/core.c, 2 times
- kernel/sched/fair.c, line 2759
- kernel/sched/psi.c, 2 times
- kernel/task_work.c, 3 times
- kernel/trace/ring_buffer.c, 4 times
- kernel/trace/trace_functions.c, line 459
- 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 1893
- mm/memcontrol.c, 4 times
- mm/mmzone.c, line 111
- mm/oom_kill.c, line 708
- mm/page_alloc.c, line 567
- 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 167
- net/core/sock.c, line 1175
- 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 49
- net/mptcp/protocol.c, line 2312
- net/netfilter/ipvs/ip_vs_sync.c, line 532
- 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 1346
- net/smc/smc_core.c, line 1408
- net/smc/smc_llc.h, line 40
- net/sunrpc/auth.c, 2 times
- net/sunrpc/auth_gss/auth_gss.c, line 2119
- net/sunrpc/auth_gss/svcauth_gss.c, line 1410
- net/sunrpc/svcauth.c, line 119
- net/tipc/net.c, line 129
- sound/soc/dwc/dwc-pcm.c, 2 times
- sound/soc/intel/keembay/kmb_platform.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 288
- virt/kvm/kvm_main.c, line 331