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 154 (as a macro)
- arch/arc/include/asm/cmpxchg.h, line 167 (as a macro)
- arch/arc/include/asm/cmpxchg.h, line 201 (as a macro)
- arch/arm/include/asm/cmpxchg.h, line 131 (as a macro)
- arch/c6x/include/asm/cmpxchg.h, line 44 (as a macro)
- arch/csky/include/asm/cmpxchg.h, line 36 (as a macro)
- arch/h8300/include/asm/cmpxchg.h, line 7 (as a macro)
- arch/hexagon/include/asm/cmpxchg.h, line 45 (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 102 (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 143 (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 41 (as a macro)
- arch/xtensa/include/asm/cmpxchg.h, line 171 (as a macro)
- include/asm-generic/atomic-instrumented.h, line 1644 (as a macro)
- include/asm-generic/cmpxchg.h, line 83 (as a macro)
- include/linux/atomic-fallback.h, line 26 (as a macro)
Defined in 1 files as a function:
Referenced in 193 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 222
- arch/arc/kernel/smp.c, line 380
- arch/arm/include/asm/atomic.h, line 245
- arch/arm/kernel/dma.c, 3 times
- arch/arm/mach-rpc/ecard.c, line 278
- arch/arm64/include/asm/xen/events.h, line 20
- arch/csky/kernel/smp.c, line 43
- arch/h8300/include/asm/cmpxchg.h, line 64
- arch/hexagon/include/asm/atomic.h, line 46
- arch/hexagon/kernel/smp.c, line 88
- 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 85
- 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 1946
- arch/mips/kernel/vpe.c, line 786
- 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 290
- arch/powerpc/kvm/book3s_hv.c, line 4434
- arch/powerpc/platforms/powernv/pci-ioda-tce.c, line 147
- arch/riscv/include/asm/cmpxchg.h, 2 times
- arch/riscv/kernel/smp.c, line 127
- arch/s390/include/asm/atomic.h, 2 times
- arch/s390/include/asm/percpu.h, line 157
- arch/s390/kernel/kprobes.c, 2 times
- arch/s390/kernel/nmi.c, line 171
- arch/s390/kernel/smp.c, line 491
- arch/s390/kernel/time.c, 2 times
- arch/s390/kvm/interrupt.c, line 3051
- 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/hyperv/hv_apic.c, line 91
- arch/x86/include/asm/atomic64_32.h, 2 times
- arch/x86/include/asm/barrier.h, line 64
- 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 1214
- arch/x86/include/asm/pgtable_64.h, 3 times
- arch/x86/include/asm/xen/events.h, line 24
- arch/x86/kvm/lapic.c, 2 times
- arch/x86/kvm/mmu.c, 2 times
- arch/x86/kvm/x86.c, line 2596
- arch/x86/lib/atomic64_386_32.S, line 54
- arch/x86/math-emu/reg_u_sub.S, line 196
- arch/xtensa/include/asm/atomic.h, line 259
- drivers/atm/eni.c, line 1537
- drivers/block/ataflop.c, line 668
- drivers/gpu/drm/armada/armada_crtc.c, 2 times
- drivers/gpu/drm/i915/gt/intel_reset.c, line 65
- drivers/gpu/drm/i915/gt/selftest_hangcheck.c, 2 times
- drivers/gpu/drm/i915/gt/selftest_timeline.c, line 52
- drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c, line 457
- drivers/gpu/drm/i915/i915_gem_fence_reg.c, line 238
- drivers/gpu/drm/i915/i915_gpu_error.c, line 1768
- drivers/gpu/drm/i915/i915_sw_fence.c, 2 times
- drivers/gpu/drm/i915/intel_uncore.c, line 380
- drivers/gpu/drm/qxl/qxl_irq.c, line 38
- drivers/infiniband/hw/hfi1/chip.c, 2 times
- drivers/infiniband/hw/hfi1/user_sdma.c, 2 times
- drivers/infiniband/sw/rdmavt/qp.c, line 274
- drivers/irqchip/irq-ompic.c, line 126
- drivers/md/dm-bufio.c, line 1295
- drivers/md/raid5-cache.c, line 1502
- drivers/misc/sgi-gru/grufault.c, 2 times
- drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c, line 295
- drivers/net/ethernet/cavium/thunder/nicvf_main.c, line 1872
- drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c, 2 times
- drivers/net/ethernet/intel/i40e/i40e_main.c, line 12527
- 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, 3 times
- drivers/net/ethernet/qlogic/qede/qede_filter.c, line 1097
- drivers/net/ethernet/sfc/mcdi.c, line 1294
- drivers/net/ethernet/socionext/netsec.c, line 1789
- 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 1595
- drivers/s390/char/con3270.c, 5 times
- drivers/s390/char/tty3270.c, 6 times
- drivers/s390/cio/qdio_main.c, line 258
- drivers/s390/cio/qdio_thinint.c, 4 times
- drivers/s390/crypto/ap_bus.c, 2 times
- drivers/staging/speakup/devsynth.c, line 51
- drivers/staging/speakup/selection.c, 4 times
- drivers/thunderbolt/xdomain.c, 2 times
- drivers/tty/serial/8250/8250_port.c, 2 times
- drivers/tty/tty_audit.c, line 115
- drivers/tty/vt/vt.c, line 2905
- 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 2376
- fs/cachefiles/daemon.c, line 94
- fs/cifs/connect.c, 2 times
- fs/eventpoll.c, 2 times
- fs/ext4/page-io.c, line 326
- fs/file.c, line 386
- fs/namespace.c, 2 times
- fs/nfs/flexfilelayout/flexfilelayout.c, 2 times
- fs/nfs/nfs4state.c, line 2277
- fs/nfs/read.c, 3 times
- fs/nfs/sysfs.c, line 110
- fs/ocfs2/file.c, 2 times
- fs/posix_acl.c, 2 times
- fs/proc/kcore.c, line 268
- include/asm-generic/atomic.h, line 195
- include/asm-generic/cmpxchg.h, line 17
- include/linux/atomic-fallback.h, 7 times
- include/linux/debug_locks.h, line 17
- include/linux/llist.h, line 222
- include/linux/mm.h, line 1146
- include/linux/skmsg.h, line 442
- include/net/pkt_cls.h, line 141
- include/net/sock.h, 2 times
- kernel/acct.c, line 252
- kernel/audit.c, line 1468
- kernel/bpf/arraymap.c, 2 times
- kernel/bpf/cpumap.c, line 447
- kernel/bpf/devmap.c, 2 times
- kernel/bpf/local_storage.c, line 164
- kernel/bpf/stackmap.c, 4 times
- kernel/bpf/xskmap.c, line 291
- kernel/dma.c, 2 times
- kernel/exit.c, line 459
- kernel/irq_work.c, line 163
- 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 456
- kernel/rcu/rcutorture.c, line 1315
- kernel/sched/fair.c, line 1526
- kernel/sys.c, 2 times
- kernel/sysctl.c, line 3145
- kernel/trace/blktrace.c, 2 times
- kernel/umh.c, 2 times
- lib/atomic64_test.c, line 81
- lib/generic-radix-tree.c, line 232
- lib/sbitmap.c, line 29
- mm/huge_memory.c, line 147
- 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 42
- net/core/gen_estimator.c, line 200
- net/core/sock.c, line 1289
- net/core/sock_map.c, 2 times
- net/dccp/ipv6.c, 2 times
- net/decnet/dn_neigh.c, line 430
- net/decnet/dn_route.c, line 360
- net/ipv4/cipso_ipv4.c, line 1957
- net/ipv4/tcp.c, line 346
- net/ipv4/tcp_cong.c, line 228
- net/ipv4/tcp_input.c, line 6494
- net/ipv4/udp.c, line 2125
- 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 927
- 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 196
- net/netfilter/nf_log.c, line 303
- net/netfilter/xt_limit.c, line 72
- net/netlabel/netlabel_calipso.c, line 377
- net/rds/ib_recv.c, 2 times
- net/sched/act_api.c, line 46
- net/sunrpc/xprtmultipath.c, line 441
- net/sunrpc/xprtsock.c, line 2489
- sound/usb/mixer_quirks.c, line 220
- tools/testing/selftests/powerpc/benchmarks/context_switch.c, 3 times
- virt/kvm/kvm_main.c, line 1272