/arch/x86/kernel/ |
D | paravirt_patch_64.c | 13 DEF_NATIVE(pv_cpu_ops, clts, "clts"); 14 DEF_NATIVE(pv_cpu_ops, wbinvd, "wbinvd"); 16 DEF_NATIVE(pv_cpu_ops, irq_enable_sysexit, "swapgs; sti; sysexit"); 17 DEF_NATIVE(pv_cpu_ops, usergs_sysret64, "swapgs; sysretq"); 18 DEF_NATIVE(pv_cpu_ops, usergs_sysret32, "swapgs; sysretl"); 19 DEF_NATIVE(pv_cpu_ops, swapgs, "swapgs"); 52 PATCH_SITE(pv_cpu_ops, irq_enable_sysexit); in native_patch() 53 PATCH_SITE(pv_cpu_ops, usergs_sysret32); in native_patch() 54 PATCH_SITE(pv_cpu_ops, usergs_sysret64); in native_patch() 55 PATCH_SITE(pv_cpu_ops, swapgs); in native_patch() [all …]
|
D | paravirt_patch_32.c | 7 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()
|
D | asm-offsets.c | 47 OFFSET(PARAVIRT_PATCH_pv_cpu_ops, paravirt_patch_template, pv_cpu_ops); in common() 51 OFFSET(PV_CPU_iret, pv_cpu_ops, iret); in common() 52 OFFSET(PV_CPU_irq_enable_sysexit, pv_cpu_ops, irq_enable_sysexit); in common() 53 OFFSET(PV_CPU_read_cr0, pv_cpu_ops, read_cr0); in common()
|
D | paravirt.c | 134 .pv_cpu_ops = pv_cpu_ops, in get_call_destination() 164 else if (type == PARAVIRT_PATCH(pv_cpu_ops.iret) || in paravirt_patch_default() 165 type == PARAVIRT_PATCH(pv_cpu_ops.irq_enable_sysexit) || in paravirt_patch_default() 166 type == PARAVIRT_PATCH(pv_cpu_ops.usergs_sysret32) || in paravirt_patch_default() 167 type == PARAVIRT_PATCH(pv_cpu_ops.usergs_sysret64)) in paravirt_patch_default() 343 __visible struct pv_cpu_ops pv_cpu_ops = { variable 493 EXPORT_SYMBOL (pv_cpu_ops);
|
D | asm-offsets_64.c | 22 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()
|
D | kvm.c | 298 pv_cpu_ops.io_delay = kvm_io_delay; in paravirt_ops_setup()
|
/arch/x86/include/asm/ |
D | paravirt.h | 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() [all …]
|
D | paravirt_types.h | 103 struct pv_cpu_ops { struct 347 struct pv_cpu_ops pv_cpu_ops; member 357 extern struct pv_cpu_ops pv_cpu_ops;
|
/arch/x86/lguest/ |
D | boot.c | 1304 pv_cpu_ops.load_gdt = lguest_load_gdt; in lguest_init() 1305 pv_cpu_ops.cpuid = lguest_cpuid; in lguest_init() 1306 pv_cpu_ops.load_idt = lguest_load_idt; in lguest_init() 1307 pv_cpu_ops.iret = lguest_iret; in lguest_init() 1308 pv_cpu_ops.load_sp0 = lguest_load_sp0; in lguest_init() 1309 pv_cpu_ops.load_tr_desc = lguest_load_tr_desc; in lguest_init() 1310 pv_cpu_ops.set_ldt = lguest_set_ldt; in lguest_init() 1311 pv_cpu_ops.load_tls = lguest_load_tls; in lguest_init() 1312 pv_cpu_ops.get_debugreg = lguest_get_debugreg; in lguest_init() 1313 pv_cpu_ops.set_debugreg = lguest_set_debugreg; in lguest_init() [all …]
|
/arch/ia64/include/asm/ |
D | paravirt_privop.h | 35 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)
|
D | intrinsics.h | 20 # define IA64_INTRINSIC_API(name) pv_cpu_ops.name
|
/arch/x86/xen/ |
D | enlighten.c | 1269 static const struct pv_cpu_ops xen_cpu_ops __initconst = { 1500 pv_cpu_ops.write_gdt_entry = xen_write_gdt_entry_boot; in xen_setup_gdt() 1501 pv_cpu_ops.load_gdt = xen_load_gdt_boot; in xen_setup_gdt() 1506 pv_cpu_ops.write_gdt_entry = xen_write_gdt_entry; in xen_setup_gdt() 1507 pv_cpu_ops.load_gdt = xen_load_gdt; in xen_setup_gdt() 1589 pv_cpu_ops = xen_cpu_ops; in xen_start_kernel()
|
/arch/ia64/kernel/ |
D | paravirt.c | 555 struct pv_cpu_ops pv_cpu_ops = { variable 572 EXPORT_SYMBOL(pv_cpu_ops);
|