Lines Matching refs:target
33 static int riscv_gpr_get(struct task_struct *target,
37 return membuf_write(&to, task_pt_regs(target),
41 static int riscv_gpr_set(struct task_struct *target,
48 regs = task_pt_regs(target);
53 static int riscv_fpr_get(struct task_struct *target,
57 struct __riscv_d_ext_state *fstate = &target->thread.fstate;
59 if (target == current)
67 static int riscv_fpr_set(struct task_struct *target,
73 struct __riscv_d_ext_state *fstate = &target->thread.fstate;
88 static int riscv_vr_get(struct task_struct *target,
92 struct __riscv_v_ext_state *vstate = &target->thread.vstate;
95 if (!riscv_v_vstate_query(task_pt_regs(target)))
102 if (target == current) {
121 static int riscv_vr_set(struct task_struct *target,
127 struct __riscv_v_ext_state *vstate = &target->thread.vstate;
130 if (!riscv_v_vstate_query(task_pt_regs(target)))
312 static int compat_riscv_gpr_get(struct task_struct *target,
318 regs_to_cregs(&cregs, task_pt_regs(target));
324 static int compat_riscv_gpr_set(struct task_struct *target,
334 cregs_to_regs(&cregs, task_pt_regs(target));