Home
last modified time | relevance | path

Searched refs:raw_spinlock_t (Results 1 – 25 of 182) sorted by relevance

12345678

/linux/include/linux/
A Dspinlock_api_smp.h29 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 …]
A Dspinlock.h99 extern void __raw_spin_lock_init(raw_spinlock_t *lock, const char *name,
178 extern void do_raw_spin_lock(raw_spinlock_t *lock) __acquires(lock);
179 extern int do_raw_spin_trylock(raw_spinlock_t *lock);
180 extern void do_raw_spin_unlock(raw_spinlock_t *lock) __releases(lock);
182 static inline void do_raw_spin_lock(raw_spinlock_t *lock) __acquires(lock) in do_raw_spin_lock()
189 static inline int do_raw_spin_trylock(raw_spinlock_t *lock) in do_raw_spin_trylock()
199 static inline void do_raw_spin_unlock(raw_spinlock_t *lock) __releases(lock) in do_raw_spin_unlock()
322 static __always_inline raw_spinlock_t *spinlock_check(spinlock_t *lock) in spinlock_check()
A Dspinlock_types_raw.h23 } 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)
A Dflex_proportions.h49 raw_spinlock_t lock; /* Protect period and numerator */
81 raw_spinlock_t lock; /* Protect period and numerator */
A Dbpf_local_storage.h21 raw_spinlock_t lock;
87 raw_spinlock_t lock; /* Protect adding/removing from the "list" */
A Di8253.h23 extern raw_spinlock_t i8253_lock;
A Dratelimit_types.h16 raw_spinlock_t lock; /* protect the state */
/linux/kernel/locking/
A Dspinlock.c136 int __lockfunc _raw_spin_trylock(raw_spinlock_t *lock) in _raw_spin_trylock()
144 int __lockfunc _raw_spin_trylock_bh(raw_spinlock_t *lock) in _raw_spin_trylock_bh()
152 void __lockfunc _raw_spin_lock(raw_spinlock_t *lock) in _raw_spin_lock()
160 unsigned long __lockfunc _raw_spin_lock_irqsave(raw_spinlock_t *lock) in _raw_spin_lock_irqsave()
168 void __lockfunc _raw_spin_lock_irq(raw_spinlock_t *lock) in _raw_spin_lock_irq()
176 void __lockfunc _raw_spin_lock_bh(raw_spinlock_t *lock) in _raw_spin_lock_bh()
184 void __lockfunc _raw_spin_unlock(raw_spinlock_t *lock) in _raw_spin_unlock()
200 void __lockfunc _raw_spin_unlock_irq(raw_spinlock_t *lock) in _raw_spin_unlock_irq()
208 void __lockfunc _raw_spin_unlock_bh(raw_spinlock_t *lock) in _raw_spin_unlock_bh()
365 void __lockfunc _raw_spin_lock_nested(raw_spinlock_t *lock, int subclass) in _raw_spin_lock_nested()
[all …]
A Dspinlock_debug.c16 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()
/linux/lib/
A Datomic64.c28 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); \
136 raw_spinlock_t *lock = lock_addr(v); in generic_atomic64_dec_if_positive()
151 raw_spinlock_t *lock = lock_addr(v); in generic_atomic64_cmpxchg()
166 raw_spinlock_t *lock = lock_addr(v); in generic_atomic64_xchg()
[all …]
/linux/kernel/rcu/
A Dtree.h41 raw_spinlock_t __private lock; /* Root rcu_node's lock protects */
123 raw_spinlock_t fqslock ____cacheline_internodealigned_in_smp;
207 raw_spinlock_t nocb_lock; /* Guard following pair of fields. */
214 raw_spinlock_t nocb_bypass_lock ____cacheline_internodealigned_in_smp;
221 raw_spinlock_t nocb_gp_lock ____cacheline_internodealigned_in_smp;
361 raw_spinlock_t ofl_lock ____cacheline_internodealigned_in_smp;
/linux/drivers/pinctrl/
A Dpinctrl-equilibrium.h117 raw_spinlock_t lock; /* protect gpio register */
141 raw_spinlock_t lock; /* protect pinpad register */
/linux/Documentation/locking/
A Dlocktypes.rst68 - 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 …]
/linux/kernel/bpf/
A Dbpf_lru_list.h36 raw_spinlock_t lock ____cacheline_aligned_in_smp;
42 raw_spinlock_t lock;
A Dpercpu_freelist.h11 raw_spinlock_t lock;
/linux/include/kvm/
A Darm_vgic.h116 raw_spinlock_t irq_lock; /* Protects the content of the struct */
271 raw_spinlock_t lpi_list_lock;
328 raw_spinlock_t ap_list_lock; /* Protects the ap_list */
/linux/kernel/sched/
A Dsched.h260 raw_spinlock_t rt_runtime_lock;
270 raw_spinlock_t dl_runtime_lock;
299 raw_spinlock_t lock;
366 raw_spinlock_t lock;
574 raw_spinlock_t lock ____cacheline_aligned;
666 raw_spinlock_t rt_runtime_lock;
840 raw_spinlock_t rto_lock;
928 raw_spinlock_t __lock;
1175 static inline raw_spinlock_t *rq_lockp(struct rq *rq) in rq_lockp()
1273 static inline raw_spinlock_t *rq_lockp(struct rq *rq) in rq_lockp()
[all …]
A Dcpudeadline.h12 raw_spinlock_t lock;
/linux/kernel/cgroup/
A Drstat.c7 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()
156 raw_spinlock_t *cpu_lock = per_cpu_ptr(&cgroup_rstat_cpu_lock, in cgroup_rstat_flush_locked()
/linux/drivers/sh/intc/
A Dinternals.h58 raw_spinlock_t lock;
162 extern raw_spinlock_t intc_big_lock;
/linux/arch/x86/include/asm/
A Dpc-conf-reg.h19 extern raw_spinlock_t pc_conf_lock;
A Dirq_remapping.h36 extern raw_spinlock_t irq_2_ir_lock;
/linux/kernel/time/
A Dtimekeeping.h29 extern raw_spinlock_t jiffies_lock;
A Dtimekeeping_internal.h37 extern raw_spinlock_t timekeeper_lock;
/linux/kernel/trace/
A Dpid_list.h79 raw_spinlock_t lock;

Completed in 39 milliseconds

12345678