Home
last modified time | relevance | path

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

/linux-6.1.9/include/asm-generic/
Dqspinlock_types.h81 #define _Q_TAIL_IDX_OFFSET (_Q_PENDING_OFFSET + _Q_PENDING_BITS) macro
85 #define _Q_TAIL_CPU_OFFSET (_Q_TAIL_IDX_OFFSET + _Q_TAIL_IDX_BITS)
89 #define _Q_TAIL_OFFSET _Q_TAIL_IDX_OFFSET
/linux-6.1.9/arch/s390/lib/
Dspinlock.c48 #define _Q_TAIL_IDX_OFFSET 18 macro
69 (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()
/linux-6.1.9/kernel/locking/
Dqspinlock.c121 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()