Home
last modified time | relevance | path

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

/linux-6.1.9/arch/nios2/kernel/
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()
/linux-6.1.9/arch/sparc/kernel/
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()
557 return membuf_zero(&to, 2 * sizeof(u32)); in genregs32_get()
690 membuf_zero(&to, sizeof(u32)); in fpregs32_get()
694 membuf_zero(&to, sizeof(u32)); in fpregs32_get()
696 return membuf_zero(&to, 64 * sizeof(u32)); in fpregs32_get()
843 membuf_zero(&to, sizeof(u32)); in getfpregs_get()
844 return membuf_zero(&to, 35 * sizeof(u32)); in getfpregs_get()
Dptrace_32.c103 return membuf_zero(&to, 2 * sizeof(u32)); in genregs32_get()
175 membuf_zero(&to, sizeof(u32)); in fpregs32_get()
178 return membuf_zero(&to, 64 * sizeof(u32)); in fpregs32_get()
296 return membuf_zero(&to, 35 * sizeof(u32)); in getfpregs_get()
/linux-6.1.9/arch/hexagon/kernel/
Dptrace.c66 return membuf_zero(&to, sizeof(unsigned long)); in genregs_get()
68 return membuf_zero(&to, 3 * sizeof(unsigned long)); in genregs_get()
/linux-6.1.9/arch/arc/kernel/
Dptrace.c112 membuf_zero(&to, 4); // pad in genregs_get()
136 membuf_zero(&to, 4); // pad2 in genregs_get()
258 return membuf_zero(&to, sizeof(struct user_regs_arcv2) - 4); in arcv2regs_get()
/linux-6.1.9/arch/openrisc/kernel/
Dptrace.c51 membuf_zero(&to, 4); in genregs_get()
/linux-6.1.9/include/linux/
Dregset.h25 static inline int membuf_zero(struct membuf *s, size_t size) in membuf_zero() function
/linux-6.1.9/arch/arm64/kernel/
Dptrace.c488 membuf_zero(&to, sizeof(u32)); in hw_break_get()
499 membuf_zero(&to, sizeof(u32)); in hw_break_get()
678 ret = membuf_zero(&to, sizeof(u64)); in tls_get()
818 membuf_zero(&to, end - start); in sve_get_common()
831 return membuf_zero(&to, end - start); in sve_get_common()
1061 return membuf_zero(&to, end - start); in za_get()
/linux-6.1.9/arch/powerpc/kernel/ptrace/
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()
Dptrace-view.c234 return membuf_zero(&to, ELF_NGREG * sizeof(unsigned long) - in gpr_get()
640 return membuf_zero(&to, (ELF_NGREG - PT_REGS_COUNT) * sizeof(u32)); in gpr32_get_common()
/linux-6.1.9/arch/riscv/kernel/
Dptrace.c63 return membuf_zero(&to, 4); // explicitly pad in riscv_fpr_get()
/linux-6.1.9/arch/x86/kernel/fpu/
Dxstate.c1110 membuf_zero(&to, sizeof(xsave->i387.padding)); in __copy_xstate_to_uabi_buf()
1143 membuf_zero(&to, xstate_offsets[i] - zerofrom); in __copy_xstate_to_uabi_buf()
1168 membuf_zero(&to, to.left); in __copy_xstate_to_uabi_buf()
/linux-6.1.9/arch/ia64/kernel/
Dptrace.c1463 membuf_zero(&to, 8); in do_gpregs_get()
1530 membuf_zero(&to, 2 * sizeof(elf_fpreg_t)); in do_fpregs_get()
1549 membuf_zero(&to, 96 * sizeof(reg)); in do_fpregs_get()
/linux-6.1.9/arch/arm/kernel/
Dptrace.c624 membuf_zero(&to, user_fpscr_offset - sizeof(vfp->fpregs)); in vfp_get()