Defined in 3 files as a macro:
Defined in 16 files as a function:
- arch/alpha/include/asm/spinlock.h, line 30 (as a function)
- arch/arc/include/asm/spinlock.h, line 17 (as a function)
- arch/arc/include/asm/spinlock.h, line 222 (as a function)
- arch/arm/include/asm/spinlock.h, line 56 (as a function)
- arch/csky/include/asm/spinlock.h, line 14 (as a function)
- arch/csky/include/asm/spinlock.h, line 99 (as a function)
- arch/hexagon/include/asm/spinlock.h, line 115 (as a function)
- arch/ia64/include/asm/spinlock.h, line 112 (as a function)
- arch/powerpc/include/asm/spinlock.h, line 141 (as a function)
- arch/riscv/include/asm/spinlock.h, line 41 (as a function)
- arch/s390/include/asm/spinlock.h, line 64 (as a function)
- arch/sh/include/asm/spinlock-cas.h, line 28 (as a function)
- arch/sh/include/asm/spinlock-llsc.h, line 26 (as a function)
- arch/sparc/include/asm/spinlock_32.h, line 18 (as a function)
- include/linux/spinlock_up.h, line 29 (as a function)
- tools/include/linux/spinlock.h, line 25 (as a function)
Referenced in 30 files:
- arch/arc/include/asm/smp.h
- arch/arc/include/asm/spinlock.h
- arch/arm/common/mcpm_entry.c
- arch/arm/kernel/traps.c, line 312
- arch/ia64/include/asm/spinlock.h, line 130
- arch/mips/sgi-ip27/ip27-nmi.c, line 198
- arch/parisc/include/asm/atomic.h, line 39
- arch/parisc/include/asm/futex.h, line 22
- arch/powerpc/kernel/rtas.c
- arch/powerpc/kernel/traps.c, line 195
- arch/powerpc/kvm/book3s_hv_rm_xics.c, line 318
- arch/powerpc/kvm/book3s_xics.c
- arch/powerpc/kvm/book3s_xive.c
- arch/powerpc/kvm/book3s_xive_native.c
- arch/powerpc/kvm/book3s_xive_template.c, line 556
- arch/powerpc/platforms/pasemi/setup.c
- arch/s390/lib/spinlock.c
- arch/x86/kernel/dumpstack.c, line 319
- arch/x86/kernel/tsc_sync.c
- include/linux/spinlock.h
- kernel/bpf/helpers.c, line 232
- kernel/locking/lockdep.c
- kernel/locking/qrwlock.c
- kernel/locking/spinlock_debug.c, line 113
- kernel/trace/ring_buffer.c
- kernel/trace/trace.c
- kernel/trace/trace_clock.c, line 111
- kernel/trace/trace_sched_wakeup.c
- kernel/trace/trace_selftest.c, line 70
- kernel/trace/trace_stack.c