Lines Matching refs:target
51 static void init_fp_ctx(struct task_struct *target) in init_fp_ctx() argument
54 if (tsk_used_math(target)) in init_fp_ctx()
58 memset(&target->thread.fpu.fpr, ~0, sizeof(target->thread.fpu.fpr)); in init_fp_ctx()
67 set_stopped_child_used_math(target); in init_fp_ctx()
290 static int gpr32_get(struct task_struct *target, in gpr32_get() argument
295 struct pt_regs *regs = task_pt_regs(target); in gpr32_get()
318 static int gpr32_set(struct task_struct *target, in gpr32_set() argument
323 struct pt_regs *regs = task_pt_regs(target); in gpr32_set()
369 static int gpr64_get(struct task_struct *target, in gpr64_get() argument
374 struct pt_regs *regs = task_pt_regs(target); in gpr64_get()
397 static int gpr64_set(struct task_struct *target, in gpr64_set() argument
402 struct pt_regs *regs = task_pt_regs(target); in gpr64_set()
442 static int fpr_get(struct task_struct *target, in fpr_get() argument
453 if (sizeof(target->thread.fpu.fpr[i]) == sizeof(elf_fpreg_t)) in fpr_get()
455 &target->thread.fpu, in fpr_get()
459 fpr_val = get_fpr64(&target->thread.fpu.fpr[i], 0); in fpr_get()
470 static int fpr_set(struct task_struct *target, in fpr_set() argument
481 init_fp_ctx(target); in fpr_set()
483 if (sizeof(target->thread.fpu.fpr[i]) == sizeof(elf_fpreg_t)) in fpr_set()
485 &target->thread.fpu, in fpr_set()
494 set_fpr64(&target->thread.fpu.fpr[i], 0, fpr_val); in fpr_set()