Lines Matching refs:svm_cpu
659 hma_svm_cpu_t *svm_cpu = hma_svm_cpu(CPU->cpu_seqid); in hma_svm_gif_disable() local
660 const uint_t old_gif = atomic_swap_uint(&svm_cpu->hsc_gif_disabled, 1); in hma_svm_gif_disable()
670 hma_svm_cpu_t *svm_cpu = hma_svm_cpu(CPU->cpu_seqid); in hma_svm_gif_enable() local
671 const uint_t old_gif = atomic_swap_uint(&svm_cpu->hsc_gif_disabled, 0); in hma_svm_gif_enable()
687 hma_svm_cpu_t *svm_cpu = hma_svm_cpu(CPU->cpu_seqid); in hma_svm_gif_is_disabled() local
695 return (svm_cpu->hsc_gif_disabled != 0); in hma_svm_gif_is_disabled()
717 hma_svm_cpu_t *svm_cpu = hma_svm_cpu(CPU->cpu_seqid); in hma_svm_cpc_enter() local
721 svm_cpu->hsc_cpc_saved_flags = HCF_DISABLED; in hma_svm_cpc_enter()
757 svm_cpu->hsc_cpc_host_regs[i].hc_evtsel = evtsel; in hma_svm_cpc_enter()
784 svm_cpu->hsc_cpc_host_regs[i].hc_evtsel; in hma_svm_cpc_enter()
795 svm_cpu->hsc_cpc_host_regs[i].hc_ctr = in hma_svm_cpc_enter()
819 svm_cpu->hsc_cpc_saved_flags = req_flags; in hma_svm_cpc_enter()
828 hma_svm_cpu_t *svm_cpu = hma_svm_cpu(CPU->cpu_seqid); in hma_svm_cpc_exit() local
830 const hma_cpc_flags_t saved_flags = svm_cpu->hsc_cpc_saved_flags; in hma_svm_cpc_exit()
849 const uint64_t evtsel = svm_cpu->hsc_cpc_host_regs[i].hc_evtsel; in hma_svm_cpc_exit()
856 svm_cpu->hsc_cpc_host_regs[i].hc_ctr); in hma_svm_cpc_exit()
866 svm_cpu->hsc_cpc_host_regs[i].hc_evtsel); in hma_svm_cpc_exit()
896 hma_svm_cpu_t *svm_cpu = hma_svm_cpu(id); in hma_svm_cpu_setup() local
924 if (svm_cpu->hsc_hsave_page == NULL) { in hma_svm_cpu_setup()
930 svm_cpu->hsc_hsave_page = va; in hma_svm_cpu_setup()
938 svm_cpu->hsc_hsave_pa = (pfn << PAGESHIFT); in hma_svm_cpu_setup()
940 VERIFY(svm_cpu->hsc_hsave_pa != 0); in hma_svm_cpu_setup()