Home
last modified time | relevance | path

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

/Linux-v6.1/arch/s390/lib/
Dspinlock.c39 struct spin_wait { struct
40 struct spin_wait *next, *prev; argument
44 static DEFINE_PER_CPU_ALIGNED(struct spin_wait, spin_wait[4]); argument
62 struct spin_wait *node; in arch_spin_lock_setup()
65 node = per_cpu_ptr(&spin_wait[0], cpu); in arch_spin_lock_setup()
97 static inline struct spin_wait *arch_spin_decode_tail(int lock) in arch_spin_decode_tail()
103 return per_cpu_ptr(&spin_wait[ix], cpu - 1); in arch_spin_decode_tail()
106 static inline int arch_spin_yield_target(int lock, struct spin_wait *node) in arch_spin_yield_target()
119 struct spin_wait *node, *next; in arch_spin_lock_queued()
125 node = this_cpu_ptr(&spin_wait[ix]); in arch_spin_lock_queued()