Loading...
Defined in 25 files as a macro:
- arch/alpha/include/asm/cmpxchg.h, line 45 (as a macro)
- arch/arc/include/asm/cmpxchg.h, line 157 (as a macro)
- arch/arc/include/asm/cmpxchg.h, line 170 (as a macro)
- arch/arc/include/asm/cmpxchg.h, line 204 (as a macro)
- arch/arm/include/asm/cmpxchg.h, line 131 (as a macro)
- arch/arm64/include/asm/cmpxchg.h, line 116 (as a macro)
- arch/c6x/include/asm/cmpxchg.h, line 47 (as a macro)
- arch/h8300/include/asm/cmpxchg.h, line 7 (as a macro)
- arch/hexagon/include/asm/cmpxchg.h, line 59 (as a macro)
- arch/ia64/include/uapi/asm/cmpxchg.h, line 56 (as a macro)
- arch/m68k/include/asm/cmpxchg.h, line 79 (as a macro)
- arch/microblaze/include/asm/cmpxchg.h, line 37 (as a macro)
- arch/mips/include/asm/cmpxchg.h, line 98 (as a macro)
- arch/openrisc/include/asm/cmpxchg.h, line 164 (as a macro)
- arch/parisc/include/asm/cmpxchg.h, line 47 (as a macro)
- arch/riscv/include/asm/cmpxchg.h, line 151 (as a macro)
- arch/s390/include/asm/cmpxchg.h, line 26 (as a macro)
- arch/sh/include/asm/cmpxchg.h, line 48 (as a macro)
- arch/sparc/include/asm/cmpxchg_32.h, line 28 (as a macro)
- arch/sparc/include/asm/cmpxchg_64.h, line 55 (as a macro)
- arch/unicore32/include/asm/cmpxchg.h, line 44 (as a macro)
- arch/xtensa/include/asm/cmpxchg.h, line 138 (as a macro)
- include/asm-generic/atomic-instrumented.h, line 411 (as a macro)
- include/asm-generic/cmpxchg.h, line 83 (as a macro)
- include/linux/atomic.h, line 559 (as a macro)
Defined in 1 files as a function:
Referenced in 182 files:
- arch/alpha/include/asm/atomic.h, 2 times
- arch/alpha/include/asm/xchg.h, line 3
- arch/alpha/kernel/smp.c, line 536
- arch/arc/include/asm/cmpxchg.h, line 225
- arch/arc/kernel/smp.c, line 383
- arch/arm/include/asm/atomic.h, line 248
- arch/arm/kernel/dma.c, 3 times
- arch/arm/mach-rpc/ecard.c, line 277
- arch/arm64/include/asm/atomic.h, line 91
- arch/arm64/include/asm/xen/events.h, line 20
- arch/h8300/include/asm/cmpxchg.h, line 64
- arch/hexagon/include/asm/atomic.h, line 60
- arch/hexagon/kernel/smp.c, line 101
- arch/ia64/include/asm/atomic.h, 2 times
- arch/ia64/include/asm/pgtable.h, line 429
- arch/ia64/kernel/smp.c, line 104
- arch/ia64/mm/tlb.c, line 76
- arch/m68k/include/asm/atomic.h, line 166
- arch/mips/include/asm/atomic.h, 2 times
- arch/mips/kernel/rtlx.c, line 167
- arch/mips/kernel/traps.c, line 1916
- arch/mips/kernel/vpe.c, line 786
- arch/mips/sgi-ip27/ip27-timer.c, line 140
- arch/mips/sibyte/common/sb_tbprof.c, 2 times
- arch/parisc/include/asm/atomic.h, 2 times
- arch/powerpc/include/asm/atomic.h, 2 times
- arch/powerpc/kernel/smp.c, line 273
- arch/powerpc/kvm/book3s_hv.c, line 3618
- arch/powerpc/platforms/powernv/pci-ioda-tce.c, line 147
- arch/riscv/include/asm/cmpxchg.h, 2 times
- arch/riscv/kernel/smp.c, line 61
- arch/s390/include/asm/atomic.h, 2 times
- arch/s390/include/asm/percpu.h, line 157
- arch/s390/kernel/nmi.c, line 171
- arch/s390/kernel/smp.c, line 486
- arch/s390/kernel/time.c, 2 times
- arch/sh/include/asm/atomic.h, line 35
- arch/sh/include/asm/barrier.h, line 41
- arch/sparc/include/asm/atomic_64.h, 2 times
- arch/sparc/include/asm/parport.h, 2 times
- arch/um/kernel/irq.c, 4 times
- arch/x86/crypto/sha1_avx2_x86_64_asm.S, 2 times
- arch/x86/include/asm/atomic64_32.h, 2 times
- arch/x86/include/asm/barrier.h, line 65
- arch/x86/include/asm/cmpxchg.h, line 78
- arch/x86/include/asm/local.h, line 126
- arch/x86/include/asm/pgtable-2level.h, 3 times
- arch/x86/include/asm/pgtable-3level.h, 3 times
- arch/x86/include/asm/pgtable.h, line 1195
- arch/x86/include/asm/pgtable_64.h, 3 times
- arch/x86/include/asm/xen/events.h, line 22
- arch/x86/kvm/lapic.c, 2 times
- arch/x86/kvm/mmu.c, 2 times
- arch/x86/kvm/x86.c, line 2373
- arch/x86/lib/atomic64_386_32.S, line 58
- arch/x86/math-emu/reg_u_sub.S, line 196
- arch/xtensa/include/asm/atomic.h, line 201
- drivers/atm/eni.c, line 1535
- drivers/block/ataflop.c, line 589
- drivers/gpu/drm/armada/armada_crtc.c, 2 times
- drivers/gpu/drm/i915/i915_gem.c, line 3000
- drivers/gpu/drm/i915/i915_sw_fence.c, 2 times
- drivers/gpu/drm/i915/intel_guc_submission.c, line 506
- drivers/gpu/drm/i915/intel_uncore.c, line 346
- drivers/gpu/drm/i915/selftests/intel_hangcheck.c, 2 times
- drivers/gpu/drm/qxl/qxl_irq.c, line 34
- drivers/infiniband/hw/hfi1/chip.c, 2 times
- drivers/infiniband/hw/hfi1/user_sdma.c, 2 times
- drivers/infiniband/hw/hfi1/verbs.c, line 274
- drivers/irqchip/irq-ompic.c, line 126
- drivers/md/dm-bufio.c, line 1320
- drivers/md/raid5-cache.c, line 1511
- drivers/misc/sgi-gru/grufault.c, 2 times
- drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c, line 183
- drivers/net/ethernet/cavium/thunder/nicvf_main.c, line 1840
- drivers/net/ethernet/intel/i40e/i40e_main.c, line 11860
- drivers/net/ethernet/intel/ixgbe/ixgbe_main.c, 2 times
- drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c, 2 times
- drivers/net/ethernet/mellanox/mlx5/core/en_main.c, 2 times
- drivers/net/ethernet/qlogic/qede/qede_filter.c, line 1097
- drivers/net/ethernet/sfc/mcdi.c, line 1297
- drivers/net/slip/slip.c, 11 times
- drivers/net/wan/x25_asy.c, 2 times
- drivers/net/wireless/intersil/prism54/islpci_mgt.c, 2 times
- drivers/net/wireless/marvell/mwifiex/11n_rxreorder.c, 3 times
- drivers/nvme/target/rdma.c, 2 times
- drivers/pci/controller/pci-hyperv.c, line 1317
- drivers/s390/char/con3270.c, 5 times
- drivers/s390/char/tty3270.c, 6 times
- drivers/s390/cio/qdio_main.c, line 251
- drivers/s390/cio/qdio_thinint.c, 4 times
- drivers/s390/crypto/ap_bus.c, 2 times
- drivers/scsi/lpfc/lpfc_scsi.c, line 4180
- drivers/staging/speakup/devsynth.c, line 51
- drivers/staging/speakup/selection.c, line 135
- drivers/thunderbolt/xdomain.c, 2 times
- drivers/tty/serial/8250/8250_port.c, 2 times
- drivers/tty/tty_audit.c, line 116
- drivers/tty/vt/vt.c, line 2881
- drivers/usb/gadget/function/f_fs.c, 2 times
- drivers/video/fbdev/pxafb.c, line 1643
- drivers/video/fbdev/sa1100fb.c, line 964
- drivers/xen/events/events_fifo.c, 2 times
- fs/btrfs/transaction.c, line 2366
- fs/cachefiles/daemon.c, line 98
- fs/cifs/connect.c, 2 times
- fs/ext4/page-io.c, line 334
- fs/file.c, line 386
- fs/namespace.c, 2 times
- fs/nfs/file.c, 2 times
- fs/nfs/flexfilelayout/flexfilelayout.c, 2 times
- fs/nfs/nfs4state.c, line 2273
- fs/ocfs2/file.c, 2 times
- fs/posix_acl.c, 2 times
- fs/proc/kcore.c, line 267
- include/asm-generic/atomic.h, line 199
- include/asm-generic/cmpxchg.h, line 17
- include/linux/atomic.h, 6 times
- include/linux/debug_locks.h, line 17
- include/linux/llist.h, line 234
- include/linux/mm.h, line 1022
- include/net/pkt_cls.h, line 206
- include/net/sock.h, 2 times
- kernel/acct.c, line 252
- kernel/audit.c, line 1469
- kernel/bpf/arraymap.c, 2 times
- kernel/bpf/cgroup.c, line 143
- kernel/bpf/cpumap.c, line 416
- kernel/bpf/devmap.c, 2 times
- kernel/bpf/local_storage.c, line 149
- kernel/bpf/sockmap.c, 9 times
- kernel/bpf/stackmap.c, 4 times
- kernel/bpf/xskmap.c, 2 times
- kernel/dma.c, 2 times
- kernel/exit.c, line 520
- kernel/irq_work.c, line 162
- kernel/kexec.c, 3 times
- kernel/kexec_file.c, 2 times
- kernel/kthread.c, 3 times
- kernel/locking/mcs_spinlock.h, line 79
- kernel/locking/osq_lock.c, 2 times
- kernel/locking/qspinlock_paravirt.h, line 457
- kernel/rcu/tree_plugin.h, 2 times
- kernel/sched/fair.c, line 1560
- kernel/sys.c, 2 times
- kernel/sysctl.c, line 3041
- kernel/trace/blktrace.c, 2 times
- kernel/umh.c, 2 times
- lib/atomic64_test.c, line 85
- mm/huge_memory.c, line 143
- mm/memcontrol.c, 2 times
- mm/page_counter.c, line 195
- net/atm/clip.c, 2 times
- net/atm/svc.c, 2 times
- net/bridge/netfilter/ebt_limit.c, line 41
- net/core/gen_estimator.c, line 204
- net/core/sock.c, line 1157
- net/dccp/ipv6.c, 2 times
- net/decnet/dn_neigh.c, line 430
- net/decnet/dn_route.c, line 370
- net/ipv4/cipso_ipv4.c, line 1971
- net/ipv4/tcp.c, line 345
- net/ipv4/tcp_cong.c, line 227
- net/ipv4/tcp_input.c, line 6375
- net/ipv4/udp.c, line 2049
- net/ipv6/af_inet6.c, 3 times
- net/ipv6/calipso.c, 2 times
- net/ipv6/datagram.c, 2 times
- net/ipv6/ip6_fib.c, line 898
- net/ipv6/ipv6_sockglue.c, 3 times
- net/ipv6/route.c, 3 times
- net/ipv6/tcp_ipv6.c, 2 times
- net/netfilter/nf_conntrack_ecache.c, line 198
- net/netfilter/nf_log.c, line 302
- net/netfilter/xt_limit.c, line 75
- net/netlabel/netlabel_calipso.c, line 390
- net/rds/ib_recv.c, 2 times
- net/sched/act_api.c, line 71
- net/sunrpc/xprtmultipath.c, line 396
- sound/usb/mixer_quirks.c, line 231
- tools/testing/selftests/powerpc/benchmarks/context_switch.c, 3 times
- virt/kvm/kvm_main.c, line 1245