Home
last modified time | relevance | path

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

/linux/arch/powerpc/lib/
A Dlocks.c23 unsigned int lock_value, holder_cpu, yield_count; in splpar_spin_yield() local
25 lock_value = lock->slock; in splpar_spin_yield()
26 if (lock_value == 0) in splpar_spin_yield()
28 holder_cpu = lock_value & 0xffff; in splpar_spin_yield()
35 if (lock->slock != lock_value) in splpar_spin_yield()
48 int lock_value; in splpar_rw_yield() local
51 lock_value = rw->lock; in splpar_rw_yield()
52 if (lock_value >= 0) in splpar_rw_yield()
54 holder_cpu = lock_value & 0xffff; in splpar_rw_yield()
61 if (rw->lock != lock_value) in splpar_rw_yield()

Completed in 4 milliseconds