Home
last modified time | relevance | path

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

/linux/include/asm-generic/
A 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/arch/s390/lib/
A 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/kernel/locking/
A Dqspinlock.c120 tail |= idx << _Q_TAIL_IDX_OFFSET; /* assume < 4 */ in encode_tail()
128 int idx = (tail & _Q_TAIL_IDX_MASK) >> _Q_TAIL_IDX_OFFSET; in decode_tail()

Completed in 5 milliseconds