Searched refs:pv_cpu_ops (Results 1 – 10 of 10) sorted by relevance
/arch/x86/kernel/ |
D | paravirt_patch_64.c | 12 DEF_NATIVE(pv_cpu_ops, clts, "clts"); 13 DEF_NATIVE(pv_cpu_ops, wbinvd, "wbinvd"); 15 DEF_NATIVE(pv_cpu_ops, usergs_sysret64, "swapgs; sysretq"); 16 DEF_NATIVE(pv_cpu_ops, usergs_sysret32, "swapgs; sysretl"); 17 DEF_NATIVE(pv_cpu_ops, swapgs, "swapgs"); 56 PATCH_SITE(pv_cpu_ops, usergs_sysret32); in native_patch() 57 PATCH_SITE(pv_cpu_ops, usergs_sysret64); in native_patch() 58 PATCH_SITE(pv_cpu_ops, swapgs); in native_patch() 62 PATCH_SITE(pv_cpu_ops, clts); in native_patch() 63 PATCH_SITE(pv_cpu_ops, wbinvd); in native_patch()
|
D | paravirt_patch_32.c | 7 DEF_NATIVE(pv_cpu_ops, iret, "iret"); 11 DEF_NATIVE(pv_cpu_ops, clts, "clts"); 47 PATCH_SITE(pv_cpu_ops, iret); in native_patch() 51 PATCH_SITE(pv_cpu_ops, clts); in native_patch()
|
D | paravirt.c | 140 .pv_cpu_ops = pv_cpu_ops, in get_call_destination() 170 else if (type == PARAVIRT_PATCH(pv_cpu_ops.iret) || in paravirt_patch_default() 171 type == PARAVIRT_PATCH(pv_cpu_ops.usergs_sysret32) || in paravirt_patch_default() 172 type == PARAVIRT_PATCH(pv_cpu_ops.usergs_sysret64)) in paravirt_patch_default() 347 __visible struct pv_cpu_ops pv_cpu_ops = { variable 492 EXPORT_SYMBOL (pv_cpu_ops);
|
D | asm-offsets_64.c | 26 OFFSET(PV_CPU_usergs_sysret32, pv_cpu_ops, usergs_sysret32); in main() 27 OFFSET(PV_CPU_usergs_sysret64, pv_cpu_ops, usergs_sysret64); in main() 28 OFFSET(PV_CPU_swapgs, pv_cpu_ops, swapgs); in main()
|
D | asm-offsets.c | 63 OFFSET(PARAVIRT_PATCH_pv_cpu_ops, paravirt_patch_template, pv_cpu_ops); in common() 67 OFFSET(PV_CPU_iret, pv_cpu_ops, iret); in common() 68 OFFSET(PV_CPU_read_cr0, pv_cpu_ops, read_cr0); in common()
|
D | kvm.c | 298 pv_cpu_ops.io_delay = kvm_io_delay; in paravirt_ops_setup()
|
/arch/x86/include/asm/ |
D | paravirt.h | 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() [all …]
|
D | paravirt_types.h | 107 struct pv_cpu_ops { struct 351 struct pv_cpu_ops pv_cpu_ops; member 361 extern struct pv_cpu_ops pv_cpu_ops;
|
/arch/x86/lguest/ |
D | boot.c | 1435 pv_cpu_ops.load_gdt = lguest_load_gdt; in lguest_init() 1436 pv_cpu_ops.cpuid = lguest_cpuid; in lguest_init() 1437 pv_cpu_ops.load_idt = lguest_load_idt; in lguest_init() 1438 pv_cpu_ops.iret = lguest_iret; in lguest_init() 1439 pv_cpu_ops.load_sp0 = lguest_load_sp0; in lguest_init() 1440 pv_cpu_ops.load_tr_desc = lguest_load_tr_desc; in lguest_init() 1441 pv_cpu_ops.set_ldt = lguest_set_ldt; in lguest_init() 1442 pv_cpu_ops.load_tls = lguest_load_tls; in lguest_init() 1443 pv_cpu_ops.get_debugreg = lguest_get_debugreg; in lguest_init() 1444 pv_cpu_ops.set_debugreg = lguest_set_debugreg; in lguest_init() [all …]
|
/arch/x86/xen/ |
D | enlighten.c | 1217 static const struct pv_cpu_ops xen_cpu_ops __initconst = { 1462 pv_cpu_ops.write_gdt_entry = xen_write_gdt_entry_boot; in xen_setup_gdt() 1463 pv_cpu_ops.load_gdt = xen_load_gdt_boot; in xen_setup_gdt() 1468 pv_cpu_ops.write_gdt_entry = xen_write_gdt_entry; in xen_setup_gdt() 1469 pv_cpu_ops.load_gdt = xen_load_gdt; in xen_setup_gdt() 1553 pv_cpu_ops = xen_cpu_ops; in xen_start_kernel()
|