Searched refs:_Q_TAIL_IDX_OFFSET (Results 1 – 3 of 3) sorted by relevance
81 #define _Q_TAIL_IDX_OFFSET (_Q_PENDING_OFFSET + _Q_PENDING_BITS) macro85 #define _Q_TAIL_CPU_OFFSET (_Q_TAIL_IDX_OFFSET + _Q_TAIL_IDX_BITS)89 #define _Q_TAIL_OFFSET _Q_TAIL_IDX_OFFSET
48 #define _Q_TAIL_IDX_OFFSET 18 macro69 (ix << _Q_TAIL_IDX_OFFSET); in arch_spin_lock_setup()101 ix = (lock & _Q_TAIL_IDX_MASK) >> _Q_TAIL_IDX_OFFSET; in arch_spin_decode_tail()
121 tail |= idx << _Q_TAIL_IDX_OFFSET; /* assume < 4 */ in encode_tail()129 int idx = (tail & _Q_TAIL_IDX_MASK) >> _Q_TAIL_IDX_OFFSET; in decode_tail()