Lines Matching refs:fpu_ctx
396 struct fpu_context __user *fpu_ctx = (struct fpu_context *)get_ctx_through_ctxinfo(info); in protected_save_fpu_context() local
397 uint64_t __user *regs = (uint64_t *)&fpu_ctx->regs; in protected_save_fpu_context()
398 uint64_t __user *fcc = &fpu_ctx->fcc; in protected_save_fpu_context()
399 uint32_t __user *fcsr = &fpu_ctx->fcsr; in protected_save_fpu_context()
404 err = save_hw_fpu_context(fpu_ctx); in protected_save_fpu_context()
406 err = copy_fpu_to_sigcontext(fpu_ctx); in protected_save_fpu_context()
430 struct fpu_context __user *fpu_ctx = (struct fpu_context *)get_ctx_through_ctxinfo(info); in protected_restore_fpu_context() local
431 uint64_t __user *regs = (uint64_t *)&fpu_ctx->regs; in protected_restore_fpu_context()
432 uint64_t __user *fcc = &fpu_ctx->fcc; in protected_restore_fpu_context()
433 uint32_t __user *fcsr = &fpu_ctx->fcsr; in protected_restore_fpu_context()
442 err = restore_hw_fpu_context(fpu_ctx); in protected_restore_fpu_context()
444 err = copy_fpu_from_sigcontext(fpu_ctx); in protected_restore_fpu_context()