Lines Matching refs:target

47 static int regwindow32_get(struct task_struct *target,
54 if (target == current) {
58 if (access_process_vm(target, reg_window, uregs, size,
65 static int regwindow32_set(struct task_struct *target,
72 if (target == current) {
76 if (access_process_vm(target, reg_window, uregs, size,
83 static int genregs32_get(struct task_struct *target,
87 const struct pt_regs *regs = target->thread.kregs;
90 if (target == current)
96 if (regwindow32_get(target, regs, uregs))
106 static int genregs32_set(struct task_struct *target,
111 struct pt_regs *regs = target->thread.kregs;
116 if (target == current)
125 if (regwindow32_get(target, regs, uregs))
132 if (regwindow32_set(target, regs, uregs))
166 static int fpregs32_get(struct task_struct *target,
171 if (target == current)
175 membuf_write(&to, target->thread.float_regs, 32 * sizeof(u32));
177 membuf_write(&to, &target->thread.fsr, sizeof(u32));
182 static int fpregs32_set(struct task_struct *target,
187 unsigned long *fpregs = target->thread.float_regs;
191 if (target == current)
203 &target->thread.fsr,
244 static int getregs_get(struct task_struct *target,
248 const struct pt_regs *regs = target->thread.kregs;
250 if (target == current)
260 static int setregs_set(struct task_struct *target,
265 struct pt_regs *regs = target->thread.kregs;
269 if (target == current)
287 static int getfpregs_get(struct task_struct *target,
292 if (target == current)
295 membuf_write(&to, &target->thread.float_regs, 32 * sizeof(u32));
296 membuf_write(&to, &target->thread.fsr, sizeof(u32));
300 static int setfpregs_set(struct task_struct *target,
305 unsigned long *fpregs = target->thread.float_regs;
309 if (target == current)
318 &target->thread.fsr,