Lines Matching refs:target

372 static int hw_break_get(struct task_struct *target,  in hw_break_get()  argument
403 ret = ptrace_hbp_get_addr(note_type, target, idx, &addr); in hw_break_get()
412 ret = ptrace_hbp_get_ctrl(note_type, target, idx, &ctrl); in hw_break_get()
433 static int hw_break_set(struct task_struct *target, in hw_break_set() argument
456 ret = ptrace_hbp_set_addr(note_type, target, idx, addr); in hw_break_set()
465 ret = ptrace_hbp_set_ctrl(note_type, target, idx, ctrl); in hw_break_set()
483 static int gpr_get(struct task_struct *target, in gpr_get() argument
488 struct user_pt_regs *uregs = &task_pt_regs(target)->user_regs; in gpr_get()
492 static int gpr_set(struct task_struct *target, const struct user_regset *regset, in gpr_set() argument
506 task_pt_regs(target)->user_regs = newregs; in gpr_set()
513 static int fpr_get(struct task_struct *target, const struct user_regset *regset, in fpr_get() argument
518 uregs = &target->thread.fpsimd_state.user_fpsimd; in fpr_get()
522 static int fpr_set(struct task_struct *target, const struct user_regset *regset, in fpr_set() argument
533 target->thread.fpsimd_state.user_fpsimd = newstate; in fpr_set()
534 fpsimd_flush_task_state(target); in fpr_set()
538 static int tls_get(struct task_struct *target, const struct user_regset *regset, in tls_get() argument
542 unsigned long *tls = &target->thread.tp_value; in tls_get()
546 static int tls_set(struct task_struct *target, const struct user_regset *regset, in tls_set() argument
557 target->thread.tp_value = tls; in tls_set()
561 static int system_call_get(struct task_struct *target, in system_call_get() argument
566 int syscallno = task_pt_regs(target)->syscallno; in system_call_get()
572 static int system_call_set(struct task_struct *target, in system_call_set() argument
583 task_pt_regs(target)->syscallno = syscallno; in system_call_set()
668 static int compat_gpr_get(struct task_struct *target, in compat_gpr_get() argument
691 reg = task_pt_regs(target)->pc; in compat_gpr_get()
694 reg = task_pt_regs(target)->pstate; in compat_gpr_get()
697 reg = task_pt_regs(target)->orig_x0; in compat_gpr_get()
700 reg = task_pt_regs(target)->regs[idx]; in compat_gpr_get()
720 static int compat_gpr_set(struct task_struct *target, in compat_gpr_set() argument
738 newregs = *task_pt_regs(target); in compat_gpr_set()
774 *task_pt_regs(target) = newregs; in compat_gpr_set()
781 static int compat_vfp_get(struct task_struct *target, in compat_vfp_get() argument
790 uregs = &target->thread.fpsimd_state.user_fpsimd; in compat_vfp_get()
808 static int compat_vfp_set(struct task_struct *target, in compat_vfp_set() argument
820 uregs = &target->thread.fpsimd_state.user_fpsimd; in compat_vfp_set()
831 fpsimd_flush_task_state(target); in compat_vfp_set()
835 static int compat_tls_get(struct task_struct *target, in compat_tls_get() argument
839 compat_ulong_t tls = (compat_ulong_t)target->thread.tp_value; in compat_tls_get()
843 static int compat_tls_set(struct task_struct *target, in compat_tls_set() argument
855 target->thread.tp_value = tls; in compat_tls_set()