Home
last modified time | relevance | path

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

/linux/arch/s390/lib/
A 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/include/asm-generic/
A 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/kernel/locking/
A Dqspinlock.c119 tail = (cpu + 1) << _Q_TAIL_CPU_OFFSET; in encode_tail()
127 int cpu = (tail >> _Q_TAIL_CPU_OFFSET) - 1; in decode_tail()

Completed in 5 milliseconds