Home
last modified time | relevance | path

Searched refs:pv_cpu_ops (Results 1 – 14 of 14) sorted by relevance

/arch/x86/kernel/
Dparavirt_patch_64.c9 DEF_NATIVE(pv_cpu_ops, iret, "iretq");
14 DEF_NATIVE(pv_cpu_ops, clts, "clts");
15 DEF_NATIVE(pv_cpu_ops, wbinvd, "wbinvd");
17 DEF_NATIVE(pv_cpu_ops, irq_enable_sysexit, "swapgs; sti; sysexit");
18 DEF_NATIVE(pv_cpu_ops, usergs_sysret64, "swapgs; sysretq");
19 DEF_NATIVE(pv_cpu_ops, usergs_sysret32, "swapgs; sysretl");
20 DEF_NATIVE(pv_cpu_ops, swapgs, "swapgs");
38 PATCH_SITE(pv_cpu_ops, iret); in native_patch()
39 PATCH_SITE(pv_cpu_ops, irq_enable_sysexit); in native_patch()
40 PATCH_SITE(pv_cpu_ops, usergs_sysret32); in native_patch()
[all …]
Dparavirt_patch_32.c7 DEF_NATIVE(pv_cpu_ops, iret, "iret");
8 DEF_NATIVE(pv_cpu_ops, irq_enable_sysexit, "sti; sysexit");
12 DEF_NATIVE(pv_cpu_ops, clts, "clts");
13 DEF_NATIVE(pv_cpu_ops, read_tsc, "rdtsc");
31 PATCH_SITE(pv_cpu_ops, iret); in native_patch()
32 PATCH_SITE(pv_cpu_ops, irq_enable_sysexit); in native_patch()
36 PATCH_SITE(pv_cpu_ops, clts); in native_patch()
37 PATCH_SITE(pv_cpu_ops, read_tsc); in native_patch()
Dvmi_32.c153 case PARAVIRT_PATCH(pv_cpu_ops.iret): in vmi_patch()
155 case PARAVIRT_PATCH(pv_cpu_ops.irq_enable_sysexit): in vmi_patch()
670 para_wrap(pv_cpu_ops.cpuid, vmi_cpuid, cpuid, CPUID); in activate_vmi()
672 para_fill(pv_cpu_ops.clts, CLTS); in activate_vmi()
673 para_fill(pv_cpu_ops.get_debugreg, GetDR); in activate_vmi()
674 para_fill(pv_cpu_ops.set_debugreg, SetDR); in activate_vmi()
675 para_fill(pv_cpu_ops.read_cr0, GetCR0); in activate_vmi()
678 para_fill(pv_cpu_ops.read_cr4, GetCR4); in activate_vmi()
679 para_fill(pv_cpu_ops.write_cr0, SetCR0); in activate_vmi()
682 para_fill(pv_cpu_ops.write_cr4, SetCR4); in activate_vmi()
[all …]
Dasm-offsets_64.c64 OFFSET(PARAVIRT_PATCH_pv_cpu_ops, paravirt_patch_template, pv_cpu_ops); in main()
69 OFFSET(PV_CPU_iret, pv_cpu_ops, iret); in main()
70 OFFSET(PV_CPU_usergs_sysret32, pv_cpu_ops, usergs_sysret32); in main()
71 OFFSET(PV_CPU_usergs_sysret64, pv_cpu_ops, usergs_sysret64); in main()
72 OFFSET(PV_CPU_irq_enable_sysexit, pv_cpu_ops, irq_enable_sysexit); in main()
73 OFFSET(PV_CPU_swapgs, pv_cpu_ops, swapgs); in main()
Dparavirt.c123 .pv_cpu_ops = pv_cpu_ops, in get_call_destination()
144 else if (type == PARAVIRT_PATCH(pv_cpu_ops.iret) || in paravirt_patch_default()
145 type == PARAVIRT_PATCH(pv_cpu_ops.irq_enable_sysexit) || in paravirt_patch_default()
146 type == PARAVIRT_PATCH(pv_cpu_ops.usergs_sysret32) || in paravirt_patch_default()
147 type == PARAVIRT_PATCH(pv_cpu_ops.usergs_sysret64)) in paravirt_patch_default()
332 struct pv_cpu_ops pv_cpu_ops = { variable
483 EXPORT_SYMBOL (pv_cpu_ops);
Dasm-offsets_32.c109 OFFSET(PARAVIRT_PATCH_pv_cpu_ops, paravirt_patch_template, pv_cpu_ops); in foo()
113 OFFSET(PV_CPU_iret, pv_cpu_ops, iret); in foo()
114 OFFSET(PV_CPU_irq_enable_sysexit, pv_cpu_ops, irq_enable_sysexit); in foo()
115 OFFSET(PV_CPU_read_cr0, pv_cpu_ops, read_cr0); in foo()
Dkvm.c214 pv_cpu_ops.io_delay = kvm_io_delay; in paravirt_ops_setup()
/arch/ia64/include/asm/
Dparavirt_privop.h35 struct pv_cpu_ops { struct
54 extern struct pv_cpu_ops pv_cpu_ops; argument
68 pv_cpu_ops.ssm_i(); \
76 pv_cpu_ops.rsm_i(); \
89 res = pv_cpu_ops.getreg(reg); \
Dintrinsics.h204 #define IA64_INTRINSIC_API(name) pv_cpu_ops.name
/arch/x86/include/asm/
Dparavirt.h90 struct pv_cpu_ops { struct
342 struct pv_cpu_ops pv_cpu_ops; member
352 extern struct pv_cpu_ops pv_cpu_ops;
607 PVOP_VCALL2(pv_cpu_ops.load_sp0, tss, thread); in load_sp0()
630 PVOP_VCALL4(pv_cpu_ops.cpuid, eax, ebx, ecx, edx); in __cpuid()
638 return PVOP_CALL1(unsigned long, pv_cpu_ops.get_debugreg, reg); in paravirt_get_debugreg()
643 PVOP_VCALL2(pv_cpu_ops.set_debugreg, reg, val); in set_debugreg()
648 PVOP_VCALL0(pv_cpu_ops.clts); in clts()
653 return PVOP_CALL0(unsigned long, pv_cpu_ops.read_cr0); in read_cr0()
658 PVOP_VCALL1(pv_cpu_ops.write_cr0, x); in write_cr0()
[all …]
/arch/x86/lguest/
Dboot.c1005 pv_cpu_ops.load_gdt = lguest_load_gdt; in lguest_init()
1006 pv_cpu_ops.cpuid = lguest_cpuid; in lguest_init()
1007 pv_cpu_ops.load_idt = lguest_load_idt; in lguest_init()
1008 pv_cpu_ops.iret = lguest_iret; in lguest_init()
1009 pv_cpu_ops.load_sp0 = lguest_load_sp0; in lguest_init()
1010 pv_cpu_ops.load_tr_desc = lguest_load_tr_desc; in lguest_init()
1011 pv_cpu_ops.set_ldt = lguest_set_ldt; in lguest_init()
1012 pv_cpu_ops.load_tls = lguest_load_tls; in lguest_init()
1013 pv_cpu_ops.set_debugreg = lguest_set_debugreg; in lguest_init()
1014 pv_cpu_ops.clts = lguest_clts; in lguest_init()
[all …]
/arch/ia64/kernel/
Dparavirt.c278 struct pv_cpu_ops pv_cpu_ops = { variable
295 EXPORT_SYMBOL(pv_cpu_ops);
/arch/ia64/xen/
Dxen_pv_ops.c263 static const struct pv_cpu_ops xen_cpu_ops __initdata = {
358 pv_cpu_ops = xen_cpu_ops; in xen_setup_pv_ops()
/arch/x86/xen/
Denlighten.c1204 static const struct pv_cpu_ops xen_cpu_ops __initdata = {
1632 pv_cpu_ops = xen_cpu_ops; in xen_start_kernel()