Defined in 1 files as a prototype:
Defined in 17 files as a macro:
- arch/alpha/include/asm/atomic.h, line 191 (as a macro)
- arch/arc/include/asm/cmpxchg.h, line 104 (as a macro)
- arch/arm64/include/asm/atomic.h, line 120 (as a macro)
- arch/avr32/include/asm/atomic.h, line 226 (as a macro)
- arch/frv/include/asm/atomic.h, line 144 (as a macro)
- arch/ia64/include/asm/atomic.h, line 232 (as a macro)
- arch/m32r/include/asm/atomic.h, line 247 (as a macro)
- arch/m68k/include/asm/atomic.h, line 160 (as a macro)
- arch/mips/include/asm/atomic.h, line 274 (as a macro)
- arch/mn10300/include/asm/atomic.h, line 157 (as a macro)
- arch/parisc/include/asm/atomic.h, line 74 (as a macro)
- arch/powerpc/include/asm/atomic.h, line 210 (as a macro)
- arch/sh/include/asm/atomic.h, line 45 (as a macro)
- arch/sparc/include/asm/atomic_64.h, line 84 (as a macro)
- arch/xtensa/include/asm/atomic.h, line 274 (as a macro)
- include/asm-generic/atomic.h, line 224 (as a macro)
- include/linux/atomic.h, line 421 (as a macro)
Defined in 9 files as a function:
Documented in 3 files:
Referenced in 99 files:
- arch/arc/include/asm/atomic.h, line 328
- arch/arm/include/asm/atomic.h, line 223
- arch/arm64/include/asm/atomic.h, line 196
- arch/blackfin/kernel/bfin_dma.c, line 139
- arch/frv/include/asm/atomic.h, line 156
- arch/ia64/include/asm/atomic.h, line 246
- arch/m32r/include/asm/atomic.h, line 266
- arch/m68k/include/asm/atomic.h, line 220
- arch/metag/include/asm/atomic_lnkget.h, line 113
- arch/mips/include/asm/atomic.h, line 293
- arch/mn10300/include/asm/atomic.h, line 151
- arch/parisc/include/asm/atomic.h, line 93
- arch/powerpc/mm/mmu_context_iommu.c, line 281
- arch/s390/include/asm/atomic.h
- arch/s390/mm/pgalloc.c, line 136
- arch/sh/include/asm/atomic.h, line 63
- arch/sh/kernel/ftrace.c
- arch/sparc/include/asm/atomic_64.h, line 94
- arch/sparc/lib/atomic32.c, line 95
- arch/tile/lib/spinlock_64.c, line 28
- arch/x86/include/asm/atomic.h
- arch/x86/include/asm/qspinlock.h, line 64
- arch/x86/kernel/apic/apic.c, line 413
- arch/x86/kernel/cpu/mshyperv.c, line 174
- arch/x86/kernel/smp.c, line 205
- arch/xtensa/include/asm/atomic.h, line 293
- block/blk-wbt.c, line 74
- drivers/block/drbd/drbd_actlog.c, line 99
- drivers/firewire/core-device.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c, line 203
- drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c, line 620
- drivers/gpu/drm/i915/gvt/kvmgt.c, line 535
- drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c, line 842
- drivers/gpu/drm/radeon/radeon_uvd.c
- drivers/gpu/drm/radeon/radeon_vce.c
- drivers/gpu/host1x/hw/syncpt_hw.c, line 69
- drivers/gpu/host1x/intr.c
- drivers/hwtracing/intel_th/msu.c
- drivers/infiniband/hw/ocrdma/ocrdma_ah.c, line 173
- drivers/infiniband/hw/ocrdma/ocrdma_hw.c, line 2515
- drivers/iommu/amd_iommu.c, line 2303
- drivers/md/bcache/alloc.c, line 98
- drivers/md/bcache/io.c
- drivers/md/raid5.h, line 518
- drivers/media/pci/saa7164/saa7164-encoder.c
- drivers/media/pci/saa7164/saa7164-vbi.c
- drivers/media/platform/omap3isp/isp.c, line 1244
- drivers/media/rc/redrat3.c, line 873
- drivers/media/usb/cx231xx/cx231xx-417.c
- drivers/misc/cxl/main.c
- drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c
- drivers/net/ethernet/broadcom/bnxt/bnxt.h
- drivers/net/ethernet/cisco/enic/vnic_rq.h
- drivers/net/ethernet/intel/ixgbe/ixgbe.h
- drivers/net/ethernet/sfc/falcon/farch.c, line 1103
- drivers/net/ethernet/sfc/farch.c, line 1092
- drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c, line 335
- drivers/rapidio/rio.c, line 2312
- drivers/s390/block/dasd.c
- drivers/s390/cio/ccwgroup.c
- drivers/s390/cio/device.c
- drivers/s390/net/qeth_core_main.c
- drivers/s390/net/qeth_l2_main.c, line 1464
- drivers/staging/media/omap4iss/iss.c, line 683
- drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c
- drivers/thermal/thermal_core.c
- drivers/vfio/vfio.c
- drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c, line 840
- fs/aio.c, line 930
- fs/btrfs/extent_io.c, line 5080
- fs/gfs2/log.c, line 367
- fs/hfsplus/xattr.c, line 145
- include/asm-generic/atomic.h, line 230
- include/linux/atomic.h
- include/linux/page_ref.h, line 165
- include/linux/sbitmap.h, line 347
- kernel/jump_label.c, line 122
- kernel/kexec_core.c, line 916
- kernel/locking/qspinlock_paravirt.h, line 141
- kernel/panic.c
- kernel/printk/nmi.c
- kernel/smpboot.c
- kernel/trace/ring_buffer.c
- kernel/ucount.c, line 179
- lib/dump_stack.c, line 40
- lib/sbitmap.c, line 287
- mm/huge_memory.c, line 128
- net/ipv4/inetpeer.c, line 389
- net/ipv4/route.c, line 488
- net/ipv6/ip6_fib.c, line 103
- net/netfilter/ipvs/ip_vs_conn.c, line 245
- net/netfilter/nfnetlink_acct.c, line 332
- net/netfilter/nfnetlink_cttimeout.c, line 342
- net/netfilter/nft_numgen.c, line 39
- net/netfilter/xt_statistic.c, line 47
- net/rds/ib_send.c, line 399
- net/rds/rds.h, line 701
- net/rxrpc/conn_object.c, line 385