Lines Matching refs:pv_cpu_ops
31 PVOP_VCALL2(pv_cpu_ops.load_sp0, tss, thread); in load_sp0()
38 PVOP_VCALL4(pv_cpu_ops.cpuid, eax, ebx, ecx, edx); in __cpuid()
46 return PVOP_CALL1(unsigned long, pv_cpu_ops.get_debugreg, reg); in paravirt_get_debugreg()
51 PVOP_VCALL2(pv_cpu_ops.set_debugreg, reg, val); in set_debugreg()
56 PVOP_VCALL0(pv_cpu_ops.clts); in clts()
61 return PVOP_CALL0(unsigned long, pv_cpu_ops.read_cr0); in read_cr0()
66 PVOP_VCALL1(pv_cpu_ops.write_cr0, x); in write_cr0()
91 return PVOP_CALL0(unsigned long, pv_cpu_ops.read_cr4); in __read_cr4()
95 return PVOP_CALL0(unsigned long, pv_cpu_ops.read_cr4_safe); in __read_cr4_safe()
100 PVOP_VCALL1(pv_cpu_ops.write_cr4, x); in __write_cr4()
106 return PVOP_CALL0(unsigned long, pv_cpu_ops.read_cr8); in read_cr8()
111 PVOP_VCALL1(pv_cpu_ops.write_cr8, x); in write_cr8()
127 PVOP_VCALL0(pv_cpu_ops.wbinvd); in wbinvd()
134 return PVOP_CALL2(u64, pv_cpu_ops.read_msr, msr, err); in paravirt_read_msr()
139 return PVOP_CALL3(int, pv_cpu_ops.write_msr, msr, low, high); in paravirt_write_msr()
203 return PVOP_CALL1(u64, pv_cpu_ops.read_pmc, counter); in paravirt_read_pmc()
217 PVOP_VCALL2(pv_cpu_ops.alloc_ldt, ldt, entries); in paravirt_alloc_ldt()
222 PVOP_VCALL2(pv_cpu_ops.free_ldt, ldt, entries); in paravirt_free_ldt()
227 PVOP_VCALL0(pv_cpu_ops.load_tr_desc); in load_TR_desc()
231 PVOP_VCALL1(pv_cpu_ops.load_gdt, dtr); in load_gdt()
235 PVOP_VCALL1(pv_cpu_ops.load_idt, dtr); in load_idt()
239 PVOP_VCALL2(pv_cpu_ops.set_ldt, addr, entries); in set_ldt()
243 PVOP_VCALL1(pv_cpu_ops.store_idt, dtr); in store_idt()
247 return PVOP_CALL0(unsigned long, pv_cpu_ops.store_tr); in paravirt_store_tr()
252 PVOP_VCALL2(pv_cpu_ops.load_tls, t, cpu); in load_TLS()
258 PVOP_VCALL1(pv_cpu_ops.load_gs_index, gs); in load_gs_index()
265 PVOP_VCALL3(pv_cpu_ops.write_ldt_entry, dt, entry, desc); in write_ldt_entry()
271 PVOP_VCALL4(pv_cpu_ops.write_gdt_entry, dt, entry, desc, type); in write_gdt_entry()
276 PVOP_VCALL3(pv_cpu_ops.write_idt_entry, dt, entry, g); in write_idt_entry()
280 PVOP_VCALL1(pv_cpu_ops.set_iopl_mask, mask); in set_iopl_mask()
286 pv_cpu_ops.io_delay(); in slow_down_io()
288 pv_cpu_ops.io_delay(); in slow_down_io()
289 pv_cpu_ops.io_delay(); in slow_down_io()
290 pv_cpu_ops.io_delay(); in slow_down_io()
659 PVOP_VCALL1(pv_cpu_ops.start_context_switch, prev); in arch_start_context_switch()
664 PVOP_VCALL1(pv_cpu_ops.end_context_switch, next); in arch_end_context_switch()
916 PARA_SITE(PARA_PATCH(pv_cpu_ops, PV_CPU_iret), CLBR_NONE, \
917 jmp PARA_INDIRECT(pv_cpu_ops+PV_CPU_iret))
932 PARA_SITE(PARA_PATCH(pv_cpu_ops, PV_CPU_usergs_sysret32), \
934 jmp PARA_INDIRECT(pv_cpu_ops+PV_CPU_usergs_sysret32))
939 call PARA_INDIRECT(pv_cpu_ops+PV_CPU_read_cr0); \
943 PARA_SITE(PARA_PATCH(pv_cpu_ops, PV_CPU_irq_enable_sysexit), \
945 jmp PARA_INDIRECT(pv_cpu_ops+PV_CPU_irq_enable_sysexit))
956 PARA_SITE(PARA_PATCH(pv_cpu_ops, PV_CPU_swapgs), CLBR_NONE, \
966 PARA_SITE(PARA_PATCH(pv_cpu_ops, PV_CPU_swapgs), CLBR_NONE, \
967 call PARA_INDIRECT(pv_cpu_ops+PV_CPU_swapgs) \
979 PARA_SITE(PARA_PATCH(pv_cpu_ops, PV_CPU_usergs_sysret64), \
981 jmp PARA_INDIRECT(pv_cpu_ops+PV_CPU_usergs_sysret64))