Lines Matching refs:curr
647 static int handle_futex_death(u32 __user *uaddr, struct task_struct *curr, in handle_futex_death() argument
705 if (owner != task_pid_vnr(curr)) in handle_futex_death()
783 static void exit_robust_list(struct task_struct *curr) in exit_robust_list() argument
785 struct robust_list_head __user *head = curr->robust_list; in exit_robust_list()
823 curr, pi, HANDLE_DEATH_LIST)) in exit_robust_list()
841 curr, pip, HANDLE_DEATH_PENDING); in exit_robust_list()
877 static void compat_exit_robust_list(struct task_struct *curr) in compat_exit_robust_list() argument
879 struct compat_robust_list_head __user *head = curr->compat_robust_list; in compat_exit_robust_list()
921 if (handle_futex_death(uaddr, curr, pi, in compat_exit_robust_list()
941 handle_futex_death(uaddr, curr, pip, HANDLE_DEATH_PENDING); in compat_exit_robust_list()
953 static void exit_pi_state_list(struct task_struct *curr) in exit_pi_state_list() argument
955 struct list_head *next, *head = &curr->pi_state_list; in exit_pi_state_list()
965 raw_spin_lock_irq(&curr->pi_lock); in exit_pi_state_list()
983 raw_spin_unlock_irq(&curr->pi_lock); in exit_pi_state_list()
985 raw_spin_lock_irq(&curr->pi_lock); in exit_pi_state_list()
988 raw_spin_unlock_irq(&curr->pi_lock); in exit_pi_state_list()
992 raw_spin_lock(&curr->pi_lock); in exit_pi_state_list()
1005 WARN_ON(pi_state->owner != curr); in exit_pi_state_list()
1010 raw_spin_unlock(&curr->pi_lock); in exit_pi_state_list()
1017 raw_spin_lock_irq(&curr->pi_lock); in exit_pi_state_list()
1019 raw_spin_unlock_irq(&curr->pi_lock); in exit_pi_state_list()
1022 static inline void exit_pi_state_list(struct task_struct *curr) { } in exit_pi_state_list() argument