Defined in 10 files as a macro:
- arch/arm64/include/asm/vdso/compat_barrier.h, line 38 (as a macro)
- include/asm-generic/barrier.h, line 72 (as a macro)
- include/asm-generic/barrier.h, line 90 (as a macro)
- tools/arch/arm64/include/asm/barrier.h, line 23 (as a macro)
- tools/arch/x86/include/asm/barrier.h, line 29 (as a macro)
- tools/include/asm/barrier.h, line 47 (as a macro)
- tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/barriers.h, line 8 (as a macro)
- tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/barriers.h, line 15 (as a macro)
- tools/virtio/ringtest/main.h, line 114 (as a macro)
- tools/virtio/ringtest/main.h, line 120 (as a macro)
Referenced in 265 files:
- arch/alpha/include/asm/atomic.h, 6 times
- arch/alpha/include/asm/bitops.h, 2 times
- arch/alpha/include/asm/cmpxchg.h, 4 times
- arch/arc/include/asm/atomic.h, 20 times
- arch/arc/include/asm/bitops.h, 4 times
- arch/arc/include/asm/cmpxchg.h, 8 times
- arch/arc/include/asm/futex.h, 6 times
- arch/arc/include/asm/spinlock.h, 15 times
- arch/arm/common/bL_switcher.c, line 103
- arch/arm/include/asm/atomic.h, 6 times
- arch/arm/include/asm/futex.h, 3 times
- arch/arm/include/asm/mcs_spinlock.h, line 12
- arch/arm/include/asm/processor.h, line 91
- arch/arm/include/asm/spinlock.h, 9 times
- arch/arm64/include/asm/spinlock.h, line 12
- arch/arm64/include/asm/vdso/compat_barrier.h, line 34
- arch/csky/include/asm/atomic.h, 6 times
- arch/csky/include/asm/cmpxchg.h, 4 times
- arch/csky/include/asm/pgalloc.h, line 62
- arch/csky/include/asm/pgtable.h, 2 times
- arch/csky/include/asm/spinlock.h, 13 times
- arch/csky/kernel/smp.c, line 79
- arch/hexagon/include/asm/spinlock.h, 2 times
- arch/mips/include/asm/processor.h, line 398
- arch/mips/kernel/rtlx.c, 2 times
- arch/nds32/include/asm/futex.h, 3 times
- arch/powerpc/include/asm/kvm_ppc.h, 2 times
- arch/powerpc/include/asm/membarrier.h, line 24
- arch/powerpc/include/asm/spinlock.h, 2 times
- arch/powerpc/kernel/crash.c, line 166
- arch/powerpc/kernel/smp.c, 4 times
- arch/powerpc/kernel/time.c, line 904
- arch/powerpc/kvm/book3s_64_mmu_hv.c, 4 times
- arch/powerpc/kvm/book3s_hv.c, 11 times
- arch/powerpc/kvm/book3s_hv_builtin.c, 5 times
- arch/powerpc/kvm/book3s_hv_rm_xics.c, 3 times
- arch/powerpc/kvm/book3s_xics.c, line 499
- arch/powerpc/kvm/book3s_xive.c, 2 times
- arch/powerpc/kvm/book3s_xive_template.c, 4 times
- arch/powerpc/kvm/powerpc.c, line 110
- arch/powerpc/mm/book3s64/pgtable.c, line 97
- arch/powerpc/mm/book3s64/radix_tlb.c, 6 times
- arch/powerpc/mm/mmu_context.c, line 65
- arch/powerpc/platforms/powernv/idle.c, 4 times
- arch/powerpc/platforms/powernv/smp.c, line 251
- arch/riscv/kernel/ftrace.c, line 60
- arch/riscv/kernel/smpboot.c, line 112
- arch/riscv/mm/cacheflush.c, line 61
- arch/riscv/mm/context.c, line 36
- arch/s390/include/asm/bitops.h, line 240
- arch/sh/kernel/ftrace.c, 5 times
- arch/sparc/kernel/time_32.c, 2 times
- arch/x86/events/amd/ibs.c, line 1010
- arch/x86/kernel/smpboot.c, line 1069
- arch/x86/kvm/i8254.c, line 213
- arch/x86/mm/tlb.c, line 360
- arch/x86/oprofile/nmi_int.c, 4 times
- arch/xtensa/include/asm/spinlock.h, line 18
- drivers/acpi/acpi_dbg.c, 4 times
- drivers/block/drbd/drbd_main.c, 2 times
- drivers/block/rbd.c, 3 times
- drivers/block/xen-blkback/blkback.c, line 643
- drivers/cpuidle/cpuidle-powernv.c, line 92
- drivers/cpuidle/cpuidle-pseries.c, line 80
- drivers/crypto/chelsio/chtls/chtls_cm.c, line 1306
- drivers/dma/ioat/dma.c, 2 times
- drivers/dma/mic_x100_dma.c, line 102
- drivers/firmware/tegra/ivc.c, 2 times
- drivers/gpu/drm/omapdrm/omap_dmm_tiler.c, line 439
- drivers/infiniband/sw/siw/siw_mem.c, line 133
- drivers/infiniband/sw/siw/siw_qp_rx.c, line 743
- drivers/iommu/arm-smmu-v3.c, line 1943
- drivers/mailbox/mtk-cmdq-mailbox.c, 2 times
- drivers/md/bcache/closure.h, line 298
- drivers/md/bcache/super.c, 5 times
- drivers/md/bcache/writeback.c, 3 times
- drivers/md/dm-integrity.c, line 1828
- drivers/md/dm-snap.c, line 1494
- drivers/md/md.c, 2 times
- drivers/md/persistent-data/dm-block-manager.c, line 140
- drivers/md/raid10.c, 6 times
- drivers/md/raid5.c, 4 times
- drivers/media/platform/omap3isp/isp.c, 3 times
- drivers/media/rc/ttusbir.c, line 54
- drivers/misc/cxl/api.c, line 310
- drivers/misc/cxl/fault.c, line 151
- drivers/misc/cxl/file.c, line 249
- drivers/misc/cxl/native.c, line 444
- drivers/net/ethernet/alacritech/slicoss.c, line 117
- drivers/net/ethernet/amazon/ena/ena_netdev.c, 2 times
- drivers/net/ethernet/arc/emac_main.c, 3 times
- drivers/net/ethernet/broadcom/bnx2.c, 2 times
- drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c, 6 times
- drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h, 2 times
- drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c, 9 times
- drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c, 7 times
- drivers/net/ethernet/broadcom/bnxt/bnxt.c, 2 times
- drivers/net/ethernet/broadcom/tg3.c, 5 times
- drivers/net/ethernet/brocade/bna/bnad.c, 3 times
- drivers/net/ethernet/calxeda/xgmac.c, 3 times
- drivers/net/ethernet/cavium/common/cavium_ptp.c, line 148
- drivers/net/ethernet/cavium/thunder/nicvf_main.c, 2 times
- drivers/net/ethernet/chelsio/cxgb3/sge.c, 2 times
- drivers/net/ethernet/faraday/ftgmac100.c, 2 times
- drivers/net/ethernet/google/gve/gve_tx.c, 2 times
- drivers/net/ethernet/hisilicon/hns/hns_enet.c, 2 times
- drivers/net/ethernet/hisilicon/hns3/hns3_enet.c, 2 times
- drivers/net/ethernet/intel/e1000/e1000_main.c, 2 times
- drivers/net/ethernet/intel/e1000e/netdev.c, 2 times
- drivers/net/ethernet/intel/fm10k/fm10k_main.c, 2 times
- drivers/net/ethernet/intel/i40e/i40e_ptp.c, 2 times
- drivers/net/ethernet/intel/i40e/i40e_txrx.c, 2 times
- drivers/net/ethernet/intel/iavf/iavf_txrx.c, 2 times
- drivers/net/ethernet/intel/ice/ice_txrx.c, 2 times
- drivers/net/ethernet/intel/igb/igb_main.c, 2 times
- drivers/net/ethernet/intel/igbvf/netdev.c, 2 times
- drivers/net/ethernet/intel/igc/igc_main.c, 2 times
- drivers/net/ethernet/intel/ixgb/ixgb_main.c, 2 times
- drivers/net/ethernet/intel/ixgbe/ixgbe_main.c, 2 times
- drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c, 2 times
- drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c, 2 times
- drivers/net/ethernet/marvell/skge.c, 2 times
- drivers/net/ethernet/marvell/sky2.c, line 2030
- drivers/net/ethernet/netronome/nfp/nfp_net_common.c, 2 times
- drivers/net/ethernet/qlogic/netxen/netxen_nic.h, line 1860
- drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c, line 569
- drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c, line 1780
- drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c, 2 times
- drivers/net/ethernet/qlogic/qede/qede_fp.c, 2 times
- drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c, line 402
- drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c, 5 times
- drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c, line 1949
- drivers/net/ethernet/realtek/r8169_main.c, 2 times
- drivers/net/ethernet/sfc/efx.c, 2 times
- drivers/net/ethernet/sfc/falcon/efx.c, 2 times
- drivers/net/ethernet/sfc/falcon/tx.c, 4 times
- drivers/net/ethernet/sfc/siena_sriov.c, line 660
- drivers/net/ethernet/sfc/tx.c, 4 times
- drivers/net/ethernet/sun/niu.c, line 3613
- drivers/net/ethernet/sun/sungem.c, 2 times
- drivers/net/ethernet/xilinx/xilinx_axienet_main.c, 2 times
- drivers/net/ntb_netdev.c, 3 times
- drivers/net/usb/usbnet.c, line 1908
- drivers/net/veth.c, line 211
- drivers/net/wireless/intel/iwlwifi/mvm/utils.c, 2 times
- drivers/pci/hotplug/pciehp_hpc.c, 2 times
- drivers/scsi/cxgbi/libcxgbi.c, line 832
- drivers/scsi/pm8001/pm8001_sas.h, line 736
- drivers/spi/spi-bcm2835.c, line 819
- drivers/staging/comedi/comedi_buf.c, 2 times
- drivers/staging/comedi/drivers/dyna_pci10xx.c, 4 times
- drivers/staging/comedi/drivers/mite.c, line 448
- drivers/staging/comedi/drivers/ni_660x.c, line 441
- drivers/staging/comedi/drivers/ni_mio_common.c, line 5897
- drivers/thermal/intel/intel_powerclamp.c, 6 times
- drivers/tty/hvc/hvc_console.c, line 1060
- drivers/tty/pty.c, line 190
- drivers/usb/class/cdc-acm.c, line 845
- drivers/usb/serial/generic.c, line 492
- drivers/vhost/vhost.c, 2 times
- drivers/xen/pvcalls-front.c, line 1105
- fs/aio.c, line 1155
- fs/btrfs/block-group.h, line 245
- fs/btrfs/btrfs_inode.h, 2 times
- fs/btrfs/ctree.c, 2 times
- fs/btrfs/delayed-ref.c, line 60
- fs/btrfs/extent-tree.c, line 5739
- fs/btrfs/extent_io.c, line 271
- fs/btrfs/file.c, line 2148
- fs/btrfs/super.c, line 1917
- fs/btrfs/transaction.c, 3 times
- fs/buffer.c, 3 times
- fs/ceph/super.h, line 563
- fs/coredump.c, line 494
- fs/dcache.c, line 1982
- fs/debugfs/inode.c, line 680
- fs/erofs/internal.h, line 141
- fs/eventpoll.c, line 1671
- fs/ext4/balloc.c, line 622
- fs/f2fs/segment.c, line 657
- fs/fs-writeback.c, 3 times
- fs/fscache/object.c, line 266
- fs/fuse/dev.c, 2 times
- fs/gfs2/glock.c, line 142
- fs/gfs2/super.c, line 646
- fs/inode.c, 2 times
- fs/io_uring.c, 2 times
- fs/jbd2/commit.c, 2 times
- fs/jbd2/transaction.c, line 1098
- fs/libfs.c, line 750
- fs/locks.c, line 1900
- fs/namespace.c, 5 times
- fs/reiserfs/journal.c, line 4262
- fs/splice.c, 2 times
- fs/ubifs/debug.c, 2 times
- fs/userfaultfd.c, 2 times
- fs/xfs/xfs_inode.h, line 281
- include/asm-generic/barrier.h, 2 times
- include/linux/bio.h, line 227
- include/linux/freezer.h, 3 times
- include/linux/fs.h, 3 times
- include/linux/interrupt.h, line 662
- include/linux/iversion.h, 2 times
- include/linux/netdevice.h, 2 times
- include/linux/rcupdate.h, line 940
- include/linux/sched/idle.h, line 82
- include/linux/swait.h, line 156
- include/linux/tty.h, line 384
- include/linux/wait.h, line 159
- include/net/sock.h, line 2114
- ipc/sem.c, line 2182
- kernel/cgroup/rstat.c, 2 times
- kernel/cpu.c, 2 times
- kernel/debug/debug_core.c, line 561
- kernel/events/core.c, 2 times
- kernel/exit.c, 2 times
- kernel/futex.c, 2 times
- kernel/irq/irqdomain.c, 2 times
- kernel/locking/mutex.c, 2 times
- kernel/locking/percpu-rwsem.c, 4 times
- kernel/padata.c, line 263
- kernel/rcu/rcu.h, 3 times
- kernel/rcu/rcu_segcblist.c, 6 times
- kernel/rcu/rcuperf.c, 2 times
- kernel/rcu/rcutorture.c, 2 times
- kernel/rcu/srcutree.c, 10 times
- kernel/rcu/tree.c, 5 times
- kernel/rcu/tree_exp.h, 6 times
- kernel/rcu/tree_plugin.h, 4 times
- kernel/rcu/update.c, line 797
- kernel/relay.c, 2 times
- kernel/sched/clock.c, 2 times
- kernel/sched/fair.c, line 9615
- kernel/sched/membarrier.c, 8 times
- kernel/sched/wait.c, line 434
- kernel/signal.c, line 317
- kernel/smp.c, line 744
- kernel/smpboot.c, line 444
- kernel/trace/blktrace.c, line 647
- kernel/trace/ring_buffer.c, 2 times
- kernel/trace/trace_functions_graph.c, line 271
- kernel/workqueue.c, 3 times
- lib/sbitmap.c, 2 times
- mm/ksm.c, line 2822
- mm/swap.c, line 940
- mm/zsmalloc.c, line 2173
- net/bluetooth/hidp/core.c, line 1282
- net/core/xdp.c, line 271
- net/ipv4/tcp_input.c, 3 times
- net/kcm/kcmsock.c, 5 times
- net/mac80211/driver-ops.c, line 22
- net/mac80211/sta_info.c, line 621
- net/mac802154/driver-ops.h, line 35
- net/packet/af_packet.c, 2 times
- net/rds/send.c, line 451
- net/strparser/strparser.c, line 507
- net/tipc/socket.c, line 463
- net/vmw_vsock/vmci_transport_notify_qstate.c, 2 times
- net/xdp/xsk_queue.h, 2 times
- security/keys/gc.c, 2 times
- tools/include/asm/barrier.h, 3 times
- tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/barriers.h, 2 times
- tools/virtio/ringtest/main.c, line 369
- tools/virtio/ringtest/ring.c, 4 times
- tools/virtio/ringtest/virtio_ring_0_9.c, 4 times