Lines Matching defs:exiting
475 * @exiting: Pointer to the exiting task
477 * Caller must hold a refcount on @exiting.
479 void wait_for_owner_exiting(int ret, struct task_struct *exiting)
482 WARN_ON_ONCE(exiting);
486 if (WARN_ON_ONCE(ret == -EBUSY && !exiting))
489 mutex_lock(&exiting->futex_exit_mutex);
498 mutex_unlock(&exiting->futex_exit_mutex);
500 put_task_struct(exiting);
1048 * observes that state when a task is exiting and loops until the task has