Home
last modified time | relevance | path

Searched refs:mcs_spinlock (Results 1 – 10 of 10) sorted by relevance

/linux/kernel/locking/
H A Dmcs_spinlock.h18 struct mcs_spinlock { struct
19 struct mcs_spinlock *next; argument
65 void mcs_spin_lock(struct mcs_spinlock **lock, struct mcs_spinlock *node) in mcs_spin_lock()
67 struct mcs_spinlock *prev; in mcs_spin_lock()
102 void mcs_spin_unlock(struct mcs_spinlock **lock, struct mcs_spinlock *node) in mcs_spin_unlock()
104 struct mcs_spinlock *next = READ_ONCE(node->next); in mcs_spin_unlock()
H A Dqspinlock.c83 struct mcs_spinlock mcs;
126 static inline __pure struct mcs_spinlock *decode_tail(u32 tail) in decode_tail()
135 struct mcs_spinlock *grab_mcs_node(struct mcs_spinlock *base, int idx) in grab_mcs_node()
270 static __always_inline void __pv_init_node(struct mcs_spinlock *node) { } in __pv_init_node()
271 static __always_inline void __pv_wait_node(struct mcs_spinlock *node, in __pv_wait_node()
272 struct mcs_spinlock *prev) { } in __pv_wait_node()
274 struct mcs_spinlock *node) { } in __pv_kick_node()
276 struct mcs_spinlock *node) in __pv_wait_head_or_lock()
315 struct mcs_spinlock *prev, *next, *node; in queued_spin_lock_slowpath()
H A Dqspinlock_paravirt.h51 struct mcs_spinlock mcs;
275 static void pv_init_node(struct mcs_spinlock *node) in pv_init_node()
290 static void pv_wait_node(struct mcs_spinlock *node, struct mcs_spinlock *prev) in pv_wait_node()
357 static void pv_kick_node(struct qspinlock *lock, struct mcs_spinlock *node) in pv_kick_node()
399 pv_wait_head_or_lock(struct qspinlock *lock, struct mcs_spinlock *node) in pv_wait_head_or_lock()
/linux/arch/parisc/include/asm/
H A DKbuild6 generic-y += mcs_spinlock.h
/linux/arch/powerpc/include/asm/
H A DKbuild7 generic-y += mcs_spinlock.h
/linux/arch/s390/include/asm/
H A DKbuild9 generic-y += mcs_spinlock.h
/linux/arch/x86/include/asm/
H A DKbuild13 generic-y += mcs_spinlock.h
/linux/arch/riscv/include/asm/
H A DKbuild9 generic-y += mcs_spinlock.h
/linux/arch/arm64/include/asm/
H A DKbuild11 generic-y += mcs_spinlock.h
/linux/arch/um/include/asm/
H A DKbuild14 generic-y += mcs_spinlock.h