Home
last modified time | relevance | path

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

12

/freebsd/lib/libthread_db/arch/powerpc/
H A Dlibpthread_md.c38 mcontext_t *mc = &uc->uc_mcontext; in pt_reg_to_ucontext()
46 const mcontext_t *mc = &uc->uc_mcontext; in pt_ucontext_to_reg()
54 mcontext_t *mc = &uc->uc_mcontext; in pt_fpreg_to_ucontext()
63 const mcontext_t *mc = &uc->uc_mcontext; in pt_ucontext_to_fpreg()
/freebsd/lib/libthread_db/arch/riscv/
H A Dlibpthread_md.c44 mcontext_t *mc; in pt_reg_to_ucontext()
62 const mcontext_t *mc; in pt_ucontext_to_reg()
80 mcontext_t *mc = &uc->uc_mcontext; in pt_fpreg_to_ucontext()
89 const mcontext_t *mc = &uc->uc_mcontext; in pt_ucontext_to_fpreg()
/freebsd/sys/riscv/riscv/
H A Dexec_machdep.c71 static void get_fpcontext(struct thread *td, mcontext_t *mcp);
72 static void set_fpcontext(struct thread *td, mcontext_t *mcp);
74 _Static_assert(sizeof(mcontext_t) == 864, "mcontext_t size incorrect");
206 get_mcontext(struct thread *td, mcontext_t *mcp, int clear_ret) in get_mcontext()
231 set_mcontext(struct thread *td, mcontext_t *mcp) in set_mcontext()
265 get_fpcontext(struct thread *td, mcontext_t *mcp) in get_fpcontext()
295 set_fpcontext(struct thread *td, mcontext_t *mcp) in set_fpcontext()
/freebsd/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/sys/arm64/arm64/
H A Dexec_machdep.c62 _Static_assert(sizeof(mcontext_t) == 880, "mcontext_t size incorrect");
66 static void get_fpcontext(struct thread *td, mcontext_t *mcp);
67 static void set_fpcontext(struct thread *td, mcontext_t *mcp);
437 get_mcontext(struct thread *td, mcontext_t *mcp, int clear_ret) in get_mcontext()
461 set_mcontext(struct thread *td, mcontext_t *mcp) in set_mcontext()
581 get_fpcontext(struct thread *td, mcontext_t *mcp) in get_fpcontext()
611 set_fpcontext(struct thread *td, mcontext_t *mcp) in set_fpcontext()
/freebsd/sys/x86/include/
H A Ducontext.h92 } mcontext_t; typedef
162 } mcontext_t; typedef
/freebsd/lib/libthread_db/arch/arm/
H A Dlibpthread_md.c38 mcontext_t *mc = &uc->uc_mcontext; in pt_reg_to_ucontext()
63 const mcontext_t *mc = &uc->uc_mcontext; in pt_ucontext_to_reg()
/freebsd/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/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/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/sys/arm/arm/
H A Dexec_machdep.c69 _Static_assert(sizeof(mcontext_t) == 208, "mcontext_t size incorrect");
170 get_mcontext(struct thread *td, mcontext_t *mcp, int clear_ret) in get_mcontext()
212 set_mcontext(struct thread *td, mcontext_t *mcp) in set_mcontext()
/freebsd/sys/riscv/include/
H A Ducontext.h66 typedef struct __mcontext mcontext_t; typedef
/freebsd/sys/arm/include/
H A Ducontext.h84 } mcontext_t; typedef
/freebsd/sys/powerpc/include/
H A Ducontext.h51 } mcontext_t __aligned(16);
/freebsd/sys/arm64/include/
H A Ducontext.h85 typedef struct __mcontext mcontext_t; typedef
/freebsd/lib/libc/powerpc/gen/
H A Dmakecontext.c60 mcontext_t *mc; in __makecontext()
/freebsd/lib/libc/i386/gen/
H A Dmakecontext.c89 else if (ucp->uc_mcontext.mc_len == sizeof(mcontext_t)) { in __makecontext()
/freebsd/lib/libc/powerpc64/gen/
H A Dmakecontext.c60 mcontext_t *mc; in __makecontext()
/freebsd/sys/amd64/amd64/
H A Dexec_machdep.c95 _Static_assert(sizeof(mcontext_t) == 800, "mcontext_t size incorrect");
588 get_mcontext(struct thread *td, mcontext_t *mcp, int flags) in get_mcontext()
647 set_mcontext(struct thread *td, mcontext_t *mcp) in set_mcontext()
714 get_fpcontext(struct thread *td, mcontext_t *mcp, char **xfpusave, in get_fpcontext()
735 set_fpcontext(struct thread *td, mcontext_t *mcp, char *xfpustate, in set_fpcontext()
/freebsd/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/sys/i386/i386/
H A Dexec_machdep.c101 static void get_fpcontext(struct thread *td, mcontext_t *mcp,
103 static int set_fpcontext(struct thread *td, mcontext_t *mcp,
114 _Static_assert(sizeof(mcontext_t) == 640, "mcontext_t size incorrect");
1108 get_mcontext(struct thread *td, mcontext_t *mcp, int flags) in get_mcontext()
1161 set_mcontext(struct thread *td, mcontext_t *mcp) in set_mcontext()
1206 get_fpcontext(struct thread *td, mcontext_t *mcp, char *xfpusave, in get_fpcontext()
1229 set_fpcontext(struct thread *td, mcontext_t *mcp, char *xfpustate, in set_fpcontext()
/freebsd/tools/test/vm86/
H A Dvm86_test.c55 mcontext_t *mc; in sig_handler()
/freebsd/tools/test/stress2/misc/
H A Dldt.sh302 mcontext_t *mc;

12