Lines Matching refs:owner
82 struct task_struct *owner; member
387 pi_state->owner = NULL; in refill_pi_state_cache()
415 if (pi_state->owner) { in free_pi_state()
416 spin_lock_irq(&pi_state->owner->pi_lock); in free_pi_state()
418 spin_unlock_irq(&pi_state->owner->pi_lock); in free_pi_state()
420 rt_mutex_proxy_unlock(&pi_state->pi_mutex, pi_state->owner); in free_pi_state()
431 pi_state->owner = NULL; in free_pi_state()
504 WARN_ON(pi_state->owner != curr); in exit_pi_state_list()
507 pi_state->owner = NULL; in exit_pi_state_list()
545 WARN_ON(pid && pi_state->owner && in lookup_pi_state()
546 pi_state->owner->pid != pid); in lookup_pi_state()
598 pi_state->owner = p; in lookup_pi_state()
676 spin_lock_irq(&pi_state->owner->pi_lock); in wake_futex_pi()
679 spin_unlock_irq(&pi_state->owner->pi_lock); in wake_futex_pi()
684 pi_state->owner = new_owner; in wake_futex_pi()
1096 struct task_struct *oldowner = pi_state->owner; in fixup_pi_state_owner()
1101 if (!pi_state->owner) in fixup_pi_state_owner()
1143 if (pi_state->owner != NULL) { in fixup_pi_state_owner()
1144 spin_lock_irq(&pi_state->owner->pi_lock); in fixup_pi_state_owner()
1147 spin_unlock_irq(&pi_state->owner->pi_lock); in fixup_pi_state_owner()
1150 pi_state->owner = newowner; in fixup_pi_state_owner()
1178 if (pi_state->owner != oldowner) in fixup_pi_state_owner()
1544 if (q.pi_state->owner != curr) in futex_lock_pi()
1552 if (q.pi_state->owner == curr) { in futex_lock_pi()
1573 struct task_struct *owner; in futex_lock_pi() local
1576 owner = rt_mutex_owner(&q.pi_state->pi_mutex); in futex_lock_pi()
1577 res = fixup_pi_state_owner(uaddr, &q, owner, in futex_lock_pi()
1594 q.pi_state->pi_mutex.owner, in futex_lock_pi()
1595 q.pi_state->owner); in futex_lock_pi()