Home
last modified time | relevance | path

Searched refs:mcontext_t (Results 1 – 25 of 26) sorted by relevance

12

/freebsd-14.2/lib/libthread_db/arch/powerpc/
H A Dlibpthread_md.c39 mcontext_t *mc = &uc->uc_mcontext; in pt_reg_to_ucontext()
47 const mcontext_t *mc = &uc->uc_mcontext; in pt_ucontext_to_reg()
55 mcontext_t *mc = &uc->uc_mcontext; in pt_fpreg_to_ucontext()
64 const mcontext_t *mc = &uc->uc_mcontext; in pt_ucontext_to_fpreg()
/freebsd-14.2/lib/libthread_db/arch/aarch64/
H A Dlibpthread_md.c41 mcontext_t *mc = &uc->uc_mcontext; in pt_reg_to_ucontext()
53 const mcontext_t *mc = &uc->uc_mcontext; in pt_ucontext_to_reg()
65 mcontext_t *mc = &uc->uc_mcontext; in pt_fpreg_to_ucontext()
74 const mcontext_t *mc = &uc->uc_mcontext; in pt_ucontext_to_fpreg()
/freebsd-14.2/lib/libthread_db/arch/riscv/
H A Dlibpthread_md.c45 mcontext_t *mc; in pt_reg_to_ucontext()
63 const mcontext_t *mc; in pt_ucontext_to_reg()
81 mcontext_t *mc = &uc->uc_mcontext; in pt_fpreg_to_ucontext()
90 const mcontext_t *mc = &uc->uc_mcontext; in pt_ucontext_to_fpreg()
/freebsd-14.2/sys/riscv/riscv/
H A Dexec_machdep.c72 static void get_fpcontext(struct thread *td, mcontext_t *mcp);
73 static void set_fpcontext(struct thread *td, mcontext_t *mcp);
75 _Static_assert(sizeof(mcontext_t) == 864, "mcontext_t size incorrect");
207 get_mcontext(struct thread *td, mcontext_t *mcp, int clear_ret) in get_mcontext()
232 set_mcontext(struct thread *td, mcontext_t *mcp) in set_mcontext()
266 get_fpcontext(struct thread *td, mcontext_t *mcp) in get_fpcontext()
296 set_fpcontext(struct thread *td, mcontext_t *mcp) in set_fpcontext()
/freebsd-14.2/sys/sys/
H A Ducontext.h71 int get_mcontext(struct thread *, mcontext_t *, int);
72 int set_mcontext(struct thread *, mcontext_t *);
H A D_ucontext.h44 mcontext_t uc_mcontext;
/freebsd-14.2/sys/x86/include/
H A Ducontext.h92 } mcontext_t; typedef
162 } mcontext_t; typedef
/freebsd-14.2/sys/arm64/arm64/
H A Dexec_machdep.c63 _Static_assert(sizeof(mcontext_t) == 880, "mcontext_t size incorrect");
67 static void get_fpcontext(struct thread *td, mcontext_t *mcp);
68 static void set_fpcontext(struct thread *td, mcontext_t *mcp);
438 get_mcontext(struct thread *td, mcontext_t *mcp, int clear_ret) in get_mcontext()
462 set_mcontext(struct thread *td, mcontext_t *mcp) in set_mcontext()
582 get_fpcontext(struct thread *td, mcontext_t *mcp) in get_fpcontext()
612 set_fpcontext(struct thread *td, mcontext_t *mcp) in set_fpcontext()
/freebsd-14.2/lib/libthread_db/arch/arm/
H A Dlibpthread_md.c39 mcontext_t *mc = &uc->uc_mcontext; in pt_reg_to_ucontext()
64 const mcontext_t *mc = &uc->uc_mcontext; in pt_ucontext_to_reg()
/freebsd-14.2/lib/libthread_db/arch/amd64/
H A Dlibpthread_md.c41 mcontext_t *mc = &uc->uc_mcontext; in pt_reg_to_ucontext()
68 const mcontext_t *mc = &uc->uc_mcontext; in pt_ucontext_to_reg()
/freebsd-14.2/sys/powerpc/powerpc/
H A Dexec_machdep.c126 static int grab_mcontext(struct thread *, mcontext_t *, int);
135 _Static_assert(sizeof(mcontext_t) == 1392, "mcontext_t size incorrect");
144 _Static_assert(sizeof(mcontext_t) == 1224, "mcontext_t size incorrect");
396 grab_mcontext(struct thread *td, mcontext_t *mcp, int flags) in grab_mcontext()
403 memset(mcp, 0, sizeof(mcontext_t)); in grab_mcontext()
464 get_mcontext(struct thread *td, mcontext_t *mcp, int flags) in get_mcontext()
479 set_mcontext(struct thread *td, mcontext_t *mcp) in set_mcontext()
841 mcontext_t mcp64; in grab_mcontext32()
880 mcontext_t mcp64; in set_mcontext32()
/freebsd-14.2/sys/amd64/linux/
H A Dlinux_sysvec.c74 sizeof(__typeof(((mcontext_t *)0)->mc_fpstate)),
277 linux_fxrstor(struct thread *td, mcontext_t *mcp, struct l_sigcontext *sc) in linux_fxrstor()
290 linux_xrstor(struct thread *td, mcontext_t *mcp, struct l_sigcontext *sc) in linux_xrstor()
340 mcontext_t mc; in linux_copyin_fpstate()
448 linux_fxsave(mcontext_t *mcp, void *ufp) in linux_fxsave()
457 linux_xsave(mcontext_t *mcp, char *xfpusave, char *ufp) in linux_xsave()
491 mcontext_t mc; in linux_copyout_fpstate()
/freebsd-14.2/sys/riscv/include/
H A Ducontext.h66 typedef struct __mcontext mcontext_t; typedef
/freebsd-14.2/sys/arm/arm/
H A Dexec_machdep.c70 _Static_assert(sizeof(mcontext_t) == 208, "mcontext_t size incorrect");
163 get_mcontext(struct thread *td, mcontext_t *mcp, int clear_ret) in get_mcontext()
217 set_mcontext(struct thread *td, mcontext_t *mcp) in set_mcontext()
/freebsd-14.2/sys/arm/include/
H A Ducontext.h84 } mcontext_t; typedef
/freebsd-14.2/sys/powerpc/include/
H A Ducontext.h51 } mcontext_t __aligned(16);
/freebsd-14.2/sys/arm64/include/
H A Ducontext.h85 typedef struct __mcontext mcontext_t; typedef
/freebsd-14.2/lib/libc/powerpc/gen/
H A Dmakecontext.c60 mcontext_t *mc; in __makecontext()
/freebsd-14.2/lib/libc/i386/gen/
H A Dmakecontext.c89 else if (ucp->uc_mcontext.mc_len == sizeof(mcontext_t)) { in __makecontext()
/freebsd-14.2/lib/libc/powerpc64/gen/
H A Dmakecontext.c60 mcontext_t *mc; in __makecontext()
/freebsd-14.2/lib/libc/amd64/gen/
H A Dmakecontext.c51 if ((ucp == NULL) || (ucp->uc_mcontext.mc_len != sizeof(mcontext_t))) in __makecontext()
H A Dsignalcontext.c83 ucp->uc_mcontext.mc_len = sizeof(mcontext_t); in __signalcontext()
/freebsd-14.2/tools/test/vm86/
H A Dvm86_test.c55 mcontext_t *mc; in sig_handler()
/freebsd-14.2/sys/amd64/amd64/
H A Dexec_machdep.c97 _Static_assert(sizeof(mcontext_t) == 800, "mcontext_t size incorrect");
590 get_mcontext(struct thread *td, mcontext_t *mcp, int flags) in get_mcontext()
649 set_mcontext(struct thread *td, mcontext_t *mcp) in set_mcontext()
716 get_fpcontext(struct thread *td, mcontext_t *mcp, char **xfpusave, in get_fpcontext()
737 set_fpcontext(struct thread *td, mcontext_t *mcp, char *xfpustate, in set_fpcontext()
/freebsd-14.2/sys/i386/i386/
H A Dexec_machdep.c103 static void get_fpcontext(struct thread *td, mcontext_t *mcp,
105 static int set_fpcontext(struct thread *td, mcontext_t *mcp,
116 _Static_assert(sizeof(mcontext_t) == 640, "mcontext_t size incorrect");
1110 get_mcontext(struct thread *td, mcontext_t *mcp, int flags) in get_mcontext()
1163 set_mcontext(struct thread *td, mcontext_t *mcp) in set_mcontext()
1208 get_fpcontext(struct thread *td, mcontext_t *mcp, char *xfpusave, in get_fpcontext()
1231 set_fpcontext(struct thread *td, mcontext_t *mcp, char *xfpustate, in set_fpcontext()

12