Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_arena_spin_lock.h
/linux/tools/testing/selftests/bpf/libarena/include/
H A Dbpf_arena_spin_lock.h96 #define _Q_TAIL_CPU_OFFSET (_Q_TAIL_IDX_OFFSET + _Q_TAIL_IDX_BITS) macro
97 #define _Q_TAIL_CPU_BITS (32 - _Q_TAIL_CPU_OFFSET)
112 tail = (cpu + 1) << _Q_TAIL_CPU_OFFSET; in encode_tail()
120 u32 cpu = (tail >> _Q_TAIL_CPU_OFFSET) - 1; in decode_tail()
/linux/arch/powerpc/include/asm/
H A Dqspinlock_types.h64 #define _Q_TAIL_CPU_OFFSET 17 macro
/linux/arch/powerpc/lib/
H A Dqspinlock.c103 return (cpu + 1) << _Q_TAIL_CPU_OFFSET; in encode_tail_cpu()
108 return (val >> _Q_TAIL_CPU_OFFSET) - 1; in decode_tail_cpu()