• Home
  • Raw
  • Download

Lines Matching refs:pv_cpu_ops

25 	PVOP_VCALL2(pv_cpu_ops.load_sp0, tss, thread);  in load_sp0()
32 PVOP_VCALL4(pv_cpu_ops.cpuid, eax, ebx, ecx, edx); in __cpuid()
40 return PVOP_CALL1(unsigned long, pv_cpu_ops.get_debugreg, reg); in paravirt_get_debugreg()
45 PVOP_VCALL2(pv_cpu_ops.set_debugreg, reg, val); in set_debugreg()
50 PVOP_VCALL0(pv_cpu_ops.clts); in clts()
55 return PVOP_CALL0(unsigned long, pv_cpu_ops.read_cr0); in read_cr0()
60 PVOP_VCALL1(pv_cpu_ops.write_cr0, x); in write_cr0()
85 return PVOP_CALL0(unsigned long, pv_cpu_ops.read_cr4); in read_cr4()
89 return PVOP_CALL0(unsigned long, pv_cpu_ops.read_cr4_safe); in read_cr4_safe()
94 PVOP_VCALL1(pv_cpu_ops.write_cr4, x); in write_cr4()
100 return PVOP_CALL0(unsigned long, pv_cpu_ops.read_cr8); in read_cr8()
105 PVOP_VCALL1(pv_cpu_ops.write_cr8, x); in write_cr8()
121 PVOP_VCALL0(pv_cpu_ops.wbinvd); in wbinvd()
128 return PVOP_CALL2(u64, pv_cpu_ops.read_msr, msr, err); in paravirt_read_msr()
133 return PVOP_CALL1(int, pv_cpu_ops.rdmsr_regs, regs); in paravirt_rdmsr_regs()
138 return PVOP_CALL3(int, pv_cpu_ops.write_msr, msr, low, high); in paravirt_write_msr()
143 return PVOP_CALL1(int, pv_cpu_ops.wrmsr_regs, regs); in paravirt_wrmsr_regs()
218 return PVOP_CALL0(u64, pv_cpu_ops.read_tsc); in paravirt_read_tsc()
245 return PVOP_CALL1(u64, pv_cpu_ops.read_pmc, counter); in paravirt_read_pmc()
257 return PVOP_CALL1(u64, pv_cpu_ops.read_tscp, aux); in paravirt_rdtscp()
278 PVOP_VCALL2(pv_cpu_ops.alloc_ldt, ldt, entries); in paravirt_alloc_ldt()
283 PVOP_VCALL2(pv_cpu_ops.free_ldt, ldt, entries); in paravirt_free_ldt()
288 PVOP_VCALL0(pv_cpu_ops.load_tr_desc); in load_TR_desc()
292 PVOP_VCALL1(pv_cpu_ops.load_gdt, dtr); in load_gdt()
296 PVOP_VCALL1(pv_cpu_ops.load_idt, dtr); in load_idt()
300 PVOP_VCALL2(pv_cpu_ops.set_ldt, addr, entries); in set_ldt()
304 PVOP_VCALL1(pv_cpu_ops.store_gdt, dtr); in store_gdt()
308 PVOP_VCALL1(pv_cpu_ops.store_idt, dtr); in store_idt()
312 return PVOP_CALL0(unsigned long, pv_cpu_ops.store_tr); in paravirt_store_tr()
317 PVOP_VCALL2(pv_cpu_ops.load_tls, t, cpu); in load_TLS()
323 PVOP_VCALL1(pv_cpu_ops.load_gs_index, gs); in load_gs_index()
330 PVOP_VCALL3(pv_cpu_ops.write_ldt_entry, dt, entry, desc); in write_ldt_entry()
336 PVOP_VCALL4(pv_cpu_ops.write_gdt_entry, dt, entry, desc, type); in write_gdt_entry()
341 PVOP_VCALL3(pv_cpu_ops.write_idt_entry, dt, entry, g); in write_idt_entry()
345 PVOP_VCALL1(pv_cpu_ops.set_iopl_mask, mask); in set_iopl_mask()
351 pv_cpu_ops.io_delay(); in slow_down_io()
353 pv_cpu_ops.io_delay(); in slow_down_io()
354 pv_cpu_ops.io_delay(); in slow_down_io()
355 pv_cpu_ops.io_delay(); in slow_down_io()
725 PVOP_VCALL1(pv_cpu_ops.start_context_switch, prev); in arch_start_context_switch()
730 PVOP_VCALL1(pv_cpu_ops.end_context_switch, next); in arch_end_context_switch()
975 PARA_SITE(PARA_PATCH(pv_cpu_ops, PV_CPU_iret), CLBR_NONE, \
976 jmp PARA_INDIRECT(pv_cpu_ops+PV_CPU_iret))
991 PARA_SITE(PARA_PATCH(pv_cpu_ops, PV_CPU_usergs_sysret32), \
993 jmp PARA_INDIRECT(pv_cpu_ops+PV_CPU_usergs_sysret32))
998 call PARA_INDIRECT(pv_cpu_ops+PV_CPU_read_cr0); \
1002 PARA_SITE(PARA_PATCH(pv_cpu_ops, PV_CPU_irq_enable_sysexit), \
1004 jmp PARA_INDIRECT(pv_cpu_ops+PV_CPU_irq_enable_sysexit))
1015 PARA_SITE(PARA_PATCH(pv_cpu_ops, PV_CPU_swapgs), CLBR_NONE, \
1025 PARA_SITE(PARA_PATCH(pv_cpu_ops, PV_CPU_swapgs), CLBR_NONE, \
1026 call PARA_INDIRECT(pv_cpu_ops+PV_CPU_swapgs) \
1040 PARA_SITE(PARA_PATCH(pv_cpu_ops, PV_CPU_usergs_sysret64), \
1042 jmp PARA_INDIRECT(pv_cpu_ops+PV_CPU_usergs_sysret64))
1045 PARA_SITE(PARA_PATCH(pv_cpu_ops, PV_CPU_irq_enable_sysexit), \
1047 jmp PARA_INDIRECT(pv_cpu_ops+PV_CPU_irq_enable_sysexit))