Home
last modified time | relevance | path

Searched refs:regset (Results 1 – 25 of 34) sorted by relevance

12

/arch/powerpc/kernel/ptrace/
A Dptrace-decl.h73 int fpr_set(struct task_struct *target, const struct user_regset *regset,
79 int vsr_active(struct task_struct *target, const struct user_regset *regset);
81 int vsr_set(struct task_struct *target, const struct user_regset *regset,
87 int vr_active(struct task_struct *target, const struct user_regset *regset);
89 int vr_set(struct task_struct *target, const struct user_regset *regset,
95 int evr_active(struct task_struct *target, const struct user_regset *regset);
97 int evr_set(struct task_struct *target, const struct user_regset *regset,
104 const struct user_regset *regset,
108 const struct user_regset *regset,
143 int tm_spr_set(struct task_struct *target, const struct user_regset *regset,
[all …]
A Dptrace-tm.c66 return regset->n; in tm_cgpr_active()
86 int tm_cgpr_get(struct task_struct *target, const struct user_regset *regset, in tm_cgpr_get() argument
208 return regset->n; in tm_cfpr_active()
320 return regset->n; in tm_cvmx_active()
449 return target->thread.used_vsr ? regset->n : 0; in tm_cvsx_active()
556 return regset->n; in tm_spr_active()
659 return regset->n; in tm_tar_active()
699 return regset->n; in tm_ppr_active()
740 return regset->n; in tm_dscr_active()
777 gpr32_get_common(target, regset, to, in tm_cgpr32_get()
[all …]
A Dptrace-view.c343 return regset->n; in ebb_active()
400 return regset->n; in pmu_active()
463 return regset->n; in dexcr_active()
487 return regset->n; in hashkeyr_active()
518 return regset->n; in pkey_active()
701 const struct user_regset *regset, in gpr32_get_common() argument
715 const struct user_regset *regset, in gpr32_set_common_kernel() argument
753 const struct user_regset *regset, in gpr32_set_common_user() argument
807 const struct user_regset *regset, in gpr32_set_common() argument
819 const struct user_regset *regset, in gpr32_get() argument
[all …]
A Dptrace-vsx.c21 int fpr_get(struct task_struct *target, const struct user_regset *regset, in fpr_get() argument
49 int fpr_set(struct task_struct *target, const struct user_regset *regset, in fpr_set() argument
79 int vsr_active(struct task_struct *target, const struct user_regset *regset) in vsr_active() argument
82 return target->thread.used_vsr ? regset->n : 0; in vsr_active()
97 int vsr_get(struct task_struct *target, const struct user_regset *regset, in vsr_get() argument
126 int vsr_set(struct task_struct *target, const struct user_regset *regset, in vsr_set() argument
A Dptrace-spe.c19 int evr_active(struct task_struct *target, const struct user_regset *regset) in evr_active() argument
22 return target->thread.used_spe ? regset->n : 0; in evr_active()
25 int evr_get(struct task_struct *target, const struct user_regset *regset, in evr_get() argument
39 int evr_set(struct task_struct *target, const struct user_regset *regset, in evr_set() argument
A Dptrace-altivec.c23 int vr_active(struct task_struct *target, const struct user_regset *regset) in vr_active() argument
26 return target->thread.used_vr ? regset->n : 0; in vr_active()
43 int vr_get(struct task_struct *target, const struct user_regset *regset, in vr_get() argument
79 int vr_set(struct task_struct *target, const struct user_regset *regset, in vr_set() argument
A Dptrace-novsx.c21 int fpr_get(struct task_struct *target, const struct user_regset *regset, in fpr_get() argument
49 int fpr_set(struct task_struct *target, const struct user_regset *regset, in fpr_set() argument
/arch/x86/kernel/fpu/
A Dregset.c25 return regset->n; in regset_fpregs_active()
31 return regset->n; in regset_xregset_fpregs_active()
71 int xfpregs_get(struct task_struct *target, const struct user_regset *regset, in xfpregs_get() argument
90 int xfpregs_set(struct task_struct *target, const struct user_regset *regset, in xfpregs_set() argument
182 return regset->n; in ssp_active()
187 int ssp_get(struct task_struct *target, const struct user_regset *regset, in ssp_get() argument
194 !ssp_active(target, regset)) in ssp_get()
213 int ssp_set(struct task_struct *target, const struct user_regset *regset, in ssp_set() argument
224 !ssp_active(target, regset)) in ssp_set()
411 return fpregs_soft_get(target, regset, to); in fpregs_get()
[all …]
A DMakefile6 obj-y += init.o bugs.o core.o regset.o signal.o xstate.o
/arch/x86/um/
A Dptrace.c114 const struct user_regset *regset, in fpregs_legacy_get() argument
148 const struct user_regset *regset, in fpregs_legacy_set() argument
169 const struct user_regset *regset, in genregs_get() argument
180 const struct user_regset *regset, in genregs_set() argument
211 static int generic_fpregs_active(struct task_struct *target, const struct user_regset *regset) in generic_fpregs_active() argument
213 return regset->n; in generic_fpregs_active()
217 const struct user_regset *regset, in generic_fpregs_get() argument
222 membuf_write(&to, fpregs, regset->size * regset->n); in generic_fpregs_get()
227 const struct user_regset *regset, in generic_fpregs_set() argument
234 fpregs, 0, regset->size * regset->n); in generic_fpregs_set()
/arch/arm64/kernel/
A Dptrace.c475 const struct user_regset *regset, in hw_break_get() argument
507 const struct user_regset *regset, in hw_break_set() argument
521 limit = regset->n * regset->size; in hw_break_set()
556 const struct user_regset *regset, in gpr_get() argument
585 return regset->n; in fpr_active()
1053 const struct user_regset *regset, in za_get() argument
1102 const struct user_regset *regset, in za_set() argument
1248 const struct user_regset *regset, in pac_mask_get() argument
1813 num_regs = count / regset->size; in compat_gpr_set()
1816 start = pos / regset->size; in compat_gpr_set()
[all …]
/arch/loongarch/kernel/
A Dptrace.c76 const struct user_regset *regset, in gpr_get() argument
91 const struct user_regset *regset, in gpr_set() argument
146 const struct user_regset *regset, in fpr_get() argument
198 const struct user_regset *regset, in fpr_set() argument
230 const struct user_regset *regset, in cfg_get() argument
259 const struct user_regset *regset, in copy_pad_fprs() argument
266 cp_sz = min(regset->size, live_sz); in copy_pad_fprs()
267 pad_sz = regset->size - cp_sz; in copy_pad_fprs()
672 const struct user_regset *regset, in hw_break_get() argument
713 const struct user_regset *regset, in hw_break_set() argument
[all …]
/arch/sh/kernel/
A Dptrace_32.c135 const struct user_regset *regset, in genregs_get() argument
144 const struct user_regset *regset, in genregs_set() argument
168 const struct user_regset *regset, in fpregs_get() argument
182 const struct user_regset *regset, in fpregs_set() argument
203 const struct user_regset *regset) in fpregs_active() argument
205 return tsk_used_math(target) ? regset->n : 0; in fpregs_active()
211 const struct user_regset *regset, in dspregs_get() argument
221 const struct user_regset *regset, in dspregs_set() argument
239 const struct user_regset *regset) in dspregs_active() argument
243 return regs->sr & SR_DSP ? regset->n : 0; in dspregs_active()
/arch/riscv/kernel/
A Dptrace.c37 const struct user_regset *regset, in riscv_gpr_get() argument
45 const struct user_regset *regset, in riscv_gpr_set() argument
57 const struct user_regset *regset, in riscv_fpr_get() argument
71 const struct user_regset *regset, in riscv_fpr_set() argument
92 const struct user_regset *regset, in riscv_vr_get() argument
125 const struct user_regset *regset, in riscv_vr_set() argument
160 const struct user_regset *regset, in tagged_addr_ctrl_get() argument
172 const struct user_regset *regset, in tagged_addr_ctrl_set() argument
355 const struct user_regset *regset, in compat_riscv_gpr_get() argument
367 const struct user_regset *regset, in compat_riscv_gpr_set() argument
/arch/mips/kernel/
A Dptrace.c218 const struct user_regset *regset, in gpr32_get() argument
229 const struct user_regset *regset, in gpr32_set() argument
283 const struct user_regset *regset, in gpr64_get() argument
441 const struct user_regset *regset, in fpr_get() argument
508 const struct user_regset *regset, in fpr_set() argument
603 const struct user_regset *regset, in copy_pad_fprs() argument
611 cp_sz = min(regset->size, live_sz); in copy_pad_fprs()
612 pad_sz = regset->size - cp_sz; in copy_pad_fprs()
623 const struct user_regset *regset, in msa_get() argument
645 copy_pad_fprs(target, regset, &to, in msa_get()
[all …]
/arch/sparc/kernel/
A Dptrace_32.c84 const struct user_regset *regset, in genregs32_get() argument
107 const struct user_regset *regset, in genregs32_set() argument
167 const struct user_regset *regset, in fpregs32_get() argument
183 const struct user_regset *regset, in fpregs32_set() argument
245 const struct user_regset *regset, in getregs_get() argument
261 const struct user_regset *regset, in setregs_set() argument
288 const struct user_regset *regset, in getfpregs_get() argument
301 const struct user_regset *regset, in setfpregs_set() argument
A Dptrace_64.c247 const struct user_regset *regset, in genregs64_get() argument
268 const struct user_regset *regset, in genregs64_set() argument
342 const struct user_regset *regset, in fpregs64_get() argument
372 const struct user_regset *regset, in fpregs64_set() argument
443 const struct user_regset *regset, in getregs64_get() argument
458 const struct user_regset *regset, in setregs64_set() argument
533 const struct user_regset *regset, in genregs32_get() argument
677 const struct user_regset *regset, in fpregs32_get() argument
699 const struct user_regset *regset, in fpregs32_set() argument
830 const struct user_regset *regset, in getfpregs_get() argument
[all …]
/arch/s390/kernel/
A Dptrace.c817 const struct user_regset *regset, in s390_regs_get() argument
830 const struct user_regset *regset, in s390_regs_set() argument
927 const struct user_regset *regset, in s390_tdb_get() argument
940 const struct user_regset *regset, in s390_tdb_set() argument
1017 const struct user_regset *regset, in s390_system_call_get() argument
1024 const struct user_regset *regset, in s390_system_call_set() argument
1034 const struct user_regset *regset, in s390_gs_cb_get() argument
1049 const struct user_regset *regset, in s390_gs_cb_set() argument
1146 const struct user_regset *regset, in s390_runtime_instr_get() argument
1302 const struct user_regset *regset, in s390_compat_regs_get() argument
[all …]
/arch/openrisc/kernel/
A Dptrace.c49 const struct user_regset *regset, in genregs_get() argument
65 const struct user_regset *regset, in genregs_set() argument
98 const struct user_regset *regset, in fpregs_get() argument
105 const struct user_regset *regset, in fpregs_set() argument
/arch/x86/kernel/
A Dtls.c244 const struct user_regset *regset) in regset_tls_active() argument
253 int regset_tls_get(struct task_struct *target, const struct user_regset *regset, in regset_tls_get() argument
267 int regset_tls_set(struct task_struct *target, const struct user_regset *regset, in regset_tls_set() argument
/arch/nios2/kernel/
A Dptrace.c22 const struct user_regset *regset, in genregs_get() argument
47 const struct user_regset *regset, in genregs_set() argument
/arch/arm/kernel/
A Dptrace.c545 const struct user_regset *regset, in gpr_get() argument
552 const struct user_regset *regset, in gpr_set() argument
573 const struct user_regset *regset, in fpa_get() argument
581 const struct user_regset *regset, in fpa_set() argument
612 const struct user_regset *regset, in vfp_get() argument
632 const struct user_regset *regset, in vfp_set() argument
/arch/parisc/kernel/
A Dptrace.c403 const struct user_regset *regset, in fpr_get() argument
412 const struct user_regset *regset, in fpr_set() argument
520 const struct user_regset *regset, in gpr_get() argument
532 const struct user_regset *regset, in gpr_set() argument
583 const struct user_regset *regset, in gpr32_get() argument
596 const struct user_regset *regset, in gpr32_set() argument
/arch/hexagon/kernel/
A Dptrace.c37 const struct user_regset *regset, in genregs_get() argument
73 const struct user_regset *regset, in genregs_set() argument
/arch/csky/kernel/
A Dptrace.c78 const struct user_regset *regset, in gpr_get() argument
90 const struct user_regset *regset, in gpr_set() argument
114 const struct user_regset *regset, in fpr_get() argument
138 const struct user_regset *regset, in fpr_set() argument

Completed in 54 milliseconds

12