Home
last modified time | relevance | path

Searched refs:fpu_kern_ctx (Results 1 – 10 of 10) sorted by relevance

/freebsd/sys/amd64/include/
H A Dfpu.h47 struct fpu_kern_ctx;
70 struct fpu_kern_ctx *fpu_kern_alloc_ctx(u_int flags);
71 struct fpu_kern_ctx *fpu_kern_alloc_ctx_domain(int domain, u_int flags);
72 void fpu_kern_free_ctx(struct fpu_kern_ctx *ctx);
73 void fpu_kern_enter(struct thread *td, struct fpu_kern_ctx *ctx,
75 int fpu_kern_leave(struct thread *td, struct fpu_kern_ctx *ctx);
/freebsd/sys/powerpc/include/
H A Dfpu.h90 struct fpu_kern_ctx;
92 struct fpu_kern_ctx *fpu_kern_alloc_ctx(u_int flags);
93 void fpu_kern_free_ctx(struct fpu_kern_ctx *ctx);
94 void fpu_kern_enter(struct thread *td, struct fpu_kern_ctx *ctx,
96 int fpu_kern_leave(struct thread *td, struct fpu_kern_ctx *ctx);
/freebsd/sys/i386/include/
H A Dnpx.h47 struct fpu_kern_ctx;
74 struct fpu_kern_ctx *fpu_kern_alloc_ctx(u_int flags);
75 void fpu_kern_free_ctx(struct fpu_kern_ctx *ctx);
76 void fpu_kern_enter(struct thread *td, struct fpu_kern_ctx *ctx,
78 int fpu_kern_leave(struct thread *td, struct fpu_kern_ctx *ctx);
/freebsd/sys/arm64/include/
H A Dvfp.h90 struct fpu_kern_ctx;
100 struct fpu_kern_ctx *fpu_kern_alloc_ctx(u_int);
101 void fpu_kern_free_ctx(struct fpu_kern_ctx *);
102 void fpu_kern_enter(struct thread *, struct fpu_kern_ctx *, u_int);
103 int fpu_kern_leave(struct thread *, struct fpu_kern_ctx *);
/freebsd/sys/arm/include/
H A Dvfp.h165 struct fpu_kern_ctx;
167 struct fpu_kern_ctx *fpu_kern_alloc_ctx(u_int);
168 void fpu_kern_free_ctx(struct fpu_kern_ctx *);
169 void fpu_kern_enter(struct thread *, struct fpu_kern_ctx *, u_int);
170 int fpu_kern_leave(struct thread *, struct fpu_kern_ctx *);
/freebsd/sys/arm/arm/
H A Dvfp.c58 struct fpu_kern_ctx { struct
420 struct fpu_kern_ctx *
423 return (malloc(sizeof(struct fpu_kern_ctx), M_FPUKERN_CTX, in fpu_kern_alloc_ctx()
428 fpu_kern_free_ctx(struct fpu_kern_ctx *ctx) in fpu_kern_free_ctx()
436 fpu_kern_enter(struct thread *td, struct fpu_kern_ctx *ctx, u_int flags) in fpu_kern_enter()
484 fpu_kern_leave(struct thread *td, struct fpu_kern_ctx *ctx) in fpu_kern_leave()
/freebsd/sys/amd64/amd64/
H A Dfpu.c1093 struct fpu_kern_ctx { struct
1102 return (sizeof(struct fpu_kern_ctx) + XSAVE_AREA_ALIGN + max_est); in fpu_kern_alloc_sz() argument
1111 struct fpu_kern_ctx *
1119 struct fpu_kern_ctx *
1127 fpu_kern_free_ctx(struct fpu_kern_ctx *ctx) in fpu_kern_free_ctx()
1136 fpu_kern_ctx_savefpu(struct fpu_kern_ctx *ctx) in fpu_kern_ctx_savefpu()
1146 fpu_kern_enter(struct thread *td, struct fpu_kern_ctx *ctx, u_int flags) in fpu_kern_enter()
1198 fpu_kern_leave(struct thread *td, struct fpu_kern_ctx *ctx) in fpu_kern_leave()
/freebsd/sys/arm64/arm64/
H A Dvfp.c56 struct fpu_kern_ctx { struct
1062 struct fpu_kern_ctx *
1065 struct fpu_kern_ctx *res; in fpu_kern_alloc_ctx()
1068 sz = sizeof(struct fpu_kern_ctx); in fpu_kern_alloc_ctx()
1075 fpu_kern_free_ctx(struct fpu_kern_ctx *ctx) in fpu_kern_free_ctx()
1084 fpu_kern_enter(struct thread *td, struct fpu_kern_ctx *ctx, u_int flags) in fpu_kern_enter()
1131 fpu_kern_leave(struct thread *td, struct fpu_kern_ctx *ctx) in fpu_kern_leave()
/freebsd/sys/powerpc/powerpc/
H A Dfpu.c303 struct fpu_kern_ctx { struct
310 fpu_kern_enter(struct thread *td, struct fpu_kern_ctx *ctx, u_int flags) in fpu_kern_enter() argument
346 fpu_kern_leave(struct thread *td, struct fpu_kern_ctx *ctx) in fpu_kern_leave()
/freebsd/sys/i386/i386/
H A Dnpx.c1367 struct fpu_kern_ctx { struct
1373 struct fpu_kern_ctx * argument
1376 struct fpu_kern_ctx *res; in fpu_kern_alloc_ctx()
1379 sz = sizeof(struct fpu_kern_ctx) + XSAVE_AREA_ALIGN + in fpu_kern_alloc_ctx()
1387 fpu_kern_free_ctx(struct fpu_kern_ctx *ctx) in fpu_kern_free_ctx()
1396 fpu_kern_ctx_savefpu(struct fpu_kern_ctx *ctx) in fpu_kern_ctx_savefpu()
1406 fpu_kern_enter(struct thread *td, struct fpu_kern_ctx *ctx, u_int flags) in fpu_kern_enter()
1458 fpu_kern_leave(struct thread *td, struct fpu_kern_ctx *ctx) in fpu_kern_leave()