Lines Matching refs:pendowner
306 struct task_struct *pendowner = rt_mutex_owner(lock);
313 if (pendowner == task)
316 raw_spin_lock_irqsave(&pendowner->pi_lock, flags);
317 if (task->prio >= pendowner->prio) {
318 raw_spin_unlock_irqrestore(&pendowner->pi_lock, flags);
328 raw_spin_unlock_irqrestore(&pendowner->pi_lock, flags);
334 plist_del(&next->pi_list_entry, &pendowner->pi_waiters);
335 __rt_mutex_adjust_prio(pendowner);
336 raw_spin_unlock_irqrestore(&pendowner->pi_lock, flags);
483 struct task_struct *pendowner;
498 pendowner = waiter->task;
501 rt_mutex_set_owner(lock, pendowner, RT_MUTEX_OWNER_PENDING);
512 raw_spin_lock_irqsave(&pendowner->pi_lock, flags);
514 WARN_ON(!pendowner->pi_blocked_on);
515 WARN_ON(pendowner->pi_blocked_on != waiter);
516 WARN_ON(pendowner->pi_blocked_on->lock != lock);
518 pendowner->pi_blocked_on = NULL;
524 plist_add(&next->pi_list_entry, &pendowner->pi_waiters);
526 raw_spin_unlock_irqrestore(&pendowner->pi_lock, flags);
528 wake_up_process(pendowner);