/freebsd/lib/libthread_db/arch/powerpc/ |
H A D | libpthread_md.c | 38 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 D | libpthread_md.c | 44 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 D | exec_machdep.c | 71 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 D | ucontext.h | 71 int get_mcontext(struct thread *, mcontext_t *, int); 72 int set_mcontext(struct thread *, mcontext_t *);
|
H A D | _ucontext.h | 44 mcontext_t uc_mcontext;
|
/freebsd/sys/arm64/arm64/ |
H A D | exec_machdep.c | 62 _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 D | ucontext.h | 92 } mcontext_t; typedef 162 } mcontext_t; typedef
|
/freebsd/lib/libthread_db/arch/arm/ |
H A D | libpthread_md.c | 38 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 D | libpthread_md.c | 41 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 D | exec_machdep.c | 126 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 D | linux_sysvec.c | 74 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 D | exec_machdep.c | 69 _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 D | ucontext.h | 66 typedef struct __mcontext mcontext_t; typedef
|
/freebsd/sys/arm/include/ |
H A D | ucontext.h | 84 } mcontext_t; typedef
|
/freebsd/sys/powerpc/include/ |
H A D | ucontext.h | 51 } mcontext_t __aligned(16);
|
/freebsd/sys/arm64/include/ |
H A D | ucontext.h | 85 typedef struct __mcontext mcontext_t; typedef
|
/freebsd/lib/libc/powerpc/gen/ |
H A D | makecontext.c | 60 mcontext_t *mc; in __makecontext()
|
/freebsd/lib/libc/i386/gen/ |
H A D | makecontext.c | 89 else if (ucp->uc_mcontext.mc_len == sizeof(mcontext_t)) { in __makecontext()
|
/freebsd/lib/libc/powerpc64/gen/ |
H A D | makecontext.c | 60 mcontext_t *mc; in __makecontext()
|
/freebsd/sys/amd64/amd64/ |
H A D | exec_machdep.c | 95 _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 D | makecontext.c | 51 if ((ucp == NULL) || (ucp->uc_mcontext.mc_len != sizeof(mcontext_t))) in __makecontext()
|
H A D | signalcontext.c | 83 ucp->uc_mcontext.mc_len = sizeof(mcontext_t); in __signalcontext()
|
/freebsd/sys/i386/i386/ |
H A D | exec_machdep.c | 101 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 D | vm86_test.c | 55 mcontext_t *mc; in sig_handler()
|
/freebsd/tools/test/stress2/misc/ |
H A D | ldt.sh | 302 mcontext_t *mc;
|