Lines Matching refs:exiting
1185 static void wait_for_owner_exiting(int ret, struct task_struct *exiting) in wait_for_owner_exiting() argument
1188 WARN_ON_ONCE(exiting); in wait_for_owner_exiting()
1192 if (WARN_ON_ONCE(ret == -EBUSY && !exiting)) in wait_for_owner_exiting()
1195 mutex_lock(&exiting->futex_exit_mutex); in wait_for_owner_exiting()
1204 mutex_unlock(&exiting->futex_exit_mutex); in wait_for_owner_exiting()
1206 put_task_struct(exiting); in wait_for_owner_exiting()
1271 struct task_struct **exiting) in attach_to_pi_owner() argument
1320 *exiting = p; in attach_to_pi_owner()
1362 struct task_struct **exiting) in lookup_pi_state() argument
1377 return attach_to_pi_owner(uaddr, uval, key, ps, exiting); in lookup_pi_state()
1424 struct task_struct **exiting, in futex_lock_pi_atomic() argument
1495 return attach_to_pi_owner(uaddr, newval, key, ps, exiting); in futex_lock_pi_atomic()
1935 struct task_struct **exiting, int set_waiters) in futex_proxy_trylock_atomic() argument
1972 exiting, set_waiters); in futex_proxy_trylock_atomic()
2101 struct task_struct *exiting = NULL; in futex_requeue() local
2111 &exiting, nr_requeue); in futex_requeue()
2139 &pi_state, &exiting); in futex_requeue()
2174 wait_for_owner_exiting(ret, exiting); in futex_requeue()
2881 struct task_struct *exiting = NULL; in futex_lock_pi() local
2904 &exiting, 0); in futex_lock_pi()
2932 wait_for_owner_exiting(ret, exiting); in futex_lock_pi()