/openbmc/linux/include/linux/ |
H A D | spinlock_api_smp.h | 29 void __lockfunc _raw_spin_lock_irq(raw_spinlock_t *lock) 35 _raw_spin_lock_irqsave_nested(raw_spinlock_t *lock, int subclass) 37 int __lockfunc _raw_spin_trylock(raw_spinlock_t *lock); 38 int __lockfunc _raw_spin_trylock_bh(raw_spinlock_t *lock); 86 static inline int __raw_spin_trylock(raw_spinlock_t *lock) in __raw_spin_trylock() 115 static inline void __raw_spin_lock_irq(raw_spinlock_t *lock) in __raw_spin_lock_irq() 123 static inline void __raw_spin_lock_bh(raw_spinlock_t *lock) in __raw_spin_lock_bh() 130 static inline void __raw_spin_lock(raw_spinlock_t *lock) in __raw_spin_lock() 139 static inline void __raw_spin_unlock(raw_spinlock_t *lock) in __raw_spin_unlock() 163 static inline void __raw_spin_unlock_bh(raw_spinlock_t *lock) in __raw_spin_unlock_bh() [all …]
|
H A D | spinlock.h | 101 extern void __raw_spin_lock_init(raw_spinlock_t *lock, const char *name, 180 extern void do_raw_spin_lock(raw_spinlock_t *lock) __acquires(lock); 181 extern int do_raw_spin_trylock(raw_spinlock_t *lock); 182 extern void do_raw_spin_unlock(raw_spinlock_t *lock) __releases(lock); 184 static inline void do_raw_spin_lock(raw_spinlock_t *lock) __acquires(lock) in do_raw_spin_lock() 191 static inline int do_raw_spin_trylock(raw_spinlock_t *lock) in do_raw_spin_trylock() 324 static __always_inline raw_spinlock_t *spinlock_check(spinlock_t *lock) in spinlock_check() 506 DEFINE_LOCK_GUARD_1(raw_spinlock, raw_spinlock_t, 510 DEFINE_LOCK_GUARD_1(raw_spinlock_nested, raw_spinlock_t, 514 DEFINE_LOCK_GUARD_1(raw_spinlock_irq, raw_spinlock_t, [all …]
|
H A D | spinlock_types_raw.h | 23 } raw_spinlock_t; typedef 69 (raw_spinlock_t) __RAW_SPIN_LOCK_INITIALIZER(lockname) 71 #define DEFINE_RAW_SPINLOCK(x) raw_spinlock_t x = __RAW_SPIN_LOCK_UNLOCKED(x)
|
H A D | flex_proportions.h | 49 raw_spinlock_t lock; /* Protect period and numerator */ 81 raw_spinlock_t lock; /* Protect period and numerator */
|
H A D | bpf_local_storage.h | 26 raw_spinlock_t lock; 96 raw_spinlock_t lock; /* Protect adding/removing from the "list" */
|
H A D | i8253.h | 23 extern raw_spinlock_t i8253_lock;
|
/openbmc/linux/lib/ |
H A D | atomic64.c | 28 raw_spinlock_t lock; 36 static inline raw_spinlock_t *lock_addr(const atomic64_t *v) in lock_addr() 48 raw_spinlock_t *lock = lock_addr(v); in generic_atomic64_read() 61 raw_spinlock_t *lock = lock_addr(v); in generic_atomic64_set() 73 raw_spinlock_t *lock = lock_addr(v); \ 85 raw_spinlock_t *lock = lock_addr(v); \ 99 raw_spinlock_t *lock = lock_addr(v); \ 134 raw_spinlock_t *lock = lock_addr(v); in generic_atomic64_dec_if_positive() 149 raw_spinlock_t *lock = lock_addr(v); in generic_atomic64_cmpxchg() 164 raw_spinlock_t *lock = lock_addr(v); in generic_atomic64_xchg() [all …]
|
H A D | dec_and_lock.c | 53 int _atomic_dec_and_raw_lock(atomic_t *atomic, raw_spinlock_t *lock) in _atomic_dec_and_raw_lock() 68 int _atomic_dec_and_raw_lock_irqsave(atomic_t *atomic, raw_spinlock_t *lock, in _atomic_dec_and_raw_lock_irqsave()
|
/openbmc/linux/kernel/locking/ |
H A D | spinlock.c | 136 noinline int __lockfunc _raw_spin_trylock(raw_spinlock_t *lock) in _raw_spin_trylock() 144 noinline int __lockfunc _raw_spin_trylock_bh(raw_spinlock_t *lock) in _raw_spin_trylock_bh() 152 noinline void __lockfunc _raw_spin_lock(raw_spinlock_t *lock) in _raw_spin_lock() 168 noinline void __lockfunc _raw_spin_lock_irq(raw_spinlock_t *lock) in _raw_spin_lock_irq() 176 noinline void __lockfunc _raw_spin_lock_bh(raw_spinlock_t *lock) in _raw_spin_lock_bh() 184 noinline void __lockfunc _raw_spin_unlock(raw_spinlock_t *lock) in _raw_spin_unlock() 200 noinline void __lockfunc _raw_spin_unlock_irq(raw_spinlock_t *lock) in _raw_spin_unlock_irq() 208 noinline void __lockfunc _raw_spin_unlock_bh(raw_spinlock_t *lock) in _raw_spin_unlock_bh() 375 void __lockfunc _raw_spin_lock_nested(raw_spinlock_t *lock, int subclass) in _raw_spin_lock_nested() 383 unsigned long __lockfunc _raw_spin_lock_irqsave_nested(raw_spinlock_t *lock, in _raw_spin_lock_irqsave_nested() [all …]
|
H A D | spinlock_debug.c | 16 void __raw_spin_lock_init(raw_spinlock_t *lock, const char *name, in __raw_spin_lock_init() 54 static void spin_dump(raw_spinlock_t *lock, const char *msg) in spin_dump() 72 static void spin_bug(raw_spinlock_t *lock, const char *msg) in spin_bug() 83 debug_spin_lock_before(raw_spinlock_t *lock) in debug_spin_lock_before() 91 static inline void debug_spin_lock_after(raw_spinlock_t *lock) in debug_spin_lock_after() 97 static inline void debug_spin_unlock(raw_spinlock_t *lock) in debug_spin_unlock() 112 void do_raw_spin_lock(raw_spinlock_t *lock) in do_raw_spin_lock() 120 int do_raw_spin_trylock(raw_spinlock_t *lock) in do_raw_spin_trylock() 137 void do_raw_spin_unlock(raw_spinlock_t *lock) in do_raw_spin_unlock()
|
/openbmc/linux/kernel/rcu/ |
H A D | tree.h | 46 raw_spinlock_t __private lock; /* Root rcu_node's lock protects */ 129 raw_spinlock_t fqslock ____cacheline_internodealigned_in_smp; 136 raw_spinlock_t exp_poll_lock; 226 raw_spinlock_t nocb_lock; /* Guard following pair of fields. */ 234 raw_spinlock_t nocb_bypass_lock ____cacheline_internodealigned_in_smp; 241 raw_spinlock_t nocb_gp_lock ____cacheline_internodealigned_in_smp; 361 raw_spinlock_t barrier_lock; /* Protects ->barrier_seq_snap. */
|
/openbmc/u-boot/arch/nios2/include/asm/bitops/ |
H A D | atomic.h | 18 extern raw_spinlock_t __atomic_hash[ATOMIC_HASH_SIZE] __lock_aligned; 23 raw_spinlock_t *s = ATOMIC_HASH(l); \ 29 raw_spinlock_t *s = ATOMIC_HASH(l); \
|
/openbmc/linux/drivers/pinctrl/ |
H A D | pinctrl-equilibrium.h | 117 raw_spinlock_t lock; /* protect gpio register */ 141 raw_spinlock_t lock; /* protect pinpad register */
|
/openbmc/linux/kernel/bpf/ |
H A D | bpf_lru_list.h | 37 raw_spinlock_t lock ____cacheline_aligned_in_smp; 43 raw_spinlock_t lock;
|
H A D | percpu_freelist.h | 11 raw_spinlock_t lock;
|
/openbmc/linux/include/kvm/ |
H A D | arm_vgic.h | 118 raw_spinlock_t irq_lock; /* Protects the content of the struct */ 277 raw_spinlock_t lpi_list_lock; 334 raw_spinlock_t ap_list_lock; /* Protects the ap_list */
|
/openbmc/linux/Documentation/locking/ |
H A D | locktypes.rst | 68 - raw_spinlock_t 208 raw_spinlock_t and spinlock_t 211 raw_spinlock_t section in raw_spinlock_t and spinlock_t 214 raw_spinlock_t is a strict spinning lock implementation in all kernels, 215 including PREEMPT_RT kernels. Use raw_spinlock_t only in real critical 218 hardware state. raw_spinlock_t can sometimes also be used when the 226 On a non-PREEMPT_RT kernel spinlock_t is mapped to raw_spinlock_t and has 470 raw_spinlock_t on RT 473 Acquiring a raw_spinlock_t disables preemption and possibly also 497 spinlocks are preserved on PREEMPT_RT kernels, so that the raw_spinlock_t [all …]
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | pc-conf-reg.h | 19 extern raw_spinlock_t pc_conf_lock;
|
H A D | irq_remapping.h | 36 extern raw_spinlock_t irq_2_ir_lock;
|
/openbmc/linux/kernel/sched/ |
H A D | sched.h | 282 raw_spinlock_t rt_runtime_lock; 315 raw_spinlock_t lock; 340 raw_spinlock_t lock; 591 raw_spinlock_t lock ____cacheline_aligned; 692 raw_spinlock_t rt_runtime_lock; 872 raw_spinlock_t rto_lock; 966 raw_spinlock_t __lock; 1238 static inline raw_spinlock_t *rq_lockp(struct rq *rq) in rq_lockp() 2764 static inline void double_raw_lock(raw_spinlock_t *l1, raw_spinlock_t *l2) in double_raw_lock() 2773 static inline void double_raw_unlock(raw_spinlock_t *l1, raw_spinlock_t *l2) in double_raw_unlock() [all …]
|
H A D | cpudeadline.h | 12 raw_spinlock_t lock;
|
/openbmc/linux/kernel/time/ |
H A D | timekeeping.h | 29 extern raw_spinlock_t jiffies_lock;
|
H A D | timekeeping_internal.h | 37 extern raw_spinlock_t timekeeper_lock;
|
/openbmc/linux/drivers/sh/intc/ |
H A D | internals.h | 58 raw_spinlock_t lock; 162 extern raw_spinlock_t intc_big_lock;
|
/openbmc/linux/kernel/trace/ |
H A D | pid_list.h | 79 raw_spinlock_t lock;
|