Lines Matching defs:target

23 int regset_fpregs_active(struct task_struct *target, const struct user_regset *regset)
28 int regset_xregset_fpregs_active(struct task_struct *target, const struct user_regset *regset)
53 * Invalidate cached FPU registers before modifying the stopped target
56 * This forces the target task on resume to restore the FPU registers from
71 int xfpregs_get(struct task_struct *target, const struct user_regset *regset,
74 struct fpu *fpu = &target->thread.fpu;
86 copy_xstate_to_uabi_buf(to, target, XSTATE_COPY_FX);
90 int xfpregs_set(struct task_struct *target, const struct user_regset *regset,
94 struct fpu *fpu = &target->thread.fpu;
130 int xstateregs_get(struct task_struct *target, const struct user_regset *regset,
136 sync_fpstate(&target->thread.fpu);
138 copy_xstate_to_uabi_buf(to, target, XSTATE_COPY_XSAVE);
142 int xstateregs_set(struct task_struct *target, const struct user_regset *regset,
146 struct fpu *fpu = &target->thread.fpu;
171 ret = copy_uabi_from_kernel_to_xstate(fpu->fpstate, kbuf ?: tmpbuf, &target->thread.pkru);
179 int ssp_active(struct task_struct *target, const struct user_regset *regset)
181 if (target->thread.features & ARCH_SHSTK_SHSTK)
187 int ssp_get(struct task_struct *target, const struct user_regset *regset,
190 struct fpu *fpu = &target->thread.fpu;
212 int ssp_set(struct task_struct *target, const struct user_regset *regset,
216 struct fpu *fpu = &target->thread.fpu;
223 !ssp_active(target, regset))
400 int fpregs_get(struct task_struct *target, const struct user_regset *regset,
403 struct fpu *fpu = &target->thread.fpu;
410 return fpregs_soft_get(target, regset, to);
421 copy_xstate_to_uabi_buf(mb, target, XSTATE_COPY_FP);
427 __convert_from_fxsr(&env, target, fx);
431 int fpregs_set(struct task_struct *target, const struct user_regset *regset,
435 struct fpu *fpu = &target->thread.fpu;
444 return fpregs_soft_set(target, regset, pos, count, kbuf, ubuf);