| /freebsd-13-stable/sys/amd64/amd64/ |
| HD | exec_machdep.c | 230 char *xfpustate; in sys_sigreturn() local 288 xfpustate = (char *)fpu_save_area_alloc(); in sys_sigreturn() 290 xfpustate, xfpustate_len); in sys_sigreturn() 292 fpu_save_area_free((struct savefpu *)xfpustate); in sys_sigreturn() 299 xfpustate = NULL; in sys_sigreturn() 302 ret = set_fpcontext(td, &ucp->uc_mcontext, xfpustate, xfpustate_len); in sys_sigreturn() 303 fpu_save_area_free((struct savefpu *)xfpustate); in sys_sigreturn() 648 char *xfpustate; in set_mcontext() local 663 xfpustate = (char *)fpu_save_area_alloc(); in set_mcontext() 664 ret = copyin((void *)mcp->mc_xfpustate, xfpustate, in set_mcontext() [all …]
|
| HD | fpu.c | 956 fpusetxstate(struct thread *td, char *xfpustate, size_t xfpustate_size) in fpusetxstate() argument 963 if (xfpustate == NULL) in fpusetxstate() 975 ehdr = (struct xstate_hdr *)xfpustate; in fpusetxstate() 987 bcopy(xfpustate + sizeof(struct xstate_hdr), in fpusetxstate() 997 fpusetregs(struct thread *td, struct savefpu *addr, char *xfpustate, in fpusetregs() argument 1008 error = fpusetxstate(td, xfpustate, xfpustate_size); in fpusetregs() 1016 error = fpusetxstate(td, xfpustate, xfpustate_size); in fpusetregs()
|
| /freebsd-13-stable/sys/amd64/ia32/ |
| HD | ia32_signal.c | 121 char *xfpustate, size_t xfpustate_len) in ia32_set_fpcontext() argument 136 xfpustate, xfpustate_len); in ia32_set_fpcontext() 202 char *xfpustate; in ia32_set_mcontext() local 215 xfpustate = (char *)fpu_save_area_alloc(); in ia32_set_mcontext() 216 ret = copyin(PTRIN(mcp->mc_xfpustate), xfpustate, in ia32_set_mcontext() 219 fpu_save_area_free((struct savefpu *)xfpustate); in ia32_set_mcontext() 223 xfpustate = NULL; in ia32_set_mcontext() 224 ret = ia32_set_fpcontext(td, mcp, xfpustate, mcp->mc_xfpustate_len); in ia32_set_mcontext() 225 fpu_save_area_free((struct savefpu *)xfpustate); in ia32_set_mcontext() 825 char *xfpustate; in freebsd32_sigreturn() local [all …]
|
| /freebsd-13-stable/sys/i386/include/ |
| HD | npx.h | 64 char *xfpustate, size_t xfpustate_size); 65 int npxsetxstate(struct thread *td, char *xfpustate,
|
| /freebsd-13-stable/sys/amd64/include/ |
| HD | fpu.h | 65 char *xfpustate, size_t xfpustate_size); 66 int fpusetxstate(struct thread *td, char *xfpustate,
|
| HD | md_var.h | 94 char *xfpustate, size_t xfpustate_len);
|
| /freebsd-13-stable/sys/i386/i386/ |
| HD | exec_machdep.c | 106 char *xfpustate, size_t xfpustate_len); 757 char *xfpustate; in sys_sigreturn() local 852 xfpustate = __builtin_alloca(xfpustate_len); in sys_sigreturn() 855 xfpustate, xfpustate_len); in sys_sigreturn() 863 xfpustate = NULL; in sys_sigreturn() 866 ret = set_fpcontext(td, &ucp->uc_mcontext, xfpustate, in sys_sigreturn() 1162 char *xfpustate; in set_mcontext() local 1175 xfpustate = __builtin_alloca(mcp->mc_xfpustate_len); in set_mcontext() 1176 ret = copyin((void *)mcp->mc_xfpustate, xfpustate, in set_mcontext() 1181 xfpustate = NULL; in set_mcontext() [all …]
|
| HD | npx.c | 1093 npxsetxstate(struct thread *td, char *xfpustate, size_t xfpustate_size) in npxsetxstate() argument 1100 if (xfpustate == NULL) in npxsetxstate() 1112 ehdr = (struct xstate_hdr *)xfpustate; in npxsetxstate() 1124 bcopy(xfpustate + sizeof(struct xstate_hdr), in npxsetxstate() 1131 npxsetregs(struct thread *td, union savefpu *addr, char *xfpustate, in npxsetregs() argument 1146 error = npxsetxstate(td, xfpustate, xfpustate_size); in npxsetregs() 1155 error = npxsetxstate(td, xfpustate, xfpustate_size); in npxsetregs()
|
| /freebsd-13-stable/sys/amd64/linux/ |
| HD | linux_sysvec.c | 299 char *xfpustate; in linux_xrstor() local 315 xfpustate = (char *)fpu_save_area_alloc(); in linux_xrstor() 316 error = copyin(PTRIN(sc->sc_fpstate), xfpustate, mcp->mc_xfpustate_len); in linux_xrstor() 318 fpu_save_area_free((struct savefpu *)xfpustate); in linux_xrstor() 328 fpu_save_area_free((struct savefpu *)xfpustate); in linux_xrstor() 334 error = set_fpcontext(td, mcp, xfpustate, mcp->mc_xfpustate_len); in linux_xrstor() 335 fpu_save_area_free((struct savefpu *)xfpustate); in linux_xrstor()
|