Lines Matching refs:curr
660 static int handle_futex_death(u32 __user *uaddr, struct task_struct *curr, in handle_futex_death() argument
719 if (owner != task_pid_vnr(curr)) in handle_futex_death()
799 static void exit_robust_list(struct task_struct *curr) in exit_robust_list() argument
801 struct robust_list_head __user *head = curr->robust_list; in exit_robust_list()
839 curr, pi, HANDLE_DEATH_LIST)) in exit_robust_list()
857 curr, pip, HANDLE_DEATH_PENDING); in exit_robust_list()
893 static void compat_exit_robust_list(struct task_struct *curr) in compat_exit_robust_list() argument
895 struct compat_robust_list_head __user *head = curr->compat_robust_list; in compat_exit_robust_list()
937 if (handle_futex_death(uaddr, curr, pi, in compat_exit_robust_list()
957 handle_futex_death(uaddr, curr, pip, HANDLE_DEATH_PENDING); in compat_exit_robust_list()
969 static void exit_pi_state_list(struct task_struct *curr) in exit_pi_state_list() argument
971 struct list_head *next, *head = &curr->pi_state_list; in exit_pi_state_list()
981 raw_spin_lock_irq(&curr->pi_lock); in exit_pi_state_list()
999 raw_spin_unlock_irq(&curr->pi_lock); in exit_pi_state_list()
1001 raw_spin_lock_irq(&curr->pi_lock); in exit_pi_state_list()
1004 raw_spin_unlock_irq(&curr->pi_lock); in exit_pi_state_list()
1008 raw_spin_lock(&curr->pi_lock); in exit_pi_state_list()
1021 WARN_ON(pi_state->owner != curr); in exit_pi_state_list()
1026 raw_spin_unlock(&curr->pi_lock); in exit_pi_state_list()
1033 raw_spin_lock_irq(&curr->pi_lock); in exit_pi_state_list()
1035 raw_spin_unlock_irq(&curr->pi_lock); in exit_pi_state_list()
1038 static inline void exit_pi_state_list(struct task_struct *curr) { } in exit_pi_state_list() argument