Defined in 3 files as a macro:
Referenced in 223 files:
- arch/alpha/include/asm/atomic.h, 6 times
- arch/alpha/include/asm/bitops.h, 2 times
- arch/arc/include/asm/atomic.h, 22 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, 25 times
- arch/arm/common/bL_switcher.c, line 105
- arch/arm/include/asm/atomic.h, 6 times
- arch/arm/include/asm/futex.h, 3 times
- arch/arm/include/asm/mcs_spinlock.h, line 11
- arch/arm/include/asm/processor.h, line 80
- arch/arm/include/asm/spinlock.h, 9 times
- arch/arm/kvm/psci.c, line 119
- arch/arm64/include/asm/spinlock.h, 3 times
- arch/blackfin/include/asm/processor.h, line 94
- arch/blackfin/kernel/time-ts.c, 2 times
- arch/hexagon/include/asm/spinlock.h, 2 times
- arch/metag/include/asm/atomic_lnkget.h, 8 times
- arch/metag/include/asm/cmpxchg_lnkget.h, 6 times
- arch/metag/include/asm/spinlock_lnkget.h, 9 times
- arch/mips/kernel/rtlx.c, 2 times
- arch/mips/kernel/smp.c, line 648
- arch/mn10300/kernel/mn10300-serial.c, 2 times
- arch/mn10300/kernel/smp.c, 6 times
- arch/mn10300/mm/tlb-smp.c, line 132
- arch/powerpc/include/asm/barrier.h, line 77
- arch/powerpc/include/asm/spinlock.h, 3 times
- arch/powerpc/kernel/crash.c, line 164
- arch/powerpc/kernel/smp.c, 3 times
- arch/powerpc/kernel/time.c, line 826
- arch/powerpc/kvm/book3s_64_mmu_hv.c, 2 times
- arch/powerpc/kvm/book3s_hv.c, 7 times
- arch/powerpc/kvm/book3s_hv_builtin.c, 4 times
- arch/powerpc/kvm/book3s_hv_rm_xics.c, 2 times
- arch/powerpc/kvm/book3s_xics.c, line 489
- arch/powerpc/kvm/powerpc.c, line 105
- arch/powerpc/platforms/powernv/smp.c, line 222
- arch/s390/include/asm/bitops.h, line 243
- arch/s390/lib/spinlock.c, 2 times
- arch/sh/kernel/ftrace.c, 5 times
- arch/sparc/kernel/time_32.c, 2 times
- arch/tile/include/asm/atomic_32.h, 8 times
- arch/tile/include/asm/atomic_64.h, 10 times
- arch/tile/include/asm/bitops_32.h, 3 times
- arch/tile/include/asm/bitops_64.h, 2 times
- arch/tile/include/asm/cmpxchg.h, 8 times
- arch/x86/events/amd/ibs.c, line 1007
- arch/x86/kernel/smpboot.c, line 1023
- arch/x86/kvm/i8254.c, line 213
- arch/x86/mm/tlb.c, 3 times
- arch/x86/oprofile/nmi_int.c, 4 times
- drivers/acpi/acpi_dbg.c, 4 times
- drivers/block/drbd/drbd_main.c, 2 times
- drivers/block/rbd.c, 15 times
- drivers/block/xen-blkback/blkback.c, line 638
- drivers/cpuidle/cpuidle-powernv.c, line 59
- drivers/cpuidle/cpuidle-pseries.c, line 79
- drivers/dma/ioat/dma.c, 2 times
- drivers/dma/mic_x100_dma.c, line 113
- drivers/firmware/tegra/ivc.c, 2 times
- drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c, line 159
- drivers/gpu/drm/omapdrm/omap_dmm_tiler.c, line 291
- drivers/md/bcache/closure.h, line 303
- drivers/md/dm-snap.c, line 1361
- drivers/md/dm-table.c, line 1632
- drivers/md/persistent-data/dm-block-manager.c, line 140
- drivers/md/raid10.c, 6 times
- drivers/md/raid5.c, 4 times
- drivers/media/pci/saa7134/saa7134-input.c, line 1078
- drivers/media/platform/omap3isp/isp.c, 3 times
- drivers/media/rc/ttusbir.c, line 67
- drivers/misc/cxl/native.c, line 380
- drivers/misc/sgi-xp/xpc_sn2.c, 2 times
- drivers/net/ethernet/alacritech/slicoss.c, line 126
- drivers/net/ethernet/amazon/ena/ena_netdev.c, line 748
- 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/thunder/nicvf_main.c, 2 times
- drivers/net/ethernet/chelsio/cxgb3/sge.c, 2 times
- drivers/net/ethernet/hisilicon/hns/hns_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/i40evf/i40e_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/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 2045
- drivers/net/ethernet/netronome/nfp/nfp_net_common.c, 2 times
- drivers/net/ethernet/qlogic/netxen/netxen_nic.h, line 1876
- drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c, line 600
- drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c, line 1800
- drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c, 2 times
- drivers/net/ethernet/qlogic/qede/qede_main.c, 2 times
- drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c, line 409
- 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.c, 3 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 663
- drivers/net/ethernet/sfc/tx.c, 4 times
- drivers/net/ethernet/sun/niu.c, line 3631
- drivers/net/ethernet/sun/sungem.c, 2 times
- drivers/net/ntb_netdev.c, 3 times
- drivers/net/usb/usbnet.c, line 1856
- drivers/pci/hotplug/pciehp_hpc.c, 2 times
- drivers/scsi/cxgbi/libcxgbi.c, line 824
- drivers/scsi/pm8001/pm8001_sas.h, line 728
- drivers/staging/comedi/comedi_buf.c, 2 times
- drivers/staging/comedi/drivers/dyna_pci10xx.c, 4 times
- drivers/staging/comedi/drivers/mite.c, line 458
- drivers/staging/comedi/drivers/ni_660x.c, line 440
- drivers/staging/comedi/drivers/ni_mio_common.c, line 5194
- drivers/staging/vc04_services/interface/vchiq_arm/vchiq_util.c, 2 times
- drivers/thermal/intel_powerclamp.c, 6 times
- drivers/tty/hvc/hvc_console.c, line 996
- drivers/tty/pty.c, line 182
- drivers/tty/tty_ldsem.c, line 140
- drivers/vhost/vhost.c, 3 times
- fs/afs/fsclient.c, line 581
- fs/aio.c, line 1175
- fs/btrfs/btrfs_inode.h, 2 times
- fs/btrfs/compression.c, line 892
- fs/btrfs/ctree.c, 2 times
- fs/btrfs/extent-tree.c, 4 times
- fs/btrfs/file.c, line 2064
- fs/btrfs/locking.c, line 293
- fs/btrfs/super.c, line 1912
- fs/btrfs/transaction.c, 5 times
- fs/btrfs/tree-log.c, 3 times
- fs/buffer.c, 3 times
- fs/coredump.c, line 465
- fs/eventpoll.c, line 1461
- fs/ext4/balloc.c, line 616
- fs/ext4/ext4.h, 2 times
- fs/fs-writeback.c, 3 times
- fs/fscache/object.c, line 261
- fs/gfs2/super.c, line 880
- fs/inode.c, line 961
- fs/jbd2/commit.c, 2 times
- fs/jbd2/transaction.c, line 1050
- fs/libfs.c, line 726
- fs/locks.c, line 1756
- fs/namespace.c, 3 times
- fs/reiserfs/journal.c, line 4270
- fs/splice.c, 2 times
- fs/ubifs/debug.c, 2 times
- fs/userfaultfd.c, 2 times
- fs/xfs/xfs_inode.h, line 270
- include/asm-generic/barrier.h, 2 times
- include/linux/freezer.h, 3 times
- include/linux/fs.h, 3 times
- include/linux/interrupt.h, line 611
- include/linux/netdevice.h, 2 times
- include/linux/sched.h, line 3493
- include/linux/tty.h, line 372
- include/linux/wait.h, line 157
- include/net/sock.h, line 1972
- ipc/sem.c, 2 times
- kernel/cpu.c, 3 times
- kernel/debug/debug_core.c, line 503
- kernel/events/core.c, line 2380
- kernel/exit.c, line 791
- kernel/futex.c, 2 times
- kernel/irq/irqdomain.c, 2 times
- kernel/locking/mutex.c, 3 times
- kernel/locking/percpu-rwsem.c, 4 times
- kernel/locking/rwsem-spinlock.c, line 95
- kernel/rcu/rcuperf.c, 2 times
- kernel/rcu/srcu.c, 4 times
- kernel/rcu/tree.c, 10 times
- kernel/rcu/tree.h, line 697
- kernel/rcu/tree_exp.h, 3 times
- kernel/rcu/tree_plugin.h, 10 times
- kernel/rcu/update.c, 2 times
- kernel/relay.c, 2 times
- kernel/sched/clock.c, 3 times
- kernel/sched/core.c, line 3426
- kernel/signal.c, line 280
- kernel/smp.c, line 709
- kernel/smpboot.c, line 495
- kernel/time/timer_stats.c, 2 times
- kernel/trace/blktrace.c, line 608
- kernel/trace/ring_buffer.c, 2 times
- kernel/trace/trace_functions_graph.c, line 502
- kernel/workqueue.c, 3 times
- lib/sbitmap.c, 2 times
- mm/ksm.c, line 2061
- mm/vmscan.c, line 797
- net/bluetooth/hidp/core.c, line 1263
- net/ipv4/tcp_input.c, 3 times
- net/kcm/kcmsock.c, 5 times
- net/mac80211/driver-ops.c, line 25
- net/mac80211/sta_info.c, line 535
- net/mac802154/driver-ops.h, line 34
- net/netfilter/nf_conntrack_core.c, line 159
- net/packet/af_packet.c, 2 times
- net/rds/send.c, line 431
- net/strparser/strparser.c, line 463
- net/sunrpc/svc_xprt.c, line 753
- net/vmw_vsock/vmci_transport_notify_qstate.c, 2 times
- security/keys/gc.c, 2 times
- tools/virtio/ringtest/main.c, line 356
- tools/virtio/ringtest/ring.c, 4 times
- tools/virtio/ringtest/virtio_ring_0_9.c, 4 times
- virt/kvm/async_pf.c, line 111