Home
last modified time | relevance | path

Searched refs:membuf_zero (Results 1 – 15 of 15) sorted by relevance

/openbmc/linux/arch/nios2/kernel/
H A Dptrace.c28 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 Dptrace_64.c356 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 Dptrace_32.c103 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 Dptrace.c66 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 Dptrace.c110 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 Dptrace.c55 membuf_zero(&to, 4); in genregs_get()
/openbmc/linux/arch/arm64/kernel/
H A Dptrace.c488 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 Dregset.h25 static inline int membuf_zero(struct membuf *s, size_t size) in membuf_zero() function
/openbmc/linux/arch/powerpc/kernel/ptrace/
H A Dptrace-tm.c110 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 Dptrace-view.c234 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 Dxstate.c1119 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 Dptrace.c64 return membuf_zero(&to, 4); // explicitly pad in riscv_fpr_get()
/openbmc/linux/arch/ia64/kernel/
H A Dptrace.c1463 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 Dptrace.c622 membuf_zero(&to, user_fpscr_offset - sizeof(vfp->fpregs)); in vfp_get()
/openbmc/linux/arch/loongarch/kernel/
H A Dptrace.c705 membuf_zero(&to, sizeof(u32)); in hw_break_get()