Lines Matching full:owner
27 pi_state->owner = NULL;
49 struct task_struct *old_owner = pi_state->owner;
64 pi_state->owner = new_owner;
87 * If pi_state->owner is NULL, the owner is most probably dying
90 if (pi_state->owner) {
104 * clear pi_state->owner.
107 pi_state->owner = NULL;
116 * Waiter | pi_state | pi->owner | uTID | uODIED | ?
138 * thread is found then it indicates that the owner TID has died.
148 * [6] Valid state after exit_pi_state_list() which sets the new owner in
151 * [7] pi_state->owner can only be NULL when the OWNER_DIED bit is set.
153 * [8] Owner and user space value match
159 * [10] There is no transient state which leaves owner and user space
183 * pi_mutex->owner -> pi_state->owner, relation
250 * Handle the owner died case:
254 * exit_pi_state_list sets owner to NULL and wakes the
256 * pi_state->rt_mutex will fixup owner.
258 if (!pi_state->owner) {
260 * No pi state owner, but the user space TID
272 * If TID is 0, then either the dying owner has not
283 * If the owner died bit is not set, then the pi_state
284 * must have an owner. [7]
286 if (!pi_state->owner)
292 * state exists then the owner TID must be the same as the
295 if (pid != task_pid_vnr(pi_state->owner))
328 * caller that the alleged owner is busy.
345 * Set owner died attach_to_pi_owner() {
390 * the owner of it:
403 pi_state->owner = p;
419 * We are the first waiter - try to look up the real owner and attach
452 * If the owner task is between FUTEX_STATE_EXITING and
500 * @exiting: Pointer to store the task pointer of the owner task
555 * waiters or the owner died bit is set or called from
562 * TID is 0. We preserve the owner died bit.
577 * state attached to the new owner of the user space futex.
596 * the owner. If owner tries to unlock, it will be forced into
605 * attach to the owner. If that fails, no harm done, we only
627 * We pass it to the next owner. The WAITERS bit is always kept
628 * enabled while there is PI state around. We cleanup the owner
629 * died bit, because we are the owner.
679 oldowner = pi_state->owner;
684 * - we stole the lock and pi_state->owner needs updating to reflect
690 * new owner (@argowner == NULL).
693 * This must be atomic as we have to preserve the owner died bit here.
720 * The trylock just failed, so either there is an owner or
749 /* Owner died? */
750 if (!pi_state->owner)
815 if (pi_state->owner != oldowner)
828 * Ensure that the rtmutex owner is also the pi_state owner despite
830 * point in unlocking the rtmutex if current is the owner as it
835 * The rtmutex has an owner - either current or some other
864 * the pi_state owner as well as handle race conditions that may allow us to
876 * Got the lock. We might not be the anticipated owner if we
879 * Speculative pi_state->owner read (we don't hold wait_lock);
880 * since we own the lock pi_state->owner == current is the
883 if (q->pi_state->owner != current)
893 * Another speculative read; pi_state->owner == current is unstable
896 if (q->pi_state->owner == current)
901 * the owner of the rt_mutex. Warn and establish consistent state.
970 * Handle the case where the owner is in the middle of
1082 * Fixup the pi_state owner and possibly acquire the lock if we
1177 if (pi_state->owner != current)
1256 * owner.