Home
last modified time | relevance | path

Searched refs:qspinlock (Results 1 – 15 of 15) sorted by relevance

/Linux-v5.4/arch/x86/include/asm/
Dqspinlock.h14 static __always_inline u32 queued_fetch_set_pending_acquire(struct qspinlock *lock) in queued_fetch_set_pending_acquire()
31 extern void native_queued_spin_lock_slowpath(struct qspinlock *lock, u32 val);
33 extern void __pv_queued_spin_lock_slowpath(struct qspinlock *lock, u32 val);
34 extern void __raw_callee_save___pv_queued_spin_unlock(struct qspinlock *lock);
43 static inline void native_queued_spin_unlock(struct qspinlock *lock) in native_queued_spin_unlock()
48 static inline void queued_spin_lock_slowpath(struct qspinlock *lock, u32 val) in queued_spin_lock_slowpath()
53 static inline void queued_spin_unlock(struct qspinlock *lock) in queued_spin_unlock()
86 static inline bool virt_spin_lock(struct qspinlock *lock) in virt_spin_lock()
Dqspinlock_paravirt.h65 extern void __pv_queued_spin_unlock(struct qspinlock *lock);
Dparavirt.h29 __visible void __native_queued_spin_unlock(struct qspinlock *lock);
639 static __always_inline void pv_queued_spin_lock_slowpath(struct qspinlock *lock, in pv_queued_spin_lock_slowpath()
645 static __always_inline void pv_queued_spin_unlock(struct qspinlock *lock) in pv_queued_spin_unlock()
665 void __raw_callee_save___native_queued_spin_unlock(struct qspinlock *lock);
Dparavirt_types.h311 struct qspinlock;
314 void (*queued_spin_lock_slowpath)(struct qspinlock *lock, u32 val);
/Linux-v5.4/include/asm-generic/
Dqspinlock.h20 static __always_inline int queued_spin_is_locked(struct qspinlock *lock) in queued_spin_is_locked()
39 static __always_inline int queued_spin_value_unlocked(struct qspinlock lock) in queued_spin_value_unlocked()
49 static __always_inline int queued_spin_is_contended(struct qspinlock *lock) in queued_spin_is_contended()
58 static __always_inline int queued_spin_trylock(struct qspinlock *lock) in queued_spin_trylock()
68 extern void queued_spin_lock_slowpath(struct qspinlock *lock, u32 val);
74 static __always_inline void queued_spin_lock(struct qspinlock *lock) in queued_spin_lock()
89 static __always_inline void queued_spin_unlock(struct qspinlock *lock) in queued_spin_unlock()
99 static __always_inline bool virt_spin_lock(struct qspinlock *lock) in virt_spin_lock()
Dqspinlock_types.h22 typedef struct qspinlock { struct
/Linux-v5.4/kernel/locking/
Dqspinlock_paravirt.h81 static inline bool pv_hybrid_queued_unfair_trylock(struct qspinlock *lock) in pv_hybrid_queued_unfair_trylock()
109 static __always_inline void set_pending(struct qspinlock *lock) in set_pending()
119 static __always_inline int trylock_clear_pending(struct qspinlock *lock) in trylock_clear_pending()
126 static __always_inline void set_pending(struct qspinlock *lock) in set_pending()
131 static __always_inline int trylock_clear_pending(struct qspinlock *lock) in trylock_clear_pending()
172 struct qspinlock *lock;
212 static struct qspinlock **pv_hash(struct qspinlock *lock, struct pv_node *node) in pv_hash()
239 static struct pv_node *pv_unhash(struct qspinlock *lock) in pv_unhash()
360 static void pv_kick_node(struct qspinlock *lock, struct mcs_spinlock *node) in pv_kick_node()
403 pv_wait_head_or_lock(struct qspinlock *lock, struct mcs_spinlock *node) in pv_wait_head_or_lock()
[all …]
Dqspinlock.c147 static __always_inline void clear_pending(struct qspinlock *lock) in clear_pending()
160 static __always_inline void clear_pending_set_locked(struct qspinlock *lock) in clear_pending_set_locked()
175 static __always_inline u32 xchg_tail(struct qspinlock *lock, u32 tail) in xchg_tail()
193 static __always_inline void clear_pending(struct qspinlock *lock) in clear_pending()
204 static __always_inline void clear_pending_set_locked(struct qspinlock *lock) in clear_pending_set_locked()
219 static __always_inline u32 xchg_tail(struct qspinlock *lock, u32 tail) in xchg_tail()
248 static __always_inline u32 queued_fetch_set_pending_acquire(struct qspinlock *lock) in queued_fetch_set_pending_acquire()
260 static __always_inline void set_locked(struct qspinlock *lock) in set_locked()
274 static __always_inline void __pv_kick_node(struct qspinlock *lock, in __pv_kick_node()
276 static __always_inline u32 __pv_wait_head_or_lock(struct qspinlock *lock, in __pv_wait_head_or_lock()
[all …]
DMakefile23 obj-$(CONFIG_QUEUED_SPINLOCKS) += qspinlock.o
/Linux-v5.4/arch/mips/include/asm/
Dspinlock.h22 static inline void queued_spin_unlock(struct qspinlock *lock) in queued_spin_unlock()
DKbuild21 generic-y += qspinlock.h
/Linux-v5.4/arch/x86/kernel/
Dparavirt-spinlocks.c12 __visible void __native_queued_spin_unlock(struct qspinlock *lock) in __native_queued_spin_unlock()
/Linux-v5.4/arch/arm64/include/asm/
DKbuild21 generic-y += qspinlock.h
/Linux-v5.4/arch/xtensa/include/asm/
DKbuild29 generic-y += qspinlock.h
/Linux-v5.4/arch/openrisc/include/asm/
DKbuild34 generic-y += qspinlock.h