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");
53 PATCH_SITE(pv_cpu_ops, iret); in native_patch()
54 PATCH_SITE(pv_cpu_ops, irq_enable_sysexit); in native_patch()
55 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");
43 PATCH_SITE(pv_cpu_ops, iret); in native_patch()
44 PATCH_SITE(pv_cpu_ops, irq_enable_sysexit); in native_patch()
48 PATCH_SITE(pv_cpu_ops, clts); in native_patch()
49 PATCH_SITE(pv_cpu_ops, read_tsc); in native_patch()
Dasm-offsets.c48 OFFSET(PARAVIRT_PATCH_pv_cpu_ops, paravirt_patch_template, pv_cpu_ops); in common()
52 OFFSET(PV_CPU_iret, pv_cpu_ops, iret); in common()
53 OFFSET(PV_CPU_irq_enable_sysexit, pv_cpu_ops, irq_enable_sysexit); in common()
54 OFFSET(PV_CPU_read_cr0, pv_cpu_ops, read_cr0); in common()
Dparavirt.c130 .pv_cpu_ops = pv_cpu_ops, in get_call_destination()
160 else if (type == PARAVIRT_PATCH(pv_cpu_ops.iret) || in paravirt_patch_default()
161 type == PARAVIRT_PATCH(pv_cpu_ops.irq_enable_sysexit) || in paravirt_patch_default()
162 type == PARAVIRT_PATCH(pv_cpu_ops.usergs_sysret32) || in paravirt_patch_default()
163 type == PARAVIRT_PATCH(pv_cpu_ops.usergs_sysret64)) in paravirt_patch_default()
339 struct pv_cpu_ops pv_cpu_ops = { variable
487 EXPORT_SYMBOL (pv_cpu_ops);
Dasm-offsets_64.c22 OFFSET(PV_CPU_usergs_sysret32, pv_cpu_ops, usergs_sysret32); in main()
23 OFFSET(PV_CPU_usergs_sysret64, pv_cpu_ops, usergs_sysret64); in main()
24 OFFSET(PV_CPU_swapgs, pv_cpu_ops, swapgs); in main()
Dkvm.c264 pv_cpu_ops.io_delay = kvm_io_delay; in paravirt_ops_setup()
/arch/x86/include/asm/
Dparavirt.h25 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()
[all …]
Dparavirt_types.h103 struct pv_cpu_ops { struct
346 struct pv_cpu_ops pv_cpu_ops; member
356 extern struct pv_cpu_ops pv_cpu_ops;
/arch/x86/lguest/
Dboot.c1298 pv_cpu_ops.load_gdt = lguest_load_gdt; in lguest_init()
1299 pv_cpu_ops.cpuid = lguest_cpuid; in lguest_init()
1300 pv_cpu_ops.load_idt = lguest_load_idt; in lguest_init()
1301 pv_cpu_ops.iret = lguest_iret; in lguest_init()
1302 pv_cpu_ops.load_sp0 = lguest_load_sp0; in lguest_init()
1303 pv_cpu_ops.load_tr_desc = lguest_load_tr_desc; in lguest_init()
1304 pv_cpu_ops.set_ldt = lguest_set_ldt; in lguest_init()
1305 pv_cpu_ops.load_tls = lguest_load_tls; in lguest_init()
1306 pv_cpu_ops.set_debugreg = lguest_set_debugreg; in lguest_init()
1307 pv_cpu_ops.clts = lguest_clts; in lguest_init()
[all …]
/arch/ia64/include/asm/
Dparavirt_privop.h35 struct pv_cpu_ops { struct
54 extern struct pv_cpu_ops pv_cpu_ops; argument
64 #define paravirt_ssm_i() pv_cpu_ops.ssm_i()
65 #define paravirt_rsm_i() pv_cpu_ops.rsm_i()
66 #define __paravirt_getreg() pv_cpu_ops.getreg()
241 [op_addr] "i"(&pv_cpu_ops.op)
Dintrinsics.h103 # define IA64_INTRINSIC_API(name) pv_cpu_ops.name
/arch/x86/xen/
Denlighten.c1124 static const struct pv_cpu_ops xen_cpu_ops __initconst = {
1268 pv_cpu_ops.write_gdt_entry = xen_write_gdt_entry_boot; in xen_setup_stackprotector()
1269 pv_cpu_ops.load_gdt = xen_load_gdt_boot; in xen_setup_stackprotector()
1274 pv_cpu_ops.write_gdt_entry = xen_write_gdt_entry; in xen_setup_stackprotector()
1275 pv_cpu_ops.load_gdt = xen_load_gdt; in xen_setup_stackprotector()
1295 pv_cpu_ops = xen_cpu_ops; in xen_start_kernel()
/arch/ia64/kernel/
Dparavirt.c555 struct pv_cpu_ops pv_cpu_ops = { variable
572 EXPORT_SYMBOL(pv_cpu_ops);
/arch/ia64/xen/
Dxen_pv_ops.c790 static const struct pv_cpu_ops xen_cpu_ops __initconst = {
887 pv_cpu_ops = xen_cpu_ops; in xen_setup_pv_ops()