Lines Matching refs:lbt_ctx
622 struct lbt_context __user *lbt_ctx = in protected_save_lbt_context() local
624 uint64_t __user *regs = (uint64_t *)&lbt_ctx->regs; in protected_save_lbt_context()
625 uint32_t __user *eflags = (uint32_t *)&lbt_ctx->eflags; in protected_save_lbt_context()
630 err |= save_hw_lbt_context(lbt_ctx); in protected_save_lbt_context()
632 err |= copy_lbt_to_sigcontext(lbt_ctx); in protected_save_lbt_context()
634 err |= save_hw_ftop_context(lbt_ctx); in protected_save_lbt_context()
636 err |= copy_ftop_to_sigcontext(lbt_ctx); in protected_save_lbt_context()
658 struct lbt_context __user *lbt_ctx = in protected_restore_lbt_context() local
660 uint64_t __user *regs = (uint64_t *)&lbt_ctx->regs; in protected_restore_lbt_context()
661 uint32_t __user *eflags = (uint32_t *)&lbt_ctx->eflags; in protected_restore_lbt_context()
666 err |= restore_hw_lbt_context(lbt_ctx); in protected_restore_lbt_context()
668 err |= copy_lbt_from_sigcontext(lbt_ctx); in protected_restore_lbt_context()
670 err |= restore_hw_ftop_context(lbt_ctx); in protected_restore_lbt_context()
672 err |= copy_ftop_from_sigcontext(lbt_ctx); in protected_restore_lbt_context()