Lines Matching refs:curr
651 static int handle_futex_death(u32 __user *uaddr, struct task_struct *curr, in handle_futex_death() argument
709 if (owner != task_pid_vnr(curr)) in handle_futex_death()
787 static void exit_robust_list(struct task_struct *curr) in exit_robust_list() argument
789 struct robust_list_head __user *head = curr->robust_list; in exit_robust_list()
827 curr, pi, HANDLE_DEATH_LIST)) in exit_robust_list()
845 curr, pip, HANDLE_DEATH_PENDING); in exit_robust_list()
881 static void compat_exit_robust_list(struct task_struct *curr) in compat_exit_robust_list() argument
883 struct compat_robust_list_head __user *head = curr->compat_robust_list; in compat_exit_robust_list()
925 if (handle_futex_death(uaddr, curr, pi, in compat_exit_robust_list()
945 handle_futex_death(uaddr, curr, pip, HANDLE_DEATH_PENDING); in compat_exit_robust_list()
957 static void exit_pi_state_list(struct task_struct *curr) in exit_pi_state_list() argument
959 struct list_head *next, *head = &curr->pi_state_list; in exit_pi_state_list()
969 raw_spin_lock_irq(&curr->pi_lock); in exit_pi_state_list()
987 raw_spin_unlock_irq(&curr->pi_lock); in exit_pi_state_list()
989 raw_spin_lock_irq(&curr->pi_lock); in exit_pi_state_list()
992 raw_spin_unlock_irq(&curr->pi_lock); in exit_pi_state_list()
996 raw_spin_lock(&curr->pi_lock); in exit_pi_state_list()
1009 WARN_ON(pi_state->owner != curr); in exit_pi_state_list()
1014 raw_spin_unlock(&curr->pi_lock); in exit_pi_state_list()
1021 raw_spin_lock_irq(&curr->pi_lock); in exit_pi_state_list()
1023 raw_spin_unlock_irq(&curr->pi_lock); in exit_pi_state_list()
1026 static inline void exit_pi_state_list(struct task_struct *curr) { } in exit_pi_state_list() argument