/linux-4.4.14/arch/x86/include/asm/fpu/ |
H A D | regset.h | 2 * FPU regset handling methods: 7 #include <linux/regset.h>
|
/linux-4.4.14/include/linux/ |
H A D | regset.h | 27 * @regset: regset being examined 40 const struct user_regset *regset); 45 * @regset: regset being examined 46 * @pos: offset into the regset data to access, in bytes 59 const struct user_regset *regset, 66 * @regset: regset being examined 67 * @pos: offset into the regset data to access, in bytes 80 const struct user_regset *regset, 87 * @regset: regset being examined 91 * provided, there is some user memory associated with this regset's 93 * window machines; the regset's data controls what user memory is 106 const struct user_regset *regset, 118 * @active: Function to report if regset is active, or %NULL. 140 * register set. For example, x86 GDT segment descriptors form a regset; 142 * that index space is available as a regset (the TLS slots); subtracting 143 * @bias from a segment selector index value computes the regset slot. 146 * of the core file note in which this regset's data appears. 147 * NT_PRSTATUS is a special case in that the regset data starts at 150 * other cases, the core file note contains exactly the whole regset 175 * A regset view is a collection of regsets (&struct user_regset, 178 * refer to the same &struct user_regset, or more than one regset 198 * task_user_regset_view - Return the process's native regset view. 209 * These are helpers for writing regset get/set functions in arch code. 213 * Use one or more calls sequentially for each chunk of regset data stored 215 * giving the range of byte positions in the regset that data corresponds 216 * to; @end_pos can be -1 if this chunk is at the end of the regset layout. 271 * These two parallel the two above, but for portions of a regset layout 327 * @offset: offset into the regset data, in bytes 337 const struct user_regset *regset = &view->regsets[setno]; 339 if (!regset->get) 345 return regset->get(target, regset, offset, size, NULL, data); 353 * @offset: offset into the regset data, in bytes 363 const struct user_regset *regset = &view->regsets[setno]; 365 if (!regset->set) 371 return regset->set(target, regset, offset, size, NULL, data); 375 #endif /* <linux/regset.h> */
|
H A D | svga.h | 99 void svga_wcrt_multi(void __iomem *regbase, const struct vga_regset *regset, u32 value); 100 void svga_wseq_multi(void __iomem *regbase, const struct vga_regset *regset, u32 value);
|
H A D | debugfs.h | 105 struct debugfs_regset32 *regset); 262 struct debugfs_regset32 *regset) debugfs_create_regset32() 260 debugfs_create_regset32(const char *name, umode_t mode, struct dentry *parent, struct debugfs_regset32 *regset) debugfs_create_regset32() argument
|
/linux-4.4.14/arch/x86/kernel/fpu/ |
H A D | regset.c | 2 * FPU register's regset abstraction, for ptrace, core dumps, etc. 6 #include <asm/fpu/regset.h> 10 * as the "regset->n" for the xstate regset will be updated based on the feature 13 int regset_fpregs_active(struct task_struct *target, const struct user_regset *regset) regset_fpregs_active() argument 17 return target_fpu->fpstate_active ? regset->n : 0; regset_fpregs_active() 20 int regset_xregset_fpregs_active(struct task_struct *target, const struct user_regset *regset) regset_xregset_fpregs_active() argument 24 return (cpu_has_fxsr && target_fpu->fpstate_active) ? regset->n : 0; regset_xregset_fpregs_active() 27 int xfpregs_get(struct task_struct *target, const struct user_regset *regset, xfpregs_get() argument 43 int xfpregs_set(struct task_struct *target, const struct user_regset *regset, xfpregs_set() argument 74 int xstateregs_get(struct task_struct *target, const struct user_regset *regset, xstateregs_get() argument 103 int xstateregs_set(struct task_struct *target, const struct user_regset *regset, xstateregs_set() argument 269 int fpregs_get(struct task_struct *target, const struct user_regset *regset, fpregs_get() argument 279 return fpregs_soft_get(target, regset, pos, count, kbuf, ubuf); fpregs_get() 298 int fpregs_set(struct task_struct *target, const struct user_regset *regset, fpregs_set() argument 310 return fpregs_soft_set(target, regset, pos, count, kbuf, ubuf); fpregs_set()
|
H A D | signal.c | 10 #include <asm/fpu/regset.h>
|
H A D | core.c | 9 #include <asm/fpu/regset.h>
|
H A D | xstate.c | 12 #include <asm/fpu/regset.h>
|
/linux-4.4.14/drivers/media/platform/sti/c8sectpfe/ |
H A D | c8sectpfe-debugfs.c | 244 fei->regset = devm_kzalloc(fei->dev, sizeof(*fei->regset), GFP_KERNEL); c8sectpfe_debugfs_init() 245 if (!fei->regset) c8sectpfe_debugfs_init() 248 fei->regset->regs = fei_sys_regs; c8sectpfe_debugfs_init() 249 fei->regset->nregs = ARRAY_SIZE(fei_sys_regs); c8sectpfe_debugfs_init() 250 fei->regset->base = fei->io; c8sectpfe_debugfs_init() 253 fei->regset); c8sectpfe_debugfs_init()
|
H A D | c8sectpfe-core.h | 78 struct debugfs_regset32 *regset; member in struct:c8sectpfei
|
/linux-4.4.14/arch/openrisc/kernel/ |
H A D | ptrace.c | 28 #include <linux/regset.h> 38 * Copy the thread state to a regset that can be interpreted by userspace. 42 * to userspace. As such, we need to make sure that the regset remains 52 const struct user_regset *regset, genregs_get() 79 * Set the thread state from a regset passed in via ptrace 82 const struct user_regset *regset, genregs_set() 51 genregs_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user * ubuf) genregs_get() argument 81 genregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user * ubuf) genregs_set() argument
|
/linux-4.4.14/arch/sh/kernel/ |
H A D | ptrace_32.c | 27 #include <linux/regset.h> 139 const struct user_regset *regset, genregs_get() 163 const struct user_regset *regset, genregs_set() 187 const struct user_regset *regset, fpregs_get() 206 const struct user_regset *regset, fpregs_set() 227 const struct user_regset *regset) fpregs_active() 229 return tsk_used_math(target) ? regset->n : 0; fpregs_active() 235 const struct user_regset *regset, dspregs_get() 253 const struct user_regset *regset, dspregs_set() 271 const struct user_regset *regset) dspregs_active() 275 return regs->sr & SR_DSP ? regset->n : 0; dspregs_active() 307 * These are our native regset flavours. 138 genregs_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) genregs_get() argument 162 genregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) genregs_set() argument 186 fpregs_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) fpregs_get() argument 205 fpregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) fpregs_set() argument 226 fpregs_active(struct task_struct *target, const struct user_regset *regset) fpregs_active() argument 234 dspregs_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) dspregs_get() argument 252 dspregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) dspregs_set() argument 270 dspregs_active(struct task_struct *target, const struct user_regset *regset) dspregs_active() argument
|
H A D | ptrace_64.c | 33 #include <linux/regset.h> 149 const struct user_regset *regset, genregs_get() 182 const struct user_regset *regset, genregs_set() 217 const struct user_regset *regset, fpregs_get() 232 const struct user_regset *regset, fpregs_set() 249 const struct user_regset *regset) fpregs_active() 251 return tsk_used_math(target) ? regset->n : 0; fpregs_active() 335 * These are our native regset flavours. 148 genregs_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) genregs_get() argument 181 genregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) genregs_set() argument 216 fpregs_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) fpregs_get() argument 231 fpregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) fpregs_set() argument 248 fpregs_active(struct task_struct *target, const struct user_regset *regset) fpregs_active() argument
|
/linux-4.4.14/drivers/video/fbdev/core/ |
H A D | svgalib.c | 23 void svga_wcrt_multi(void __iomem *regbase, const struct vga_regset *regset, u32 value) svga_wcrt_multi() argument 27 while (regset->regnum != VGA_REGSET_END_VAL) { svga_wcrt_multi() 28 regval = vga_rcrt(regbase, regset->regnum); svga_wcrt_multi() 29 bitnum = regset->lowbit; svga_wcrt_multi() 30 while (bitnum <= regset->highbit) { svga_wcrt_multi() 37 vga_wcrt(regbase, regset->regnum, regval); svga_wcrt_multi() 38 regset ++; svga_wcrt_multi() 43 void svga_wseq_multi(void __iomem *regbase, const struct vga_regset *regset, u32 value) svga_wseq_multi() argument 47 while (regset->regnum != VGA_REGSET_END_VAL) { svga_wseq_multi() 48 regval = vga_rseq(regbase, regset->regnum); svga_wseq_multi() 49 bitnum = regset->lowbit; svga_wseq_multi() 50 while (bitnum <= regset->highbit) { svga_wseq_multi() 57 vga_wseq(regbase, regset->regnum, regval); svga_wseq_multi() 58 regset ++; svga_wseq_multi() 62 static unsigned int svga_regset_size(const struct vga_regset *regset) svga_regset_size() argument 66 while (regset->regnum != VGA_REGSET_END_VAL) { svga_regset_size() 67 count += regset->highbit - regset->lowbit + 1; svga_regset_size() 68 regset ++; svga_regset_size()
|
/linux-4.4.14/arch/arm64/kernel/ |
H A D | ptrace.c | 37 #include <linux/regset.h> 373 const struct user_regset *regset, hw_break_get() 377 unsigned int note_type = regset->core_note_type; hw_break_get() 401 limit = regset->n * regset->size; hw_break_get() 434 const struct user_regset *regset, hw_break_set() 438 unsigned int note_type = regset->core_note_type; hw_break_set() 450 limit = regset->n * regset->size; hw_break_set() 484 const struct user_regset *regset, gpr_get() 492 static int gpr_set(struct task_struct *target, const struct user_regset *regset, gpr_set() argument 513 static int fpr_get(struct task_struct *target, const struct user_regset *regset, fpr_get() argument 522 static int fpr_set(struct task_struct *target, const struct user_regset *regset, fpr_set() argument 538 static int tls_get(struct task_struct *target, const struct user_regset *regset, tls_get() argument 546 static int tls_set(struct task_struct *target, const struct user_regset *regset, tls_set() argument 562 const struct user_regset *regset, system_call_get() 573 const struct user_regset *regset, system_call_set() 669 const struct user_regset *regset, compat_gpr_get() 677 num_regs = count / regset->size; compat_gpr_get() 680 start = pos / regset->size; compat_gpr_get() 682 if (start + num_regs > regset->n) compat_gpr_get() 721 const struct user_regset *regset, compat_gpr_set() 730 num_regs = count / regset->size; compat_gpr_set() 733 start = pos / regset->size; compat_gpr_set() 735 if (start + num_regs > regset->n) compat_gpr_set() 782 const struct user_regset *regset, compat_vfp_get() 809 const struct user_regset *regset, compat_vfp_set() 836 const struct user_regset *regset, unsigned int pos, compat_tls_get() 844 const struct user_regset *regset, unsigned int pos, compat_tls_set() 372 hw_break_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) hw_break_get() argument 433 hw_break_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) hw_break_set() argument 483 gpr_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) gpr_get() argument 561 system_call_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) system_call_get() argument 572 system_call_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) system_call_set() argument 668 compat_gpr_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) compat_gpr_get() argument 720 compat_gpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) compat_gpr_set() argument 781 compat_vfp_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) compat_vfp_get() argument 808 compat_vfp_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) compat_vfp_set() argument 835 compat_tls_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) compat_tls_get() argument 843 compat_tls_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) compat_tls_set() argument
|
/linux-4.4.14/arch/frv/kernel/ |
H A D | ptrace.c | 22 #include <linux/regset.h> 41 const struct user_regset *regset, genregs_get() 61 const struct user_regset *regset, genregs_set() 106 const struct user_regset *regset, fpmregs_get() 126 const struct user_regset *regset, fpmregs_set() 146 const struct user_regset *regset) fpmregs_active() 148 return tsk_used_math(target) ? regset->n : 0; fpmregs_active() 40 genregs_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) genregs_get() argument 60 genregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) genregs_set() argument 105 fpmregs_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) fpmregs_get() argument 125 fpmregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) fpmregs_set() argument 145 fpmregs_active(struct task_struct *target, const struct user_regset *regset) fpmregs_active() argument
|
/linux-4.4.14/arch/metag/kernel/ |
H A D | ptrace.c | 14 #include <linux/regset.h> 139 const struct user_regset *regset, metag_gp_regs_get() 148 const struct user_regset *regset, metag_gp_regs_set() 185 const struct user_regset *regset, metag_cb_regs_get() 194 const struct user_regset *regset, metag_cb_regs_set() 274 const struct user_regset *regset, metag_rp_state_get() 283 const struct user_regset *regset, metag_rp_state_set() 292 const struct user_regset *regset, metag_tls_get() 301 const struct user_regset *regset, metag_tls_set() 138 metag_gp_regs_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) metag_gp_regs_get() argument 147 metag_gp_regs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) metag_gp_regs_set() argument 184 metag_cb_regs_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) metag_cb_regs_get() argument 193 metag_cb_regs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) metag_cb_regs_set() argument 273 metag_rp_state_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) metag_rp_state_get() argument 282 metag_rp_state_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) metag_rp_state_set() argument 291 metag_tls_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) metag_tls_get() argument 300 metag_tls_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) metag_tls_set() argument
|
/linux-4.4.14/arch/c6x/kernel/ |
H A D | ptrace.c | 15 #include <linux/regset.h> 58 /* regset get/set implementations */ 61 const struct user_regset *regset, gpr_get() 73 const struct user_regset *regset, gpr_set() 60 gpr_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) gpr_get() argument 72 gpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) gpr_set() argument
|
/linux-4.4.14/arch/mips/include/asm/ |
H A D | traps.h | 26 extern void (*board_bind_eic_interrupt)(int irq, int regset);
|
/linux-4.4.14/arch/nios2/kernel/ |
H A D | ptrace.c | 15 #include <linux/regset.h> 22 const struct user_regset *regset, genregs_get() 65 * Set the thread state from a regset passed in via ptrace 68 const struct user_regset *regset, genregs_set() 21 genregs_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) genregs_get() argument 67 genregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) genregs_set() argument
|
/linux-4.4.14/arch/openrisc/include/uapi/asm/ |
H A D | ptrace.h | 24 * This is the layout of the regset returned by the GETREGSET ptrace call
|
/linux-4.4.14/arch/mn10300/kernel/ |
H A D | ptrace.c | 19 #include <linux/regset.h> 82 const struct user_regset *regset, genregs_get() 109 const struct user_regset *regset, genregs_set() 158 const struct user_regset *regset, fpuregs_get() 180 const struct user_regset *regset, fpuregs_set() 204 const struct user_regset *regset) fpuregs_active() 206 return is_using_fpu(target) ? regset->n : 0; fpuregs_active() 81 genregs_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) genregs_get() argument 108 genregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) genregs_set() argument 157 fpuregs_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) fpuregs_get() argument 179 fpuregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) fpuregs_set() argument 203 fpuregs_active(struct task_struct *target, const struct user_regset *regset) fpuregs_active() argument
|
/linux-4.4.14/drivers/gpio/ |
H A D | gpio-xlp.c | 110 u32 pos, regset; xlp_gpio_get_reg() local 113 regset = (gpio / XLP_GPIO_REGSZ) * 4; xlp_gpio_get_reg() 114 return !!(readl(addr + regset) & BIT(pos)); xlp_gpio_get_reg() 119 u32 value, pos, regset; xlp_gpio_set_reg() local 122 regset = (gpio / XLP_GPIO_REGSZ) * 4; xlp_gpio_set_reg() 123 value = readl(addr + regset); xlp_gpio_set_reg() 130 writel(value, addr + regset); xlp_gpio_set_reg()
|
/linux-4.4.14/arch/h8300/kernel/ |
H A D | ptrace.c | 16 #include <linux/regset.h> 89 const struct user_regset *regset, regs_get() 106 const struct user_regset *regset, regs_set() 88 regs_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) regs_get() argument 105 regs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) regs_set() argument
|
/linux-4.4.14/arch/powerpc/kernel/ |
H A D | ptrace.c | 24 #include <linux/regset.h> 264 static int gpr_get(struct task_struct *target, const struct user_regset *regset, gpr_get() argument 305 static int gpr_set(struct task_struct *target, const struct user_regset *regset, gpr_set() argument 360 static int fpr_get(struct task_struct *target, const struct user_regset *regset, fpr_get() argument 386 static int fpr_set(struct task_struct *target, const struct user_regset *regset, fpr_set() argument 429 const struct user_regset *regset) vr_active() 432 return target->thread.used_vr ? regset->n : 0; vr_active() 435 static int vr_get(struct task_struct *target, const struct user_regset *regset, vr_get() argument 466 static int vr_set(struct task_struct *target, const struct user_regset *regset, vr_set() argument 508 const struct user_regset *regset) vsr_active() 511 return target->thread.used_vsr ? regset->n : 0; vsr_active() 514 static int vsr_get(struct task_struct *target, const struct user_regset *regset, vsr_get() argument 531 static int vsr_set(struct task_struct *target, const struct user_regset *regset, vsr_set() argument 563 const struct user_regset *regset) evr_active() 566 return target->thread.used_spe ? regset->n : 0; evr_active() 569 static int evr_get(struct task_struct *target, const struct user_regset *regset, evr_get() argument 592 static int evr_set(struct task_struct *target, const struct user_regset *regset, evr_set() argument 618 * These are our native regset flavors. 677 const struct user_regset *regset, gpr32_get() 734 const struct user_regset *regset, gpr32_set() 807 * These are the regset flavors matching the CONFIG_PPC32 native set. 428 vr_active(struct task_struct *target, const struct user_regset *regset) vr_active() argument 507 vsr_active(struct task_struct *target, const struct user_regset *regset) vsr_active() argument 562 evr_active(struct task_struct *target, const struct user_regset *regset) evr_active() argument 676 gpr32_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) gpr32_get() argument 733 gpr32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) gpr32_set() argument
|
H A D | ptrace32.c | 26 #include <linux/regset.h>
|
/linux-4.4.14/arch/s390/kernel/ |
H A D | ptrace.c | 20 #include <linux/regset.h> 877 const struct user_regset *regset, s390_regs_get() 904 const struct user_regset *regset, s390_regs_set() 940 const struct user_regset *regset, unsigned int pos, s390_fpregs_get() 956 const struct user_regset *regset, unsigned int pos, s390_fpregs_set() 993 const struct user_regset *regset, s390_last_break_get() 1011 const struct user_regset *regset, s390_last_break_set() 1019 const struct user_regset *regset, s390_tdb_get() 1033 const struct user_regset *regset, s390_tdb_set() 1041 const struct user_regset *regset, s390_vxrs_low_get() 1058 const struct user_regset *regset, s390_vxrs_low_set() 1079 const struct user_regset *regset, s390_vxrs_high_get() 1095 const struct user_regset *regset, s390_vxrs_high_set() 1112 const struct user_regset *regset, s390_system_call_get() 1122 const struct user_regset *regset, s390_system_call_set() 1199 const struct user_regset *regset, s390_compat_regs_get() 1226 const struct user_regset *regset, s390_compat_regs_set() 1262 const struct user_regset *regset, s390_compat_regs_high_get() 1290 const struct user_regset *regset, s390_compat_regs_high_set() 1323 const struct user_regset *regset, s390_compat_last_break_get() 1344 const struct user_regset *regset, s390_compat_last_break_set() 876 s390_regs_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) s390_regs_get() argument 903 s390_regs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) s390_regs_set() argument 939 s390_fpregs_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) s390_fpregs_get() argument 955 s390_fpregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) s390_fpregs_set() argument 992 s390_last_break_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) s390_last_break_get() argument 1010 s390_last_break_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) s390_last_break_set() argument 1018 s390_tdb_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) s390_tdb_get() argument 1032 s390_tdb_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) s390_tdb_set() argument 1040 s390_vxrs_low_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) s390_vxrs_low_get() argument 1057 s390_vxrs_low_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) s390_vxrs_low_set() argument 1078 s390_vxrs_high_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) s390_vxrs_high_get() argument 1094 s390_vxrs_high_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) s390_vxrs_high_set() argument 1111 s390_system_call_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) s390_system_call_get() argument 1121 s390_system_call_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) s390_system_call_set() argument 1198 s390_compat_regs_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) s390_compat_regs_get() argument 1225 s390_compat_regs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) s390_compat_regs_set() argument 1261 s390_compat_regs_high_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) s390_compat_regs_high_get() argument 1289 s390_compat_regs_high_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) s390_compat_regs_high_set() argument 1322 s390_compat_last_break_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) s390_compat_last_break_get() argument 1343 s390_compat_last_break_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) s390_compat_last_break_set() argument
|
/linux-4.4.14/arch/x86/kernel/ |
H A D | tls.c | 5 #include <linux/regset.h> 201 const struct user_regset *regset) regset_tls_active() 210 int regset_tls_get(struct task_struct *target, const struct user_regset *regset, regset_tls_get() argument 244 int regset_tls_set(struct task_struct *target, const struct user_regset *regset, regset_tls_set() argument 200 regset_tls_active(struct task_struct *target, const struct user_regset *regset) regset_tls_active() argument
|
H A D | ptrace.c | 32 #include <asm/fpu/regset.h> 504 const struct user_regset *regset, genregs_get() 529 const struct user_regset *regset, genregs_set() 778 const struct user_regset *regset) ioperm_active() 780 return target->thread.io_bitmap_max / regset->size; ioperm_active() 784 const struct user_regset *regset, ioperm_get() 1070 const struct user_regset *regset, genregs32_get() 1097 const struct user_regset *regset, genregs32_set() 503 genregs_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) genregs_get() argument 528 genregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) genregs_set() argument 777 ioperm_active(struct task_struct *target, const struct user_regset *regset) ioperm_active() argument 783 ioperm_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) ioperm_get() argument 1069 genregs32_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) genregs32_get() argument 1096 genregs32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) genregs32_set() argument
|
/linux-4.4.14/arch/sh/include/asm/ |
H A D | fpu.h | 38 const struct user_regset *regset,
|
H A D | elf.h | 101 * Enable dump using regset.
|
/linux-4.4.14/drivers/usb/dwc3/ |
H A D | debugfs.c | 635 dwc->regset = kzalloc(sizeof(*dwc->regset), GFP_KERNEL); dwc3_debugfs_init() 636 if (!dwc->regset) { dwc3_debugfs_init() 641 dwc->regset->regs = dwc3_regs; dwc3_debugfs_init() 642 dwc->regset->nregs = ARRAY_SIZE(dwc3_regs); dwc3_debugfs_init() 643 dwc->regset->base = dwc->regs; dwc3_debugfs_init() 645 file = debugfs_create_regset32("regdump", S_IRUGO, root, dwc->regset); dwc3_debugfs_init()
|
H A D | core.h | 691 * @regset: debugfs pointer to regdump file 836 struct debugfs_regset32 *regset; member in struct:dwc3
|
/linux-4.4.14/arch/sparc/kernel/ |
H A D | ptrace_32.c | 21 #include <linux/regset.h> 49 const struct user_regset *regset, genregs32_get() 127 const struct user_regset *regset, genregs32_set() 211 const struct user_regset *regset, fpregs32_get() 255 const struct user_regset *regset, fpregs32_set() 48 genregs32_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) genregs32_get() argument 126 genregs32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) genregs32_set() argument 210 fpregs32_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) fpregs32_get() argument 254 fpregs32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) fpregs32_set() argument
|
H A D | ptrace_64.c | 25 #include <linux/regset.h> 208 const struct user_regset *regset, genregs64_get() 258 const struct user_regset *regset, genregs64_set() 332 const struct user_regset *regset, fpregs64_get() 399 const struct user_regset *regset, fpregs64_set() 476 const struct user_regset *regset, genregs32_get() 585 const struct user_regset *regset, genregs32_set() 704 const struct user_regset *regset, fpregs32_get() 758 const struct user_regset *regset, fpregs32_set() 207 genregs64_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) genregs64_get() argument 257 genregs64_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) genregs64_set() argument 331 fpregs64_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) fpregs64_get() argument 398 fpregs64_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) fpregs64_set() argument 475 genregs32_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) genregs32_get() argument 584 genregs32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) genregs32_set() argument 703 fpregs32_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) fpregs32_get() argument 757 fpregs32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) fpregs32_set() argument
|
/linux-4.4.14/arch/arm/kernel/ |
H A D | ptrace.c | 25 #include <linux/regset.h> 583 /* regset get/set implementations */ 586 const struct user_regset *regset, gpr_get() 598 const struct user_regset *regset, gpr_set() 619 const struct user_regset *regset, fpa_get() 629 const struct user_regset *regset, fpa_set() 663 * to/from the specified slice of the user regset structure. 666 const struct user_regset *regset, vfp_get() 703 const struct user_regset *regset, vfp_set() 585 gpr_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) gpr_get() argument 597 gpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) gpr_set() argument 618 fpa_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) fpa_get() argument 628 fpa_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) fpa_set() argument 665 vfp_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) vfp_get() argument 702 vfp_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) vfp_set() argument
|
/linux-4.4.14/fs/ |
H A D | binfmt_elf.c | 1587 #include <linux/regset.h> 1608 * When a regset has a writeback hook, we call it on each thread before 1613 const struct user_regset *regset) do_thread_regset_writeback() 1615 if (regset->writeback) do_thread_regset_writeback() 1616 regset->writeback(task, regset, 1); do_thread_regset_writeback() 1642 * NT_PRSTATUS is the one special case, because the regset data fill_thread_core_info() 1645 * We assume that regset 0 is NT_PRSTATUS. fill_thread_core_info() 1659 * Each other regset might generate a note too. For each regset fill_thread_core_info() 1664 const struct user_regset *regset = &view->regsets[i]; fill_thread_core_info() local 1665 do_thread_regset_writeback(t->task, regset); fill_thread_core_info() 1666 if (regset->core_note_type && regset->get && fill_thread_core_info() 1667 (!regset->active || regset->active(t->task, regset))) { fill_thread_core_info() 1669 size_t size = regset->n * regset->size; fill_thread_core_info() 1673 ret = regset->get(t->task, regset, fill_thread_core_info() 1678 if (regset->core_note_type != NT_PRFPREG) fill_thread_core_info() 1680 regset->core_note_type, fill_thread_core_info() 1726 * Sanity check. We rely on regset 0 being in NT_PRSTATUS, fill_note_info() 1612 do_thread_regset_writeback(struct task_struct *task, const struct user_regset *regset) do_thread_regset_writeback() argument
|
/linux-4.4.14/arch/mips/kernel/ |
H A D | ptrace.c | 25 #include <linux/regset.h> 286 /* regset get/set implementations */ 291 const struct user_regset *regset, gpr32_get() 319 const struct user_regset *regset, gpr32_set() 370 const struct user_regset *regset, gpr64_get() 398 const struct user_regset *regset, gpr64_set() 443 const struct user_regset *regset, fpr_get() 471 const struct user_regset *regset, fpr_set() 290 gpr32_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) gpr32_get() argument 318 gpr32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) gpr32_set() argument 369 gpr64_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) gpr64_get() argument 397 gpr64_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) gpr64_set() argument 442 fpr_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) fpr_get() argument 470 fpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) fpr_set() argument
|
H A D | traps.c | 102 void (*board_bind_eic_interrupt)(int irq, int regset);
|
/linux-4.4.14/arch/openrisc/include/asm/ |
H A D | elf.h | 40 * Enable dump using regset.
|
H A D | ptrace.h | 27 * access thread state via the regset mechanism. This allows us a bit of
|
/linux-4.4.14/arch/tile/kernel/ |
H A D | ptrace.c | 22 #include <linux/regset.h> 96 const struct user_regset *regset, tile_gpr_get() 109 const struct user_regset *regset, tile_gpr_set() 95 tile_gpr_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) tile_gpr_get() argument 108 tile_gpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tile_gpr_set() argument
|
/linux-4.4.14/arch/arc/kernel/ |
H A D | ptrace.c | 11 #include <linux/regset.h> 22 const struct user_regset *regset, genregs_get() 108 const struct user_regset *regset, genregs_set() 21 genregs_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) genregs_get() argument 107 genregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) genregs_set() argument
|
/linux-4.4.14/kernel/ |
H A D | ptrace.c | 25 #include <linux/regset.h> 793 const struct user_regset *regset; find_regset() local 797 regset = view->regsets + n; find_regset() 798 if (regset->core_note_type == type) find_regset() 799 return regset; find_regset() 809 const struct user_regset *regset = find_regset(view, type); ptrace_regset() local 812 if (!regset || (kiov->iov_len % regset->size) != 0) ptrace_regset() 815 regset_no = regset - view->regsets; ptrace_regset() 817 (__kernel_size_t) (regset->n * regset->size)); ptrace_regset() 828 * This is declared in linux/regset.h and defined in machine-dependent
|
/linux-4.4.14/arch/hexagon/kernel/ |
H A D | ptrace.c | 29 #include <linux/regset.h> 51 const struct user_regset *regset, genregs_get() 107 const struct user_regset *regset, genregs_set() 50 genregs_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) genregs_get() argument 106 genregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) genregs_set() argument
|
/linux-4.4.14/drivers/usb/dwc2/ |
H A D | debugfs.c | 742 hsotg->regset = devm_kzalloc(hsotg->dev, sizeof(*hsotg->regset), dwc2_debugfs_init() 744 if (!hsotg->regset) { dwc2_debugfs_init() 749 hsotg->regset->regs = dwc2_regs; dwc2_debugfs_init() 750 hsotg->regset->nregs = ARRAY_SIZE(dwc2_regs); dwc2_debugfs_init() 751 hsotg->regset->base = hsotg->regs; dwc2_debugfs_init() 754 hsotg->regset); dwc2_debugfs_init()
|
H A D | core.h | 737 struct debugfs_regset32 *regset; member in struct:dwc2_hsotg
|
/linux-4.4.14/arch/score/kernel/ |
H A D | ptrace.c | 30 #include <linux/regset.h> 38 const struct user_regset *regset, genregs_get() 66 const struct user_regset *regset, genregs_set() 37 genregs_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) genregs_get() argument 65 genregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) genregs_set() argument
|
/linux-4.4.14/arch/blackfin/kernel/ |
H A D | ptrace.c | 16 #include <linux/regset.h> 157 const struct user_regset *regset, genregs_get() 180 const struct user_regset *regset, genregs_set() 156 genregs_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) genregs_get() argument 179 genregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) genregs_set() argument
|
/linux-4.4.14/arch/ia64/kernel/ |
H A D | ptrace.c | 21 #include <linux/regset.h> 1260 const struct user_regset *regset; member in struct:regset_getset 1819 const struct user_regset *regset, do_regset_call() 1823 struct regset_getset info = { .target = target, .regset = regset, do_regset_call() 1842 const struct user_regset *regset, gpregs_get() 1846 return do_regset_call(do_gpregs_get, target, regset, pos, count, gpregs_get() 1851 const struct user_regset *regset, gpregs_set() 1855 return do_regset_call(do_gpregs_set, target, regset, pos, count, gpregs_set() 1871 const struct user_regset *regset, gpregs_writeback() 1877 return do_regset_call(do_gpregs_writeback, target, regset, 0, 0, gpregs_writeback() 1882 fpregs_active(struct task_struct *target, const struct user_regset *regset) fpregs_active() argument 1888 const struct user_regset *regset, fpregs_get() 1892 return do_regset_call(do_fpregs_get, target, regset, pos, count, fpregs_get() 1897 const struct user_regset *regset, fpregs_set() 1901 return do_regset_call(do_fpregs_set, target, regset, pos, count, fpregs_set() 1817 do_regset_call(void (*call)(struct unw_frame_info *, void *), struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) do_regset_call() argument 1841 gpregs_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) gpregs_get() argument 1850 gpregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) gpregs_set() argument 1870 gpregs_writeback(struct task_struct *target, const struct user_regset *regset, int now) gpregs_writeback() argument 1887 fpregs_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) fpregs_get() argument 1896 fpregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) fpregs_set() argument
|
/linux-4.4.14/fs/debugfs/ |
H A D | file.c | 737 struct debugfs_regset32 *regset = s->private; debugfs_show_regset32() local 739 debugfs_print_regs32(s, regset->regs, regset->nregs, regset->base, ""); debugfs_show_regset32() 762 * @regset: a pointer to a struct debugfs_regset32, which contains a pointer 782 struct debugfs_regset32 *regset) debugfs_create_regset32() 784 return debugfs_create_file(name, mode, parent, regset, &fops_regset32); debugfs_create_regset32() 780 debugfs_create_regset32(const char *name, umode_t mode, struct dentry *parent, struct debugfs_regset32 *regset) debugfs_create_regset32() argument
|
/linux-4.4.14/drivers/usb/musb/ |
H A D | musb_dsps.c | 150 struct debugfs_regset32 regset; member in struct:dsps_glue 408 glue->regset.regs = dsps_musb_regs; dsps_musb_dbg_init() 409 glue->regset.nregs = ARRAY_SIZE(dsps_musb_regs); dsps_musb_dbg_init() 410 glue->regset.base = musb->ctrl_base; dsps_musb_dbg_init() 412 file = debugfs_create_regset32("regdump", S_IRUGO, root, &glue->regset); dsps_musb_dbg_init()
|
/linux-4.4.14/arch/x86/math-emu/ |
H A D | fpu_entry.c | 28 #include <linux/regset.h> 642 const struct user_regset *regset, fpregs_soft_set() 694 const struct user_regset *regset, fpregs_soft_get() 641 fpregs_soft_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) fpregs_soft_set() argument 693 fpregs_soft_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) fpregs_soft_get() argument
|