Home
last modified time | relevance | path

Searched refs:get_pcb_user_save_td (Results 1 – 19 of 19) sorted by relevance

/f-stack/freebsd/amd64/amd64/
H A Dptrace_machdep.c69 savefpu = (char *)(get_pcb_user_save_td(td) + 1); in cpu_ptrace_xstate()
115 savefpu = (char *)(get_pcb_user_save_td(td)); in cpu_ptrace_xstate()
173 error = copyout(get_pcb_user_save_td(td), addr, in cpu32_ptrace()
179 fpstate = get_pcb_user_save_td(td); in cpu32_ptrace()
H A Dvm_machdep.c98 get_pcb_user_save_td(struct thread *td) in get_pcb_user_save_td() function
121 return (get_pcb_user_save_td(td)); in get_pcb_user_save_pcb()
180 bcopy(get_pcb_user_save_td(td1), get_pcb_user_save_pcb(pcb2), in cpu_fork()
576 bcopy(get_pcb_user_save_td(td0), pcb2->pcb_save, in cpu_copy_thread()
H A Dfpu.c959 hdr = (struct xstate_hdr *)(get_pcb_user_save_td(td) + 1); in fpusetxstate()
985 bcopy(addr, get_pcb_user_save_td(td), sizeof(*addr)); in fpusetregs()
986 fpurestore(get_pcb_user_save_td(td)); in fpusetregs()
993 bcopy(addr, get_pcb_user_save_td(td), sizeof(*addr)); in fpusetregs()
H A Dmachdep.c1896 thread0.td_pcb->pcb_save = get_pcb_user_save_td(&thread0); in hammer_time()
1899 xhdr = (struct xstate_hdr *)(get_pcb_user_save_td(&thread0) + in hammer_time()
2251 fill_fpregs_xmm(get_pcb_user_save_td(td), fpregs); in fill_fpregs()
2261 set_fpregs_xmm(fpregs, get_pcb_user_save_td(td)); in set_fpregs()
2400 bcopy(get_pcb_user_save_td(td), &mcp->mc_fpstate[0], in get_fpcontext()
2413 bcopy(get_pcb_user_save_td(td) + 1, xfpusave, len); in get_fpcontext()
H A Delf_machdep.c240 get_pcb_user_save_td(td), dst, in elf64_dump_thread()
H A Dsys_machdep.c354 error = copyout((char *)(get_pcb_user_save_td(td) + 1), in sysarch()
H A Dtrap.c1173 KASSERT(td->td_pcb->pcb_save == get_pcb_user_save_td(td), in amd64_syscall()
/f-stack/freebsd/i386/i386/
H A Dptrace_machdep.c57 savefpu = (char *)(get_pcb_user_save_td(td) + 1); in cpu_ptrace_xstate()
88 savefpu = (char *)(get_pcb_user_save_td(td)); in cpu_ptrace_xstate()
124 fpstate = &get_pcb_user_save_td(td)->sv_xmm; in cpu_ptrace_xmm()
H A Dvm_machdep.c92 get_pcb_user_save_td(struct thread *td) in get_pcb_user_save_td() function
187 bcopy(get_pcb_user_save_td(td1), get_pcb_user_save_pcb(pcb2), in cpu_fork()
440 bcopy(get_pcb_user_save_td(td0), pcb2->pcb_save, in cpu_copy_thread()
H A Dnpx.c1108 hdr = (struct xstate_hdr *)(get_pcb_user_save_td(td) + 1); in npxsetxstate()
1137 bcopy(addr, get_pcb_user_save_td(td), sizeof(*addr)); in npxsetregs()
1138 fpurstor(get_pcb_user_save_td(td)); in npxsetregs()
1144 bcopy(addr, get_pcb_user_save_td(td), sizeof(*addr)); in npxsetregs()
1259 sv = get_pcb_user_save_td(td); in npx_get_fsave()
H A Delf_machdep.c148 get_pcb_user_save_td(td), dst, in elf32_dump_thread()
H A Dmachdep.c2482 thread0.td_pcb->pcb_save = get_pcb_user_save_td(&thread0); in init386()
2483 bzero(get_pcb_user_save_td(&thread0), cpu_max_ext_state_size); in init386()
2485 xhdr = (struct xstate_hdr *)(get_pcb_user_save_td(&thread0) + in init386()
2865 npx_fill_fpregs_xmm(&get_pcb_user_save_td(td)->sv_xmm, in fill_fpregs()
2868 bcopy(&get_pcb_user_save_td(td)->sv_87, fpregs, in fill_fpregs()
2880 &get_pcb_user_save_td(td)->sv_xmm); in set_fpregs()
2882 bcopy(fpregs, &get_pcb_user_save_td(td)->sv_87, in set_fpregs()
2997 bcopy(get_pcb_user_save_td(td), &mcp->mc_fpstate[0], in get_fpcontext()
3010 bcopy(get_pcb_user_save_td(td) + 1, xfpusave, len); in get_fpcontext()
H A Dsys_machdep.c270 error = copyout((char *)(get_pcb_user_save_td(td) + 1), in sysarch()
H A Dtrap.c1144 KASSERT(td->td_pcb->pcb_save == get_pcb_user_save_td(td), in syscall()
/f-stack/freebsd/amd64/ia32/
H A Dia32_reg.c158 sv_fpu = get_pcb_user_save_td(td); in fill_fpregs32()
220 struct savefpu *sv_fpu = get_pcb_user_save_td(td); in set_fpregs32()
H A Dia32_signal.c104 bcopy(get_pcb_user_save_td(td), &mcp->mc_fpstate[0], in ia32_get_fpcontext()
117 bcopy(get_pcb_user_save_td(td) + 1, xfpusave, len); in ia32_get_fpcontext()
/f-stack/freebsd/amd64/include/
H A Dmd_var.h89 struct savefpu *get_pcb_user_save_td(struct thread *td);
/f-stack/freebsd/i386/include/
H A Dmd_var.h81 union savefpu *get_pcb_user_save_td(struct thread *td);
/f-stack/freebsd/i386/linux/
H A Dlinux_ptrace.c222 bcopy(&get_pcb_user_save_td(td)->sv_xmm, fpxregs, sizeof(*fpxregs)); in linux_proc_read_fpxregs()
233 bcopy(fpxregs, &get_pcb_user_save_td(td)->sv_xmm, sizeof(*fpxregs)); in linux_proc_write_fpxregs()