Home
last modified time | relevance | path

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

/linux-3.4.99/arch/powerpc/lib/
Dlocks.c28 unsigned int lock_value, holder_cpu, yield_count; in __spin_yield() local
30 lock_value = lock->slock; in __spin_yield()
31 if (lock_value == 0) in __spin_yield()
33 holder_cpu = lock_value & 0xffff; in __spin_yield()
39 if (lock->slock != lock_value) in __spin_yield()
52 int lock_value; in __rw_yield() local
55 lock_value = rw->lock; in __rw_yield()
56 if (lock_value >= 0) in __rw_yield()
58 holder_cpu = lock_value & 0xffff; in __rw_yield()
64 if (rw->lock != lock_value) in __rw_yield()