Home
last modified time | relevance | path

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

/freebsd-14-stable/sys/amd64/include/
HDfpu.h49 struct fpu_kern_ctx;
72 struct fpu_kern_ctx *fpu_kern_alloc_ctx(u_int flags);
73 struct fpu_kern_ctx *fpu_kern_alloc_ctx_domain(int domain, u_int flags);
74 void fpu_kern_free_ctx(struct fpu_kern_ctx *ctx);
75 void fpu_kern_enter(struct thread *td, struct fpu_kern_ctx *ctx,
77 int fpu_kern_leave(struct thread *td, struct fpu_kern_ctx *ctx);
/freebsd-14-stable/sys/powerpc/include/
HDfpu.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-14-stable/sys/i386/include/
HDnpx.h49 struct fpu_kern_ctx;
76 struct fpu_kern_ctx *fpu_kern_alloc_ctx(u_int flags);
77 void fpu_kern_free_ctx(struct fpu_kern_ctx *ctx);
78 void fpu_kern_enter(struct thread *td, struct fpu_kern_ctx *ctx,
80 int fpu_kern_leave(struct thread *td, struct fpu_kern_ctx *ctx);
/freebsd-14-stable/sys/arm64/include/
HDvfp.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-14-stable/sys/arm/include/
HDvfp.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-14-stable/sys/arm/arm/
HDvfp.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-14-stable/sys/amd64/amd64/
HDfpu.c1092 struct fpu_kern_ctx { struct
1101 return (sizeof(struct fpu_kern_ctx) + XSAVE_AREA_ALIGN + max_est); in fpu_kern_alloc_sz() argument
1110 struct fpu_kern_ctx *
1118 struct fpu_kern_ctx *
1126 fpu_kern_free_ctx(struct fpu_kern_ctx *ctx) in fpu_kern_free_ctx()
1135 fpu_kern_ctx_savefpu(struct fpu_kern_ctx *ctx) in fpu_kern_ctx_savefpu()
1145 fpu_kern_enter(struct thread *td, struct fpu_kern_ctx *ctx, u_int flags) in fpu_kern_enter()
1197 fpu_kern_leave(struct thread *td, struct fpu_kern_ctx *ctx) in fpu_kern_leave()
/freebsd-14-stable/sys/arm64/arm64/
HDvfp.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-14-stable/sys/powerpc/powerpc/
HDfpu.c304 struct fpu_kern_ctx { struct
311 fpu_kern_enter(struct thread *td, struct fpu_kern_ctx *ctx, u_int flags) in fpu_kern_enter() argument
347 fpu_kern_leave(struct thread *td, struct fpu_kern_ctx *ctx) in fpu_kern_leave()
/freebsd-14-stable/sys/i386/i386/
HDnpx.c1365 struct fpu_kern_ctx { struct
1371 struct fpu_kern_ctx * argument
1374 struct fpu_kern_ctx *res; in fpu_kern_alloc_ctx()
1377 sz = sizeof(struct fpu_kern_ctx) + XSAVE_AREA_ALIGN + in fpu_kern_alloc_ctx()
1385 fpu_kern_free_ctx(struct fpu_kern_ctx *ctx) in fpu_kern_free_ctx()
1394 fpu_kern_ctx_savefpu(struct fpu_kern_ctx *ctx) in fpu_kern_ctx_savefpu()
1404 fpu_kern_enter(struct thread *td, struct fpu_kern_ctx *ctx, u_int flags) in fpu_kern_enter()
1456 fpu_kern_leave(struct thread *td, struct fpu_kern_ctx *ctx) in fpu_kern_leave()