Searched refs:qspinlock (Results 1 – 17 of 17) sorted by relevance
/Linux-v5.10/arch/x86/include/asm/ |
D | qspinlock.h | 14 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); 44 static inline void native_queued_spin_unlock(struct qspinlock *lock) in native_queued_spin_unlock() 49 static inline void queued_spin_lock_slowpath(struct qspinlock *lock, u32 val) in queued_spin_lock_slowpath() 54 static inline void queued_spin_unlock(struct qspinlock *lock) in queued_spin_unlock() 87 static inline bool virt_spin_lock(struct qspinlock *lock) in virt_spin_lock()
|
D | qspinlock_paravirt.h | 65 extern void __pv_queued_spin_unlock(struct qspinlock *lock);
|
D | paravirt.h | 29 __visible void __native_queued_spin_unlock(struct qspinlock *lock); 551 static __always_inline void pv_queued_spin_lock_slowpath(struct qspinlock *lock, in pv_queued_spin_lock_slowpath() 557 static __always_inline void pv_queued_spin_unlock(struct qspinlock *lock) in pv_queued_spin_unlock() 577 void __raw_callee_save___native_queued_spin_unlock(struct qspinlock *lock);
|
D | paravirt_types.h | 291 struct qspinlock; 294 void (*queued_spin_lock_slowpath)(struct qspinlock *lock, u32 val);
|
/Linux-v5.10/arch/powerpc/include/asm/ |
D | qspinlock.h | 11 extern void native_queued_spin_lock_slowpath(struct qspinlock *lock, u32 val); 12 extern void __pv_queued_spin_lock_slowpath(struct qspinlock *lock, u32 val); 13 extern void __pv_queued_spin_unlock(struct qspinlock *lock); 15 static __always_inline void queued_spin_lock_slowpath(struct qspinlock *lock, u32 val) in queued_spin_lock_slowpath() 24 static inline void queued_spin_unlock(struct qspinlock *lock) in queued_spin_unlock() 33 extern void queued_spin_lock_slowpath(struct qspinlock *lock, u32 val); 36 static __always_inline void queued_spin_lock(struct qspinlock *lock) in queued_spin_lock() 49 static __always_inline int queued_spin_is_locked(struct qspinlock *lock) in queued_spin_is_locked()
|
/Linux-v5.10/include/asm-generic/ |
D | qspinlock.h | 22 static __always_inline int queued_spin_is_locked(struct qspinlock *lock) in queued_spin_is_locked() 42 static __always_inline int queued_spin_value_unlocked(struct qspinlock lock) in queued_spin_value_unlocked() 52 static __always_inline int queued_spin_is_contended(struct qspinlock *lock) in queued_spin_is_contended() 61 static __always_inline int queued_spin_trylock(struct qspinlock *lock) in queued_spin_trylock() 71 extern void queued_spin_lock_slowpath(struct qspinlock *lock, u32 val); 78 static __always_inline void queued_spin_lock(struct qspinlock *lock) in queued_spin_lock() 94 static __always_inline void queued_spin_unlock(struct qspinlock *lock) in queued_spin_unlock() 104 static __always_inline bool virt_spin_lock(struct qspinlock *lock) in virt_spin_lock()
|
D | qspinlock_types.h | 14 typedef struct qspinlock { struct
|
/Linux-v5.10/kernel/locking/ |
D | qspinlock_paravirt.h | 81 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 …]
|
D | qspinlock.c | 148 static __always_inline void clear_pending(struct qspinlock *lock) in clear_pending() 161 static __always_inline void clear_pending_set_locked(struct qspinlock *lock) in clear_pending_set_locked() 176 static __always_inline u32 xchg_tail(struct qspinlock *lock, u32 tail) in xchg_tail() 194 static __always_inline void clear_pending(struct qspinlock *lock) in clear_pending() 205 static __always_inline void clear_pending_set_locked(struct qspinlock *lock) in clear_pending_set_locked() 220 static __always_inline u32 xchg_tail(struct qspinlock *lock, u32 tail) in xchg_tail() 249 static __always_inline u32 queued_fetch_set_pending_acquire(struct qspinlock *lock) in queued_fetch_set_pending_acquire() 261 static __always_inline void set_locked(struct qspinlock *lock) in set_locked() 275 static __always_inline void __pv_kick_node(struct qspinlock *lock, in __pv_kick_node() 277 static __always_inline u32 __pv_wait_head_or_lock(struct qspinlock *lock, in __pv_wait_head_or_lock() [all …]
|
D | Makefile | 26 obj-$(CONFIG_QUEUED_SPINLOCKS) += qspinlock.o
|
/Linux-v5.10/arch/mips/include/asm/ |
D | spinlock.h | 22 static inline void queued_spin_unlock(struct qspinlock *lock) in queued_spin_unlock()
|
D | Kbuild | 13 generic-y += qspinlock.h
|
/Linux-v5.10/arch/x86/kernel/ |
D | paravirt-spinlocks.c | 12 __visible void __native_queued_spin_unlock(struct qspinlock *lock) in __native_queued_spin_unlock()
|
/Linux-v5.10/arch/arm64/include/asm/ |
D | Kbuild | 6 generic-y += qspinlock.h
|
/Linux-v5.10/arch/openrisc/include/asm/ |
D | Kbuild | 6 generic-y += qspinlock.h
|
/Linux-v5.10/arch/xtensa/include/asm/ |
D | Kbuild | 9 generic-y += qspinlock.h
|
/Linux-v5.10/Documentation/admin-guide/ |
D | kernel-parameters.txt | 5957 Disables the qspinlock slowpath using Xen PV optimizations. 6001 Disables the qspinlock slow path using PV optimizations
|