• Home
  • Raw
  • Download

Lines Matching full:exiting

1135  * @exiting:	Pointer to the exiting task
1137 * Caller must hold a refcount on @exiting.
1139 static void wait_for_owner_exiting(int ret, struct task_struct *exiting) in wait_for_owner_exiting() argument
1142 WARN_ON_ONCE(exiting); in wait_for_owner_exiting()
1146 if (WARN_ON_ONCE(ret == -EBUSY && !exiting)) in wait_for_owner_exiting()
1149 mutex_lock(&exiting->futex_exit_mutex); in wait_for_owner_exiting()
1154 * mutex. OK, if running, EXITING or DEAD if it reached exit() in wait_for_owner_exiting()
1158 mutex_unlock(&exiting->futex_exit_mutex); in wait_for_owner_exiting()
1160 put_task_struct(exiting); in wait_for_owner_exiting()
1199 * user space value has been changed by the exiting task. in handle_exit_race()
1201 * The same logic applies to the case where the exiting task is in handle_exit_race()
1212 * The exiting task did not have a robust list, the robust list was in handle_exit_race()
1225 struct task_struct **exiting) in attach_to_pi_owner() argument
1251 * task is exiting. To protect against the change of the task state in attach_to_pi_owner()
1271 * preempted the exiting task between the two states. in attach_to_pi_owner()
1274 *exiting = p; in attach_to_pi_owner()
1316 struct task_struct **exiting) in lookup_pi_state() argument
1331 return attach_to_pi_owner(uaddr, uval, key, ps, exiting); in lookup_pi_state()
1359 * @exiting: Pointer to store the task pointer of the owner task
1360 * which is in the middle of exiting
1370 * @exiting is only set when the return value is -EBUSY. If so, this holds
1371 * a refcount on the exiting task on return and the caller needs to drop it
1378 struct task_struct **exiting, in futex_lock_pi_atomic() argument
1449 return attach_to_pi_owner(uaddr, newval, key, ps, exiting); in futex_lock_pi_atomic()
1845 * @exiting: Pointer to store the task pointer of the owner task
1846 * which is in the middle of exiting
1854 * @exiting is only set when the return value is -EBUSY. If so, this holds
1855 * a refcount on the exiting task on return and the caller needs to drop it
1867 struct task_struct **exiting, int set_waiters) in futex_proxy_trylock_atomic() argument
1904 exiting, set_waiters); in futex_proxy_trylock_atomic()
2029 struct task_struct *exiting = NULL; in futex_requeue() local
2039 &exiting, nr_requeue); in futex_requeue()
2066 &pi_state, &exiting); in futex_requeue()
2086 * - EBUSY: Owner is exiting and we just wait for the in futex_requeue()
2094 * exiting. Wait for the exit to complete otherwise in futex_requeue()
2097 wait_for_owner_exiting(ret, exiting); in futex_requeue()
2788 struct task_struct *exiting = NULL; in futex_lock_pi() local
2811 &exiting, 0); in futex_lock_pi()
2828 * - EBUSY: Task is exiting and we just wait for the in futex_lock_pi()
2835 * exiting. Wait for the exit to complete otherwise in futex_lock_pi()
2838 wait_for_owner_exiting(ret, exiting); in futex_lock_pi()
3638 * observes that state when a task is exiting and loops until the task has