/kernel/linux/linux-5.10/include/linux/ |
D | spinlock_api_smp.h | 22 void __lockfunc _raw_spin_lock(raw_spinlock_t *lock) __acquires(lock); 23 void __lockfunc _raw_spin_lock_nested(raw_spinlock_t *lock, int subclass) 26 _raw_spin_lock_nest_lock(raw_spinlock_t *lock, struct lockdep_map *map) 28 void __lockfunc _raw_spin_lock_bh(raw_spinlock_t *lock) __acquires(lock); 29 void __lockfunc _raw_spin_lock_irq(raw_spinlock_t *lock) 32 unsigned long __lockfunc _raw_spin_lock_irqsave(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); 39 void __lockfunc _raw_spin_unlock(raw_spinlock_t *lock) __releases(lock); [all …]
|
D | spinlock.h | 96 extern void __raw_spin_lock_init(raw_spinlock_t *lock, const char *name, 175 extern void do_raw_spin_lock(raw_spinlock_t *lock) __acquires(lock); 177 extern int do_raw_spin_trylock(raw_spinlock_t *lock); 178 extern void do_raw_spin_unlock(raw_spinlock_t *lock) __releases(lock); 180 static inline void do_raw_spin_lock(raw_spinlock_t *lock) __acquires(lock) in do_raw_spin_lock() 192 do_raw_spin_lock_flags(raw_spinlock_t *lock, unsigned long *flags) __acquires(lock) in do_raw_spin_lock_flags() 199 static inline int do_raw_spin_trylock(raw_spinlock_t *lock) in do_raw_spin_trylock() 209 static inline void do_raw_spin_unlock(raw_spinlock_t *lock) __releases(lock) in do_raw_spin_unlock() 327 static __always_inline raw_spinlock_t *spinlock_check(spinlock_t *lock) in spinlock_check()
|
D | spinlock_types.h | 29 } raw_spinlock_t; typedef 67 (raw_spinlock_t) __RAW_SPIN_LOCK_INITIALIZER(lockname) 69 #define DEFINE_RAW_SPINLOCK(x) raw_spinlock_t x = __RAW_SPIN_LOCK_UNLOCKED(x)
|
D | flex_proportions.h | 49 raw_spinlock_t lock; /* Protect period and numerator */ 81 raw_spinlock_t lock; /* Protect period and numerator */
|
D | bpf_local_storage.h | 21 raw_spinlock_t lock; 87 raw_spinlock_t lock; /* Protect adding/removing from the "list" */
|
D | i8253.h | 23 extern raw_spinlock_t i8253_lock;
|
D | ratelimit_types.h | 16 raw_spinlock_t lock; /* protect the state */
|
D | semaphore.h | 16 raw_spinlock_t lock;
|
/kernel/linux/linux-5.10/lib/ |
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 atomic64_read() 61 raw_spinlock_t *lock = lock_addr(v); in 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); \ 136 raw_spinlock_t *lock = lock_addr(v); in atomic64_dec_if_positive() 151 raw_spinlock_t *lock = lock_addr(v); in atomic64_cmpxchg() 166 raw_spinlock_t *lock = lock_addr(v); in atomic64_xchg() [all …]
|
/kernel/linux/linux-5.10/kernel/locking/ |
D | spinlock.c | 133 int __lockfunc _raw_spin_trylock(raw_spinlock_t *lock) in _raw_spin_trylock() 141 int __lockfunc _raw_spin_trylock_bh(raw_spinlock_t *lock) in _raw_spin_trylock_bh() 149 void __lockfunc _raw_spin_lock(raw_spinlock_t *lock) in _raw_spin_lock() 157 unsigned long __lockfunc _raw_spin_lock_irqsave(raw_spinlock_t *lock) in _raw_spin_lock_irqsave() 165 void __lockfunc _raw_spin_lock_irq(raw_spinlock_t *lock) in _raw_spin_lock_irq() 173 void __lockfunc _raw_spin_lock_bh(raw_spinlock_t *lock) in _raw_spin_lock_bh() 181 void __lockfunc _raw_spin_unlock(raw_spinlock_t *lock) in _raw_spin_unlock() 189 void __lockfunc _raw_spin_unlock_irqrestore(raw_spinlock_t *lock, unsigned long flags) in _raw_spin_unlock_irqrestore() 197 void __lockfunc _raw_spin_unlock_irq(raw_spinlock_t *lock) in _raw_spin_unlock_irq() 205 void __lockfunc _raw_spin_unlock_bh(raw_spinlock_t *lock) in _raw_spin_unlock_bh() [all …]
|
D | spinlock_debug.c | 16 void __raw_spin_lock_init(raw_spinlock_t *lock, const char *name, in __raw_spin_lock_init() 52 static void spin_dump(raw_spinlock_t *lock, const char *msg) in spin_dump() 70 static void spin_bug(raw_spinlock_t *lock, const char *msg) in spin_bug() 81 debug_spin_lock_before(raw_spinlock_t *lock) in debug_spin_lock_before() 89 static inline void debug_spin_lock_after(raw_spinlock_t *lock) in debug_spin_lock_after() 95 static inline void debug_spin_unlock(raw_spinlock_t *lock) in debug_spin_unlock() 110 void do_raw_spin_lock(raw_spinlock_t *lock) in do_raw_spin_lock() 118 int do_raw_spin_trylock(raw_spinlock_t *lock) in do_raw_spin_trylock() 135 void do_raw_spin_unlock(raw_spinlock_t *lock) in do_raw_spin_unlock()
|
/kernel/linux/linux-5.10/kernel/rcu/ |
D | tree.h | 41 raw_spinlock_t __private lock; /* Root rcu_node's lock protects */ 121 raw_spinlock_t fqslock ____cacheline_internodealigned_in_smp; 204 raw_spinlock_t nocb_lock; /* Guard following pair of fields. */ 211 raw_spinlock_t nocb_bypass_lock ____cacheline_internodealigned_in_smp; 218 raw_spinlock_t nocb_gp_lock ____cacheline_internodealigned_in_smp; 357 raw_spinlock_t ofl_lock ____cacheline_internodealigned_in_smp;
|
/kernel/linux/linux-5.10/drivers/pinctrl/ |
D | pinctrl-equilibrium.h | 117 raw_spinlock_t lock; /* protect gpio register */ 141 raw_spinlock_t lock; /* protect pinpad register */
|
/kernel/linux/linux-5.10/kernel/bpf/ |
D | bpf_lru_list.h | 36 raw_spinlock_t lock ____cacheline_aligned_in_smp; 42 raw_spinlock_t lock;
|
D | percpu_freelist.h | 11 raw_spinlock_t lock;
|
/kernel/linux/linux-5.10/Documentation/locking/ |
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 regardless of the 217 raw_spinlock_t is a strict spinning lock implementation in all kernels, 218 including PREEMPT_RT kernels. Use raw_spinlock_t only in real critical 221 hardware state. raw_spinlock_t can sometimes also be used when the 229 On a non-PREEMPT_RT kernel spinlock_t is mapped to raw_spinlock_t and has 473 raw_spinlock_t on RT 476 Acquiring a raw_spinlock_t disables preemption and possibly also [all …]
|
/kernel/linux/linux-5.10/include/kvm/ |
D | arm_vgic.h | 93 raw_spinlock_t irq_lock; /* Protects the content of the struct */ 252 raw_spinlock_t lpi_list_lock; 309 raw_spinlock_t ap_list_lock; /* Protects the ap_list */
|
/kernel/linux/linux-5.10/kernel/time/ |
D | timekeeping.h | 28 extern raw_spinlock_t jiffies_lock;
|
D | timekeeping_internal.h | 37 extern raw_spinlock_t timekeeper_lock;
|
/kernel/linux/linux-5.10/drivers/sh/intc/ |
D | internals.h | 58 raw_spinlock_t lock; 162 extern raw_spinlock_t intc_big_lock;
|
/kernel/linux/linux-5.10/kernel/cgroup/ |
D | rstat.c | 7 static DEFINE_PER_CPU(raw_spinlock_t, cgroup_rstat_cpu_lock); 27 raw_spinlock_t *cpu_lock = per_cpu_ptr(&cgroup_rstat_cpu_lock, cpu); in cgroup_rstat_updated() 149 raw_spinlock_t *cpu_lock = per_cpu_ptr(&cgroup_rstat_cpu_lock, in cgroup_rstat_flush_locked()
|
/kernel/linux/linux-5.10/kernel/sched/ |
D | cpudeadline.h | 12 raw_spinlock_t lock;
|
/kernel/linux/linux-5.10/arch/mips/include/asm/ |
D | i8259.h | 34 extern raw_spinlock_t i8259A_lock;
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | mpic_msgr.h | 19 raw_spinlock_t lock;
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | irq_remapping.h | 36 extern raw_spinlock_t irq_2_ir_lock;
|