Lines Matching refs:exiting
776 * @exiting: Pointer to the exiting task
778 * Caller must hold a refcount on @exiting.
780 void wait_for_owner_exiting(int ret, struct task_struct *exiting)
783 WARN_ON_ONCE(exiting);
787 if (WARN_ON_ONCE(ret == -EBUSY && !exiting))
790 mutex_lock(&exiting->futex.exit_mutex);
799 mutex_unlock(&exiting->futex.exit_mutex);
801 put_task_struct(exiting);
1482 * observes that state when a task is exiting and loops until the task has
1549 * same, but from a futex perspective the task has to be treated like an exiting