Loading...
Defined in 17 files as a macro:
- arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi, line 149 (as a macro)
- arch/ia64/include/uapi/asm/cmpxchg.h, line 133 (as a macro)
- arch/mips/boot/dts/ingenic/ci20.dts, line 458 (as a macro)
- arch/mips/include/asm/syscall.h, line 248 (as a macro)
- arch/xtensa/include/asm/core.h, line 479 (as a macro)
- drivers/perf/arm-cmn.c, line 372 (as a macro)
- fs/nfs/nfs4proc.c, line 479 (as a macro)
- include/linux/atomic/atomic-instrumented.h, line 1911 (as a macro)
- include/linux/ppp-comp.h, line 173 (as a macro)
- include/linux/soc/ti/ti_sci_protocol.h, line 166 (as a macro)
- include/linux/stacktrace.h, line 305 (as a macro)
- include/uapi/linux/hidraw.h, line 189 (as a macro)
- include/uapi/linux/if_macsec.h, line 459 (as a macro)
- include/uapi/linux/iio/buffer.h, line 187 (as a macro)
- include/uapi/linux/virtio_scmi.h, line 468 (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 2 files as a function:
- tools/testing/selftests/bpf/progs/atomics.c, line 136 (as a function)
- tools/testing/selftests/powerpc/benchmarks/context_switch.c, line 264 (as a function)
Referenced in 218 files:
- arch/arc/kernel/smp.c, line 271
- arch/arm/mach-imx/mmdc.c, 2 times
- arch/arm/mach-omap1/timer.c, 3 times
- arch/ia64/include/asm/pgtable.h, line 399
- arch/ia64/include/uapi/asm/cmpxchg.h, line 136
- arch/ia64/kernel/setup.c, line 1054
- arch/ia64/kernel/time.c, line 383
- arch/mips/include/asm/pgtable.h, line 187
- arch/mips/kvm/vz.c, line 2936
- arch/powerpc/include/asm/cputime.h, line 27
- arch/powerpc/kernel/fadump.c, line 712
- arch/powerpc/kvm/book3s_hv_builtin.c, 2 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 645
- arch/powerpc/platforms/powernv/idle.c, line 269
- arch/powerpc/platforms/powernv/pci-ioda-tce.c, line 106
- arch/powerpc/platforms/powernv/rng.c, line 157
- arch/powerpc/xmon/xmon.c, 2 times
- arch/s390/include/asm/percpu.h, 2 times
- arch/s390/kvm/gaccess.c, 4 times
- arch/s390/kvm/interrupt.c, 7 times
- arch/s390/kvm/kvm-s390.c, line 1820
- arch/sh/kernel/cpu/sh2/smp-j2.c, 2 times
- arch/um/kernel/skas/uaccess.c, line 353
- arch/x86/events/amd/core.c, 3 times
- arch/x86/events/amd/uncore.c, 2 times
- arch/x86/include/asm/uaccess.h, line 401
- arch/x86/kernel/acpi/boot.c, 2 times
- arch/x86/kernel/cpu/mce/dev-mcelog.c, line 273
- arch/x86/kvm/svm/svm.c, line 1421
- arch/x86/mm/pat/memtype.c, line 171
- arch/x86/xen/p2m.c, line 573
- block/blk-mq.c, 2 times
- block/blk-stat.c, line 243
- drivers/accessibility/speakup/selection.c, 2 times
- drivers/block/drbd/drbd_worker.c, line 2044
- drivers/block/null_blk/main.c, line 511
- drivers/dax/super.c, 2 times
- drivers/dma-buf/dma-fence-array.c, 2 times
- drivers/dma-buf/dma-fence-chain.c, line 65
- drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c, line 244
- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c, line 6175
- drivers/gpu/drm/amd/amdkfd/kfd_svm.c, line 1916
- drivers/gpu/drm/drm_lock.c, 4 times
- drivers/gpu/drm/i810/i810_dma.c, 6 times
- drivers/gpu/drm/i915/gem/i915_gem_mman.c, line 894
- drivers/gpu/drm/i915/gt/intel_gt_buffer_pool.c, line 194
- 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 171
- drivers/gpu/drm/i915/i915_sw_fence.h, line 121
- drivers/gpu/drm/i915/i915_vma.c, line 587
- drivers/gpu/drm/scheduler/sched_entity.c, line 180
- drivers/gpu/drm/vmwgfx/vmwgfx_cmd.c, line 161
- drivers/infiniband/hw/hfi1/rc.c, line 3127
- drivers/infiniband/hw/qib/qib_rc.c, line 2047
- drivers/infiniband/sw/rdmavt/qp.c, line 3087
- drivers/iommu/sun50i-iommu.c, line 573
- drivers/md/dm-bufio.c, 2 times
- drivers/md/dm-integrity.c, line 393
- drivers/md/dm-writecache.c, line 451
- drivers/md/dm.c, 2 times
- drivers/md/raid5-cache.c, line 1571
- 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/fungible/funcore/fun_dev.c, line 421
- drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c, line 611
- 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 519
- drivers/net/ethernet/sfc/mcdi.c, 4 times
- drivers/net/ethernet/sfc/ptp.c, line 2067
- drivers/net/ethernet/sfc/siena/mcdi.c, 4 times
- drivers/net/ethernet/sfc/siena/ptp.c, line 1973
- drivers/nvme/target/core.c, line 702
- drivers/nvme/target/fabrics-cmd.c, line 168
- drivers/pci/controller/pci-hyperv.c, line 3345
- drivers/pci/endpoint/functions/Kconfig, 6 times
- drivers/pci/pci.h, 2 times
- drivers/phy/renesas/phy-rcar-gen2.c, line 91
- drivers/platform/surface/aggregator/controller.c, 2 times
- drivers/platform/surface/aggregator/ssh_request_layer.c, 2 times
- drivers/s390/net/qeth_core.h, line 877
- drivers/scsi/elx/efct/efct_hw.c, line 1970
- drivers/scsi/libsas/sas_init.c, line 657
- drivers/scsi/lpfc/lpfc_sli.c, 2 times
- drivers/scsi/scsi_lib.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 774
- drivers/tty/tty_audit.c, line 192
- drivers/usb/gadget/function/f_fs.c, 3 times
- drivers/xen/events/events_base.c, line 248
- drivers/xen/mcelog.c, line 170
- fs/btrfs/raid56.c, line 124
- fs/ceph/file.c, line 1186
- fs/dcache.c, line 2603
- fs/debugfs/file.c, line 99
- fs/direct-io.c, line 578
- fs/erofs/zdata.c, 3 times
- fs/eventpoll.c, line 1109
- fs/ext4/inode.c, line 783
- fs/ext4/orphan.c, line 78
- fs/fs-writeback.c, line 265
- fs/gfs2/glock.c, 2 times
- fs/gfs2/log.c, 2 times
- fs/gfs2/lops.c, line 210
- fs/gfs2/quota.c, line 1496
- fs/iomap/direct-io.c, line 154
- fs/jbd2/transaction.c, line 155
- fs/locks.c, line 195
- fs/nfs/filelayout/filelayout.c, line 581
- fs/nfs/flexfilelayout/flexfilelayoutdev.c, line 338
- fs/nfs/nfs3acl.c, 3 times
- fs/nfs/nfs3proc.c, line 858
- fs/nfs/nfs4idmap.c, line 576
- fs/nfsd/state.h, line 731
- fs/notify/mark.c, line 567
- fs/posix_acl.c, 3 times
- fs/userfaultfd.c, line 1996
- fs/xfs/xfs_buf.c, line 1436
- fs/xfs/xfs_log_cil.c, line 174
- include/asm-generic/mshyperv.h, line 131
- include/linux/kvm_host.h, line 541
- include/linux/netpoll.h, line 77
- include/linux/pps_kernel.h, line 714
- include/linux/proc_fs.h, 5 times
- include/linux/pruss_driver.h, 2 times
- include/linux/psci.h, 3 times
- include/linux/skmsg.h, line 476
- include/linux/socket.h, line 722
- include/uapi/linux/hpet.h, line 722
- include/uapi/linux/hsr_netlink.h, 5 times
- include/uapi/linux/i2c-dev.h, 3 times
- io_uring/io_uring.c, line 1076
- kernel/acct.c, line 196
- kernel/bpf/bpf_local_storage.c, line 341
- kernel/bpf/bpf_struct_ops.c, line 534
- kernel/bpf/devmap.c, line 1101
- kernel/debug/kdb/kdb_io.c, line 602
- kernel/exit.c, line 1120
- kernel/kcsan/kcsan_test.c, 3 times
- kernel/kcsan/selftest.c, 3 times
- kernel/locking/osq_lock.c, line 162
- kernel/locking/qspinlock_paravirt.h, 2 times
- kernel/rcu/rcutorture.c, line 1036
- kernel/rcu/tasks.h, line 1270
- kernel/rcu/tree_stall.h, 2 times
- kernel/sched/fair.c, 3 times
- kernel/sched/psi.c, 2 times
- kernel/smp.c, line 204
- kernel/trace/ring_buffer.c, 4 times
- kernel/trace/trace_functions.c, line 613
- kernel/trace/trace_recursion_record.c, 2 times
- kernel/trace/tracing_map.c, line 566
- lib/atomic64_test.c, 2 times
- lib/errseq.c, 2 times
- lib/genalloc.c, 2 times
- lib/lru_cache.c, 2 times
- lib/rhashtable.c, 2 times
- lib/test_hmm_uapi.h, 5 times
- mm/huge_memory.c, line 167
- mm/kmemleak.c, line 2040
- mm/memcontrol.c, 4 times
- mm/oom_kill.c, line 768
- mm/page_io.c, line 252
- net/can/isotp.c, 2 times
- net/core/dev.c, 6 times
- net/core/dst.c, 2 times
- net/core/filter.c, 2 times
- net/core/lwtunnel.c, 2 times
- net/core/netpoll.c, line 181
- net/core/skbuff.c, line 6689
- net/core/sock.c, line 1428
- net/ipv4/gre_demux.c, 2 times
- net/ipv4/igmp.c, line 816
- 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 1077
- 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 78
- net/netfilter/ipvs/ip_vs_sync.c, line 532
- net/netfilter/nf_conntrack_ecache.c, line 160
- net/netfilter/nf_conntrack_labels.c, line 25
- net/netfilter/xt_limit.c, line 89
- net/rds/ib_frmr.c, 2 times
- net/rds/ib_recv.c, line 508
- net/rxrpc/call_event.c, 5 times
- net/rxrpc/input.c, line 1380
- net/smc/smc_core.c, line 1997
- net/smc/smc_llc.h, line 50
- net/sunrpc/auth.c, 2 times
- net/sunrpc/auth_gss/auth_gss.c, line 2109
- net/sunrpc/auth_gss/svcauth_gss.c, line 1420
- net/sunrpc/sched.c, line 70
- net/sunrpc/svcauth.c, line 121
- net/tipc/net.c, line 135
- sound/pci/ice1712/ice1724.c, 2 times
- sound/soc/dwc/dwc-pcm.c, 2 times
- sound/soc/intel/keembay/kmb_platform.c, 2 times
- sound/soc/sof/ipc3-dtrace.c, line 259
- 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/perf/trace/beauty/include/linux/socket.h, line 722
- tools/testing/selftests/bpf/prog_tests/atomics.c, line 129
- tools/testing/selftests/powerpc/benchmarks/context_switch.c, line 288
- tools/testing/selftests/tc-testing/config, 2 times