Searched refs:_Q_TAIL_CPU_OFFSET (Results 1 – 3 of 3) sorted by relevance
85 #define _Q_TAIL_CPU_OFFSET (_Q_TAIL_IDX_OFFSET + _Q_TAIL_IDX_BITS) macro86 #define _Q_TAIL_CPU_BITS (32 - _Q_TAIL_CPU_OFFSET)
49 #define _Q_TAIL_CPU_OFFSET 20 macro68 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()
120 tail = (cpu + 1) << _Q_TAIL_CPU_OFFSET; in encode_tail()128 int cpu = (tail >> _Q_TAIL_CPU_OFFSET) - 1; in decode_tail()