/openbmc/linux/arch/nios2/kernel/ |
H A D | ptrace.c | 28 membuf_zero(&to, 4); // R0 in genregs_get() 32 membuf_zero(&to, 2 * 4); /* et and bt */ in genregs_get() 37 membuf_zero(&to, 4); // PTR_BA in genregs_get() 40 return membuf_zero(&to, (NUM_PTRACE_REG - PTR_PC) * 4); in genregs_get()
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | ptrace_64.c | 356 membuf_zero(&to, 16 * sizeof(u64)); in fpregs64_get() 361 membuf_zero(&to, 16 * sizeof(u64)); in fpregs64_get() 366 membuf_zero(&to, 2 * sizeof(u64)); in fpregs64_get() 555 return membuf_zero(&to, 2 * sizeof(u32)); in genregs32_get() 689 membuf_zero(&to, sizeof(u32)); in fpregs32_get() 693 membuf_zero(&to, sizeof(u32)); in fpregs32_get() 695 return membuf_zero(&to, 64 * sizeof(u32)); in fpregs32_get() 842 membuf_zero(&to, sizeof(u32)); in getfpregs_get() 843 return membuf_zero(&to, 35 * sizeof(u32)); in getfpregs_get()
|
H A D | ptrace_32.c | 103 return membuf_zero(&to, 2 * sizeof(u32)); in genregs32_get() 176 membuf_zero(&to, sizeof(u32)); in fpregs32_get() 179 return membuf_zero(&to, 64 * sizeof(u32)); in fpregs32_get() 297 return membuf_zero(&to, 35 * sizeof(u32)); in getfpregs_get()
|
/openbmc/linux/arch/hexagon/kernel/ |
H A D | ptrace.c | 66 return membuf_zero(&to, sizeof(unsigned long)); in genregs_get() 68 return membuf_zero(&to, 3 * sizeof(unsigned long)); in genregs_get()
|
/openbmc/linux/arch/arc/kernel/ |
H A D | ptrace.c | 110 membuf_zero(&to, 4); // pad in genregs_get() 134 membuf_zero(&to, 4); // pad2 in genregs_get() 256 return membuf_zero(&to, sizeof(struct user_regs_arcv2) - 4); in arcv2regs_get()
|
/openbmc/linux/arch/openrisc/kernel/ |
H A D | ptrace.c | 55 membuf_zero(&to, 4); in genregs_get()
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | ptrace.c | 488 membuf_zero(&to, sizeof(u32)); in hw_break_get() 499 membuf_zero(&to, sizeof(u32)); in hw_break_get() 673 ret = membuf_zero(&to, sizeof(u64)); in tls_get() 810 membuf_zero(&to, end - start); in sve_get_common() 823 return membuf_zero(&to, end - start); in sve_get_common() 1061 return membuf_zero(&to, end - start); in za_get() 1164 membuf_zero(&to, ZT_SIG_REG_BYTES); in zt_get()
|
/openbmc/linux/include/linux/ |
H A D | regset.h | 25 static inline int membuf_zero(struct membuf *s, size_t size) in membuf_zero() function
|
/openbmc/linux/arch/powerpc/kernel/ptrace/ |
H A D | ptrace-tm.c | 110 return membuf_zero(&to, ELF_NGREG * sizeof(unsigned long) - in tm_cgpr_get() 779 return membuf_zero(&to, ELF_NGREG * sizeof(u32)); in tm_cgpr32_get()
|
H A D | ptrace-view.c | 234 return membuf_zero(&to, ELF_NGREG * sizeof(unsigned long) - in gpr_get() 716 return membuf_zero(&to, (ELF_NGREG - PT_REGS_COUNT) * sizeof(u32)); in gpr32_get_common()
|
/openbmc/linux/arch/x86/kernel/fpu/ |
H A D | xstate.c | 1119 membuf_zero(&to, sizeof(xsave->i387.padding)); in __copy_xstate_to_uabi_buf() 1151 membuf_zero(&to, xstate_offsets[i] - zerofrom); in __copy_xstate_to_uabi_buf() 1175 membuf_zero(&to, to.left); in __copy_xstate_to_uabi_buf()
|
/openbmc/linux/arch/riscv/kernel/ |
H A D | ptrace.c | 64 return membuf_zero(&to, 4); // explicitly pad in riscv_fpr_get()
|
/openbmc/linux/arch/ia64/kernel/ |
H A D | ptrace.c | 1463 membuf_zero(&to, 8); in do_gpregs_get() 1528 membuf_zero(&to, 2 * sizeof(elf_fpreg_t)); in do_fpregs_get() 1547 membuf_zero(&to, 96 * sizeof(reg)); in do_fpregs_get()
|
/openbmc/linux/arch/arm/kernel/ |
H A D | ptrace.c | 622 membuf_zero(&to, user_fpscr_offset - sizeof(vfp->fpregs)); in vfp_get()
|
/openbmc/linux/arch/loongarch/kernel/ |
H A D | ptrace.c | 705 membuf_zero(&to, sizeof(u32)); in hw_break_get()
|