Home
last modified time | relevance | path

Searched refs:xstate_hdr (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/x86/include/
H A Dfpu.h140 struct xstate_hdr { struct
149 struct xstate_hdr sx_hd; argument
165 struct xstate_hdr sx_hd;
/freebsd/sys/amd64/amd64/
H A Dfpu.c143 CTASSERT(sizeof(struct xstate_hdr) == 64);
463 offsetof(struct xstate_hdr, xstate_bv)); in fpuinitstate()
889 offsetof(struct xstate_hdr, xstate_bv)); in fpugetregs()
941 struct xstate_hdr *hdr, *ehdr; in fpusetxstate()
952 if (len < sizeof(struct xstate_hdr)) in fpusetxstate()
958 ehdr = (struct xstate_hdr *)xfpustate; in fpusetxstate()
967 hdr = (struct xstate_hdr *)(get_pcb_user_save_td(td) + 1); in fpusetxstate()
970 bcopy(xfpustate + sizeof(struct xstate_hdr), in fpusetxstate()
971 (char *)(hdr + 1), len - sizeof(struct xstate_hdr)); in fpusetxstate()
1375 offs = sizeof(struct savefpu) + sizeof(struct xstate_hdr); in xsave_area_offset()
H A Dvm_machdep.c381 struct xstate_hdr *xhdr; in cpu_thread_alloc()
389 xhdr = (struct xstate_hdr *)(pcb->pcb_save + 1); in cpu_thread_alloc()
/freebsd/sys/i386/i386/
H A Dnpx.c140 CTASSERT(sizeof(struct xstate_hdr) == 64);
500 offsetof(struct xstate_hdr, xstate_bv)); in npxinitstate()
1016 offsetof(struct xstate_hdr, xstate_bv)); in npxgetregs()
1069 struct xstate_hdr *hdr, *ehdr; in npxsetxstate()
1080 if (len < sizeof(struct xstate_hdr)) in npxsetxstate()
1086 ehdr = (struct xstate_hdr *)xfpustate; in npxsetxstate()
1095 hdr = (struct xstate_hdr *)(get_pcb_user_save_td(td) + 1); in npxsetxstate()
1098 bcopy(xfpustate + sizeof(struct xstate_hdr), in npxsetxstate()
1099 (char *)(hdr + 1), len - sizeof(struct xstate_hdr)); in npxsetxstate()
H A Dvm_machdep.c381 struct xstate_hdr *xhdr; in cpu_thread_alloc()
389 xhdr = (struct xstate_hdr *)(pcb->pcb_save + 1); in cpu_thread_alloc()
H A Dmachdep.c1386 struct xstate_hdr *xhdr; in init386()
1576 xhdr = (struct xstate_hdr *)(get_pcb_user_save_td(&thread0) + in init386()