Lines Matching refs:owner
75 int owner; in arch_load_niai4() local
80 : "=d" (owner) : "Q" (*lock) : "memory"); in arch_load_niai4()
81 return owner; in arch_load_niai4()
120 int lockval, ix, node_id, tail_id, old, new, owner, count; in arch_spin_lock_queued() local
161 owner = arch_spin_yield_target(old, node); in arch_spin_lock_queued()
162 if (owner && arch_vcpu_is_preempted(owner - 1)) in arch_spin_lock_queued()
163 smp_yield_cpu(owner - 1); in arch_spin_lock_queued()
173 owner = arch_spin_yield_target(old, node); in arch_spin_lock_queued()
174 if (owner && arch_vcpu_is_preempted(owner - 1)) in arch_spin_lock_queued()
175 smp_yield_cpu(owner - 1); in arch_spin_lock_queued()
183 owner = old & _Q_LOCK_CPU_MASK; in arch_spin_lock_queued()
184 if (!owner) { in arch_spin_lock_queued()
195 if (!MACHINE_IS_LPAR || arch_vcpu_is_preempted(owner - 1)) in arch_spin_lock_queued()
196 smp_yield_cpu(owner - 1); in arch_spin_lock_queued()
213 int lockval, old, new, owner, count; in arch_spin_lock_classic() local
218 owner = arch_spin_yield_target(READ_ONCE(lp->lock), NULL); in arch_spin_lock_classic()
219 if (owner && arch_vcpu_is_preempted(owner - 1)) in arch_spin_lock_classic()
220 smp_yield_cpu(owner - 1); in arch_spin_lock_classic()
225 owner = old & _Q_LOCK_CPU_MASK; in arch_spin_lock_classic()
227 if (!owner) { in arch_spin_lock_classic()
238 if (!MACHINE_IS_LPAR || arch_vcpu_is_preempted(owner - 1)) in arch_spin_lock_classic()
239 smp_yield_cpu(owner - 1); in arch_spin_lock_classic()
255 int owner, count; in arch_spin_trylock_retry() local
258 owner = READ_ONCE(lp->lock); in arch_spin_trylock_retry()
260 if (!owner) { in arch_spin_trylock_retry()