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.c444 struct lsx_context __user *lsx_ctx = (struct lsx_context *)get_ctx_through_ctxinfo(info); in protected_save_lsx_context() local
445 uint64_t __user *regs = (uint64_t *)&lsx_ctx->regs; in protected_save_lsx_context()
446 uint64_t __user *fcc = &lsx_ctx->fcc; in protected_save_lsx_context()
447 uint32_t __user *fcsr = &lsx_ctx->fcsr; in protected_save_lsx_context()
452 err = save_hw_lsx_context(lsx_ctx); in protected_save_lsx_context()
456 err = copy_lsx_to_sigcontext(lsx_ctx); in protected_save_lsx_context()
481 struct lsx_context __user *lsx_ctx = (struct lsx_context *)get_ctx_through_ctxinfo(info); in protected_restore_lsx_context() local
482 uint64_t __user *regs = (uint64_t *)&lsx_ctx->regs; in protected_restore_lsx_context()
483 uint64_t __user *fcc = &lsx_ctx->fcc; in protected_restore_lsx_context()
484 uint32_t __user *fcsr = &lsx_ctx->fcsr; in protected_restore_lsx_context()
[all …]