Home
last modified time | relevance | path

Searched refs:membuf (Results 1 – 25 of 37) sorted by relevance

12

/openbmc/linux/include/linux/
H A Dregset.h20 struct membuf { struct
25 static inline int membuf_zero(struct membuf *s, size_t size) in membuf_zero() argument
37 static inline int membuf_write(struct membuf *s, const void *v, size_t size) in membuf_write()
49 static inline struct membuf membuf_at(const struct membuf *s, size_t offs) in membuf_at()
51 struct membuf n = *s; in membuf_at()
64 struct membuf *__s = (s); \
99 struct membuf to);
/openbmc/qemu/hw/nvram/
H A Dspapr_nvram.c65 void *membuf; in OBJECT_DECLARE_SIMPLE_TYPE() local
91 membuf = cpu_physical_memory_map(buffer, &len, true); in OBJECT_DECLARE_SIMPLE_TYPE()
92 memcpy(membuf, nvram->buf + offset, len); in OBJECT_DECLARE_SIMPLE_TYPE()
93 cpu_physical_memory_unmap(membuf, len, 1, len); in OBJECT_DECLARE_SIMPLE_TYPE()
107 void *membuf; in rtas_nvram_store() local
129 membuf = cpu_physical_memory_map(buffer, &len, false); in rtas_nvram_store()
133 ret = blk_pwrite(nvram->blk, offset, len, membuf, 0); in rtas_nvram_store()
137 memcpy(nvram->buf + offset, membuf, len); in rtas_nvram_store()
139 cpu_physical_memory_unmap(membuf, len, 0, len); in rtas_nvram_store()
/openbmc/linux/arch/powerpc/kernel/ptrace/
H A Dptrace-tm.c87 struct membuf to) in tm_cgpr_get()
89 struct membuf to_msr = membuf_at(&to, offsetof(struct pt_regs, msr)); in tm_cgpr_get()
91 struct membuf to_softe = membuf_at(&to, offsetof(struct pt_regs, softe)); in tm_cgpr_get()
230 struct membuf to) in tm_cfpr_get()
343 struct membuf to) in tm_cvmx_get()
470 struct membuf to) in tm_cvsx_get()
575 struct membuf to) in tm_spr_get()
665 struct membuf to) in tm_tar_get()
706 struct membuf to) in tm_ppr_get()
746 struct membuf to) in tm_dscr_get()
[all …]
H A Dptrace-view.c219 struct membuf to) in gpr_get()
291 struct membuf to) in ppr_get()
311 struct membuf to) in dscr_get()
325 struct membuf to) in tar_get()
349 struct membuf to) in ebb_get()
404 struct membuf to) in pmu_get()
467 struct membuf to) in dexcr_get()
496 struct membuf to) in hashkeyr_get()
527 struct membuf to) in pkey_get()
707 struct membuf to, unsigned long *regs) in gpr32_get_common()
[all …]
H A Dptrace-vsx.c22 struct membuf to) in fpr_get()
98 struct membuf to) in vsr_get()
H A Dptrace-novsx.c22 struct membuf to) in fpr_get()
H A Dptrace-spe.c26 struct membuf to) in evr_get()
H A Dptrace-altivec.c44 struct membuf to) in vr_get()
/openbmc/linux/arch/x86/kernel/fpu/
H A Dregset.c72 struct membuf to) in xfpregs_get()
131 struct membuf to) in xstateregs_get()
188 struct membuf to) in ssp_get()
401 struct membuf to) in fpregs_get()
418 struct membuf mb = { .p = &fxsave, .left = sizeof(fxsave) }; in fpregs_get()
H A Dxstate.h44 struct membuf;
45 extern void __copy_xstate_to_uabi_buf(struct membuf to, struct fpstate *fpstate,
48 extern void copy_xstate_to_uabi_buf(struct membuf to, struct task_struct *tsk,
/openbmc/linux/arch/arm64/kernel/
H A Dptrace.c475 struct membuf to) in hw_break_get()
556 struct membuf to) in gpr_get()
604 struct membuf to) in fpr_get()
662 struct membuf to) in tls_get()
1017 struct membuf to) in za_get()
1151 struct membuf to) in zt_get()
1208 struct membuf to) in pac_mask_get()
1229 struct membuf to) in pac_enabled_keys_get()
1295 struct membuf to) in pac_address_keys_get()
1344 struct membuf to) in pac_generic_keys_get()
[all …]
/openbmc/linux/arch/riscv/kernel/
H A Dptrace.c35 struct membuf to) in riscv_gpr_get()
55 struct membuf to) in riscv_fpr_get()
90 struct membuf to) in riscv_vr_get()
311 struct membuf to) in compat_riscv_gpr_get()
/openbmc/linux/arch/openrisc/kernel/
H A Dptrace.c50 struct membuf to) in genregs_get()
98 struct membuf to) in fpregs_get()
/openbmc/linux/arch/loongarch/kernel/
H A Dptrace.c77 struct membuf to) in gpr_get()
121 static int gfpr_get(struct task_struct *target, struct membuf *to) in gfpr_get()
127 static int gfpr_get_simd(struct task_struct *target, struct membuf *to) in gfpr_get_simd()
147 struct membuf to) in fpr_get()
231 struct membuf to) in cfg_get()
260 struct membuf *to, unsigned int live_sz) in copy_pad_fprs()
280 struct membuf to) in simd_get()
345 struct membuf to) in lbt_get()
673 struct membuf to) in hw_break_get()
/openbmc/linux/arch/s390/kernel/
H A Dptrace.c839 struct membuf to) in s390_regs_get()
888 struct membuf to) in s390_fpregs_get()
958 struct membuf to) in s390_tdb_get()
979 struct membuf to) in s390_vxrs_low_get()
1019 struct membuf to) in s390_vxrs_high_get()
1048 struct membuf to) in s390_system_call_get()
1065 struct membuf to) in s390_gs_cb_get()
1119 struct membuf to) in s390_gs_bc_get()
1177 struct membuf to) in s390_runtime_instr_get()
1333 struct membuf to) in s390_compat_regs_get()
[all …]
/openbmc/linux/arch/mips/kernel/
H A Dptrace.c219 struct membuf to) in gpr32_get()
284 struct membuf to) in gpr64_get()
414 struct membuf *to) in fpr_get_fpa()
426 static void fpr_get_msa(struct task_struct *target, struct membuf *to) in fpr_get_msa()
442 struct membuf to) in fpr_get()
553 struct membuf to) in fp_mode_get()
604 struct membuf *to, in copy_pad_fprs()
624 struct membuf to) in msa_get()
702 struct membuf to) in dsp32_get()
768 struct membuf to) in dsp64_get()
/openbmc/linux/arch/sparc/kernel/
H A Dptrace_32.c85 struct membuf to) in genregs32_get()
168 struct membuf to) in fpregs32_get()
246 struct membuf to) in getregs_get()
289 struct membuf to) in getfpregs_get()
H A Dptrace_64.c248 struct membuf to) in genregs64_get()
343 struct membuf to) in fpregs64_get()
444 struct membuf to) in getregs64_get()
534 struct membuf to) in genregs32_get()
678 struct membuf to) in fpregs32_get()
778 struct membuf to) in getregs_get()
831 struct membuf to) in getfpregs_get()
/openbmc/linux/arch/sh/kernel/
H A Dptrace_32.c136 struct membuf to) in genregs_get()
169 struct membuf to) in fpregs_get()
212 struct membuf to) in dspregs_get()
/openbmc/linux/kernel/
H A Dregset.c24 (struct membuf){.p = p, .left = size}); in __regset_get()
/openbmc/linux/arch/arm/kernel/
H A Dptrace.c546 struct membuf to) in gpr_get()
574 struct membuf to) in fpa_get()
613 struct membuf to) in vfp_get()
/openbmc/linux/arch/parisc/kernel/
H A Dptrace.c404 struct membuf to) in fpr_get()
521 struct membuf to) in gpr_get()
584 struct membuf to) in gpr32_get()
/openbmc/linux/arch/nios2/kernel/
H A Dptrace.c23 struct membuf to) in genregs_get()
/openbmc/linux/arch/hexagon/kernel/
H A Dptrace.c38 struct membuf to) in genregs_get()
/openbmc/linux/arch/csky/kernel/
H A Dptrace.c79 struct membuf to) in gpr_get()
115 struct membuf to) in fpr_get()

12