Lines Matching refs:owner
409 kthread_t *owner; in turnstile_block() local
491 (owner = SOBJ_OWNER(t->t_sobj_ops, t->t_wchan)) != NULL) { in turnstile_block()
492 if (owner == curthread) { in turnstile_block()
526 if (!turnstile_interlock(t->t_lockp, &owner->t_lockp)) { in turnstile_block()
569 owner->t_sobj_ops != NULL && in turnstile_block()
570 SOBJ_TYPE(owner->t_sobj_ops) == SOBJ_USER_PI) { in turnstile_block()
576 if (t->t_lockp != owner->t_lockp) in turnstile_block()
577 thread_unlock_high(owner); in turnstile_block()
582 while (mutex_owner(upi_lock) == owner) { in turnstile_block()
594 turnstile_pi_inherit(t->t_ts, owner, DISP_PRIO(t)); in turnstile_block()
595 if (t->t_lockp != owner->t_lockp) in turnstile_block()
597 t = owner; in turnstile_block()
718 turnstile_wakeup(turnstile_t *ts, int qnum, int nthreads, kthread_t *owner) in turnstile_wakeup() argument
742 if (t == owner) { in turnstile_wakeup()
748 owner = NULL; in turnstile_wakeup()
752 if (owner != NULL) in turnstile_wakeup()
753 panic("turnstile_wakeup: owner %p not woken", (void *)owner); in turnstile_wakeup()