| /freebsd-14.2/lib/libthread_db/arch/powerpc/ |
| H A D | libpthread_md.c | 39 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 D | libpthread_md.c | 41 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 D | libpthread_md.c | 45 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 D | exec_machdep.c | 72 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 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-14.2/sys/x86/include/ |
| H A D | ucontext.h | 92 } mcontext_t; typedef 162 } mcontext_t; typedef
|
| /freebsd-14.2/sys/arm64/arm64/ |
| H A D | exec_machdep.c | 63 _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 D | libpthread_md.c | 39 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 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-14.2/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-14.2/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-14.2/sys/riscv/include/ |
| H A D | ucontext.h | 66 typedef struct __mcontext mcontext_t; typedef
|
| /freebsd-14.2/sys/arm/arm/ |
| H A D | exec_machdep.c | 70 _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 D | ucontext.h | 84 } mcontext_t; typedef
|
| /freebsd-14.2/sys/powerpc/include/ |
| H A D | ucontext.h | 51 } mcontext_t __aligned(16);
|
| /freebsd-14.2/sys/arm64/include/ |
| H A D | ucontext.h | 85 typedef struct __mcontext mcontext_t; typedef
|
| /freebsd-14.2/lib/libc/powerpc/gen/ |
| H A D | makecontext.c | 60 mcontext_t *mc; in __makecontext()
|
| /freebsd-14.2/lib/libc/i386/gen/ |
| H A D | makecontext.c | 89 else if (ucp->uc_mcontext.mc_len == sizeof(mcontext_t)) { in __makecontext()
|
| /freebsd-14.2/lib/libc/powerpc64/gen/ |
| H A D | makecontext.c | 60 mcontext_t *mc; in __makecontext()
|
| /freebsd-14.2/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-14.2/tools/test/vm86/ |
| H A D | vm86_test.c | 55 mcontext_t *mc; in sig_handler()
|
| /freebsd-14.2/sys/amd64/amd64/ |
| H A D | exec_machdep.c | 97 _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 D | exec_machdep.c | 103 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()
|