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);
456 offsetof(struct xstate_hdr, xstate_bv)); in fpuinitstate()
882 offsetof(struct xstate_hdr, xstate_bv)); in fpugetregs()
934 struct xstate_hdr *hdr, *ehdr; in fpusetxstate()
945 if (len < sizeof(struct xstate_hdr)) in fpusetxstate()
951 ehdr = (struct xstate_hdr *)xfpustate; in fpusetxstate()
960 hdr = (struct xstate_hdr *)(get_pcb_user_save_td(td) + 1); in fpusetxstate()
963 bcopy(xfpustate + sizeof(struct xstate_hdr), in fpusetxstate()
964 (char *)(hdr + 1), len - sizeof(struct xstate_hdr)); in fpusetxstate()
1368 offs = sizeof(struct savefpu) + sizeof(struct xstate_hdr); in xsave_area_offset()
/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 Dmachdep.c1381 struct xstate_hdr *xhdr; in init386()
1572 xhdr = (struct xstate_hdr *)(get_pcb_user_save_td(&thread0) + in init386()
/freebsd/sys/amd64/linux/
H A Dlinux_pkru.c51 struct xstate_hdr *hdr; in linux_pkru_write()
79 hdr = (struct xstate_hdr *)(sa + xsave_area_hdr_offset()); in linux_pkru_write()
/freebsd/sys/amd64/pt/
H A Dpt.c169 static __inline struct xstate_hdr *
172 return ((struct xstate_hdr *)(ctx->save_area + in pt_ctx_get_xstate_hdr()
431 struct xstate_hdr *hdr; in pt_backend_configure()