Lines Matching defs:exiting
478 * @exiting: Pointer to the exiting task
480 * Caller must hold a refcount on @exiting.
482 void wait_for_owner_exiting(int ret, struct task_struct *exiting)
485 WARN_ON_ONCE(exiting);
489 if (WARN_ON_ONCE(ret == -EBUSY && !exiting))
492 mutex_lock(&exiting->futex_exit_mutex);
501 mutex_unlock(&exiting->futex_exit_mutex);
503 put_task_struct(exiting);
1063 * observes that state when a task is exiting and loops until the task has