Home
last modified time | relevance | path

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

/linux/arch/loongarch/kernel/
H A Dsignal.c440 struct lsx_context __user *lsx_ctx = (struct lsx_context *)get_ctx_through_ctxinfo(info); in protected_save_lsx_context() local
441 uint64_t __user *regs = (uint64_t *)&lsx_ctx->regs; in protected_save_lsx_context()
442 uint64_t __user *fcc = &lsx_ctx->fcc; in protected_save_lsx_context()
443 uint32_t __user *fcsr = &lsx_ctx->fcsr; in protected_save_lsx_context()
448 err = save_hw_lsx_context(lsx_ctx); in protected_save_lsx_context()
452 err = copy_lsx_to_sigcontext(lsx_ctx); in protected_save_lsx_context()
477 struct lsx_context __user *lsx_ctx = (struct lsx_context *)get_ctx_through_ctxinfo(info); in protected_restore_lsx_context() local
478 uint64_t __user *regs = (uint64_t *)&lsx_ctx->regs; in protected_restore_lsx_context()
479 uint64_t __user *fcc = &lsx_ctx->fcc; in protected_restore_lsx_context()
480 uint32_t __user *fcsr = &lsx_ctx->fcsr; in protected_restore_lsx_context()
[all …]