Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/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()
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()
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()
/linux-6.6.21/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.6.21/arch/arc/kernel/
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()
/linux-6.6.21/arch/openrisc/kernel/
Dptrace.c55 membuf_zero(&to, 4); in genregs_get()
/linux-6.6.21/arch/arm64/kernel/
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()
813 membuf_zero(&to, end - start); in sve_get_common()
826 return membuf_zero(&to, end - start); in sve_get_common()
1064 return membuf_zero(&to, end - start); in za_get()
1167 membuf_zero(&to, ZT_SIG_REG_BYTES); in zt_get()
/linux-6.6.21/include/linux/
Dregset.h25 static inline int membuf_zero(struct membuf *s, size_t size) in membuf_zero() function
/linux-6.6.21/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()
716 return membuf_zero(&to, (ELF_NGREG - PT_REGS_COUNT) * sizeof(u32)); in gpr32_get_common()
/linux-6.6.21/arch/x86/kernel/fpu/
Dxstate.c1115 membuf_zero(&to, sizeof(xsave->i387.padding)); in __copy_xstate_to_uabi_buf()
1147 membuf_zero(&to, xstate_offsets[i] - zerofrom); in __copy_xstate_to_uabi_buf()
1171 membuf_zero(&to, to.left); in __copy_xstate_to_uabi_buf()
/linux-6.6.21/arch/riscv/kernel/
Dptrace.c64 return membuf_zero(&to, 4); // explicitly pad in riscv_fpr_get()
/linux-6.6.21/arch/ia64/kernel/
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()
/linux-6.6.21/arch/arm/kernel/
Dptrace.c622 membuf_zero(&to, user_fpscr_offset - sizeof(vfp->fpregs)); in vfp_get()
/linux-6.6.21/arch/loongarch/kernel/
Dptrace.c695 membuf_zero(&to, sizeof(u32)); in hw_break_get()