Home
last modified time | relevance | path

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

/linux-5.19.10/include/asm-generic/
Dqspinlock_types.h85 #define _Q_TAIL_CPU_OFFSET (_Q_TAIL_IDX_OFFSET + _Q_TAIL_IDX_BITS) macro
86 #define _Q_TAIL_CPU_BITS (32 - _Q_TAIL_CPU_OFFSET)
/linux-5.19.10/arch/s390/lib/
Dspinlock.c49 #define _Q_TAIL_CPU_OFFSET 20 macro
68 node->node_id = ((cpu + 1) << _Q_TAIL_CPU_OFFSET) + in arch_spin_lock_setup()
102 cpu = (lock & _Q_TAIL_CPU_MASK) >> _Q_TAIL_CPU_OFFSET; in arch_spin_decode_tail()
114 return node->node_id >> _Q_TAIL_CPU_OFFSET; in arch_spin_yield_target()
/linux-5.19.10/kernel/locking/
Dqspinlock.c120 tail = (cpu + 1) << _Q_TAIL_CPU_OFFSET; in encode_tail()
128 int cpu = (tail >> _Q_TAIL_CPU_OFFSET) - 1; in decode_tail()