Lines Matching refs:pi_state
621 BUG_ON(q->pi_state); in futex_unqueue()
638 BUG_ON(!q->pi_state); in futex_unqueue_pi()
639 put_pi_state(q->pi_state); in futex_unqueue_pi()
640 q->pi_state = NULL; in futex_unqueue_pi()
960 struct futex_pi_state *pi_state; in exit_pi_state_list() local
972 pi_state = list_entry(next, struct futex_pi_state, list); in exit_pi_state_list()
973 key = pi_state->key; in exit_pi_state_list()
986 if (!refcount_inc_not_zero(&pi_state->refcount)) { in exit_pi_state_list()
995 raw_spin_lock_irq(&pi_state->pi_mutex.wait_lock); in exit_pi_state_list()
1003 raw_spin_unlock(&pi_state->pi_mutex.wait_lock); in exit_pi_state_list()
1005 put_pi_state(pi_state); in exit_pi_state_list()
1009 WARN_ON(pi_state->owner != curr); in exit_pi_state_list()
1010 WARN_ON(list_empty(&pi_state->list)); in exit_pi_state_list()
1011 list_del_init(&pi_state->list); in exit_pi_state_list()
1012 pi_state->owner = NULL; in exit_pi_state_list()
1015 raw_spin_unlock_irq(&pi_state->pi_mutex.wait_lock); in exit_pi_state_list()
1018 rt_mutex_futex_unlock(&pi_state->pi_mutex); in exit_pi_state_list()
1019 put_pi_state(pi_state); in exit_pi_state_list()