Home
last modified time | relevance | path

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

/Linux-v6.1/arch/loongarch/kernel/
Dsignal.c165 struct fpu_context __user *fpu_ctx = (struct fpu_context *)get_ctx_through_ctxinfo(info); in protected_save_fpu_context() local
166 uint64_t __user *regs = (uint64_t *)&fpu_ctx->regs; in protected_save_fpu_context()
167 uint64_t __user *fcc = &fpu_ctx->fcc; in protected_save_fpu_context()
168 uint32_t __user *fcsr = &fpu_ctx->fcsr; in protected_save_fpu_context()
173 err = save_hw_fpu_context(fpu_ctx); in protected_save_fpu_context()
175 err = copy_fpu_to_sigcontext(fpu_ctx); in protected_save_fpu_context()
199 struct fpu_context __user *fpu_ctx = (struct fpu_context *)get_ctx_through_ctxinfo(info); in protected_restore_fpu_context() local
200 uint64_t __user *regs = (uint64_t *)&fpu_ctx->regs; in protected_restore_fpu_context()
201 uint64_t __user *fcc = &fpu_ctx->fcc; in protected_restore_fpu_context()
202 uint32_t __user *fcsr = &fpu_ctx->fcsr; in protected_restore_fpu_context()
[all …]