Searched refs:fpu_kern_ctx (Results 1 – 10 of 10) sorted by relevance
/freebsd/sys/amd64/include/ |
H A D | fpu.h | 47 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 D | fpu.h | 90 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 D | npx.h | 47 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 D | vfp.h | 90 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 D | vfp.h | 165 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 D | vfp.c | 58 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 D | fpu.c | 1093 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 D | vfp.c | 56 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 D | fpu.c | 303 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 D | npx.c | 1367 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()
|