pv_cpu_ops 109 arch/x86/kernel/asm-offsets_32.c OFFSET(PARAVIRT_PATCH_pv_cpu_ops, paravirt_patch_template, pv_cpu_ops); pv_cpu_ops 113 arch/x86/kernel/asm-offsets_32.c OFFSET(PV_CPU_iret, pv_cpu_ops, iret); pv_cpu_ops 114 arch/x86/kernel/asm-offsets_32.c OFFSET(PV_CPU_irq_enable_sysexit, pv_cpu_ops, irq_enable_sysexit); pv_cpu_ops 115 arch/x86/kernel/asm-offsets_32.c OFFSET(PV_CPU_read_cr0, pv_cpu_ops, read_cr0); pv_cpu_ops 62 arch/x86/kernel/asm-offsets_64.c OFFSET(PARAVIRT_PATCH_pv_cpu_ops, paravirt_patch_template, pv_cpu_ops); pv_cpu_ops 67 arch/x86/kernel/asm-offsets_64.c OFFSET(PV_CPU_iret, pv_cpu_ops, iret); pv_cpu_ops 68 arch/x86/kernel/asm-offsets_64.c OFFSET(PV_CPU_usergs_sysret32, pv_cpu_ops, usergs_sysret32); pv_cpu_ops 69 arch/x86/kernel/asm-offsets_64.c OFFSET(PV_CPU_usergs_sysret64, pv_cpu_ops, usergs_sysret64); pv_cpu_ops 70 arch/x86/kernel/asm-offsets_64.c OFFSET(PV_CPU_irq_enable_sysexit, pv_cpu_ops, irq_enable_sysexit); pv_cpu_ops 71 arch/x86/kernel/asm-offsets_64.c OFFSET(PV_CPU_swapgs, pv_cpu_ops, swapgs); pv_cpu_ops 214 arch/x86/kernel/kvm.c pv_cpu_ops.io_delay = kvm_io_delay; pv_cpu_ops 123 arch/x86/kernel/paravirt.c .pv_cpu_ops = pv_cpu_ops, pv_cpu_ops 144 arch/x86/kernel/paravirt.c else if (type == PARAVIRT_PATCH(pv_cpu_ops.iret) || pv_cpu_ops 145 arch/x86/kernel/paravirt.c type == PARAVIRT_PATCH(pv_cpu_ops.irq_enable_sysexit) || pv_cpu_ops 146 arch/x86/kernel/paravirt.c type == PARAVIRT_PATCH(pv_cpu_ops.usergs_sysret32) || pv_cpu_ops 147 arch/x86/kernel/paravirt.c type == PARAVIRT_PATCH(pv_cpu_ops.usergs_sysret64)) pv_cpu_ops 306 arch/x86/kernel/paravirt.c struct pv_cpu_ops pv_cpu_ops = { pv_cpu_ops 31 arch/x86/kernel/paravirt_patch_32.c PATCH_SITE(pv_cpu_ops, iret); pv_cpu_ops 32 arch/x86/kernel/paravirt_patch_32.c PATCH_SITE(pv_cpu_ops, irq_enable_sysexit); pv_cpu_ops 36 arch/x86/kernel/paravirt_patch_32.c PATCH_SITE(pv_cpu_ops, clts); pv_cpu_ops 37 arch/x86/kernel/paravirt_patch_32.c PATCH_SITE(pv_cpu_ops, read_tsc); pv_cpu_ops 38 arch/x86/kernel/paravirt_patch_64.c PATCH_SITE(pv_cpu_ops, iret); pv_cpu_ops 39 arch/x86/kernel/paravirt_patch_64.c PATCH_SITE(pv_cpu_ops, irq_enable_sysexit); pv_cpu_ops 40 arch/x86/kernel/paravirt_patch_64.c PATCH_SITE(pv_cpu_ops, usergs_sysret32); pv_cpu_ops 41 arch/x86/kernel/paravirt_patch_64.c PATCH_SITE(pv_cpu_ops, usergs_sysret64); pv_cpu_ops 42 arch/x86/kernel/paravirt_patch_64.c PATCH_SITE(pv_cpu_ops, swapgs); pv_cpu_ops 46 arch/x86/kernel/paravirt_patch_64.c PATCH_SITE(pv_cpu_ops, clts); pv_cpu_ops 48 arch/x86/kernel/paravirt_patch_64.c PATCH_SITE(pv_cpu_ops, wbinvd); pv_cpu_ops 153 arch/x86/kernel/vmi_32.c case PARAVIRT_PATCH(pv_cpu_ops.iret): pv_cpu_ops 155 arch/x86/kernel/vmi_32.c case PARAVIRT_PATCH(pv_cpu_ops.irq_enable_sysexit): pv_cpu_ops 779 arch/x86/kernel/vmi_32.c para_wrap(pv_cpu_ops.cpuid, vmi_cpuid, cpuid, CPUID); pv_cpu_ops 781 arch/x86/kernel/vmi_32.c para_fill(pv_cpu_ops.clts, CLTS); pv_cpu_ops 782 arch/x86/kernel/vmi_32.c para_fill(pv_cpu_ops.get_debugreg, GetDR); pv_cpu_ops 783 arch/x86/kernel/vmi_32.c para_fill(pv_cpu_ops.set_debugreg, SetDR); pv_cpu_ops 784 arch/x86/kernel/vmi_32.c para_fill(pv_cpu_ops.read_cr0, GetCR0); pv_cpu_ops 787 arch/x86/kernel/vmi_32.c para_fill(pv_cpu_ops.read_cr4, GetCR4); pv_cpu_ops 788 arch/x86/kernel/vmi_32.c para_fill(pv_cpu_ops.write_cr0, SetCR0); pv_cpu_ops 791 arch/x86/kernel/vmi_32.c para_fill(pv_cpu_ops.write_cr4, SetCR4); pv_cpu_ops 797 arch/x86/kernel/vmi_32.c para_fill(pv_cpu_ops.wbinvd, WBINVD); pv_cpu_ops 798 arch/x86/kernel/vmi_32.c para_fill(pv_cpu_ops.read_tsc, RDTSC); pv_cpu_ops 806 arch/x86/kernel/vmi_32.c para_wrap(pv_cpu_ops.load_tr_desc, vmi_set_tr, set_tr, SetTR); pv_cpu_ops 809 arch/x86/kernel/vmi_32.c para_wrap(pv_cpu_ops.set_ldt, vmi_set_ldt, _set_ldt, SetLDT); pv_cpu_ops 811 arch/x86/kernel/vmi_32.c para_fill(pv_cpu_ops.load_gdt, SetGDT); pv_cpu_ops 812 arch/x86/kernel/vmi_32.c para_fill(pv_cpu_ops.load_idt, SetIDT); pv_cpu_ops 813 arch/x86/kernel/vmi_32.c para_fill(pv_cpu_ops.store_gdt, GetGDT); pv_cpu_ops 814 arch/x86/kernel/vmi_32.c para_fill(pv_cpu_ops.store_idt, GetIDT); pv_cpu_ops 815 arch/x86/kernel/vmi_32.c para_fill(pv_cpu_ops.store_tr, GetTR); pv_cpu_ops 816 arch/x86/kernel/vmi_32.c pv_cpu_ops.load_tls = vmi_load_tls; pv_cpu_ops 817 arch/x86/kernel/vmi_32.c para_wrap(pv_cpu_ops.write_ldt_entry, vmi_write_ldt_entry, pv_cpu_ops 819 arch/x86/kernel/vmi_32.c para_wrap(pv_cpu_ops.write_gdt_entry, vmi_write_gdt_entry, pv_cpu_ops 821 arch/x86/kernel/vmi_32.c para_wrap(pv_cpu_ops.write_idt_entry, vmi_write_idt_entry, pv_cpu_ops 823 arch/x86/kernel/vmi_32.c para_wrap(pv_cpu_ops.load_sp0, vmi_load_sp0, set_kernel_stack, UpdateKernelStack); pv_cpu_ops 824 arch/x86/kernel/vmi_32.c para_fill(pv_cpu_ops.set_iopl_mask, SetIOPLMask); pv_cpu_ops 825 arch/x86/kernel/vmi_32.c para_fill(pv_cpu_ops.io_delay, IODelay); pv_cpu_ops 827 arch/x86/kernel/vmi_32.c para_wrap(pv_cpu_ops.lazy_mode.enter, vmi_enter_lazy_cpu, pv_cpu_ops 829 arch/x86/kernel/vmi_32.c para_wrap(pv_cpu_ops.lazy_mode.leave, vmi_leave_lazy, pv_cpu_ops 900 arch/x86/kernel/vmi_32.c pv_cpu_ops.irq_enable_sysexit = (void *)0xfeedbab0; pv_cpu_ops 901 arch/x86/kernel/vmi_32.c pv_cpu_ops.iret = (void *)0xbadbab0; pv_cpu_ops 989 arch/x86/lguest/boot.c pv_cpu_ops.load_gdt = lguest_load_gdt; pv_cpu_ops 990 arch/x86/lguest/boot.c pv_cpu_ops.cpuid = lguest_cpuid; pv_cpu_ops 991 arch/x86/lguest/boot.c pv_cpu_ops.load_idt = lguest_load_idt; pv_cpu_ops 992 arch/x86/lguest/boot.c pv_cpu_ops.iret = lguest_iret; pv_cpu_ops 993 arch/x86/lguest/boot.c pv_cpu_ops.load_sp0 = lguest_load_sp0; pv_cpu_ops 994 arch/x86/lguest/boot.c pv_cpu_ops.load_tr_desc = lguest_load_tr_desc; pv_cpu_ops 995 arch/x86/lguest/boot.c pv_cpu_ops.set_ldt = lguest_set_ldt; pv_cpu_ops 996 arch/x86/lguest/boot.c pv_cpu_ops.load_tls = lguest_load_tls; pv_cpu_ops 997 arch/x86/lguest/boot.c pv_cpu_ops.set_debugreg = lguest_set_debugreg; pv_cpu_ops 998 arch/x86/lguest/boot.c pv_cpu_ops.clts = lguest_clts; pv_cpu_ops 999 arch/x86/lguest/boot.c pv_cpu_ops.read_cr0 = lguest_read_cr0; pv_cpu_ops 1000 arch/x86/lguest/boot.c pv_cpu_ops.write_cr0 = lguest_write_cr0; pv_cpu_ops 1001 arch/x86/lguest/boot.c pv_cpu_ops.read_cr4 = lguest_read_cr4; pv_cpu_ops 1002 arch/x86/lguest/boot.c pv_cpu_ops.write_cr4 = lguest_write_cr4; pv_cpu_ops 1003 arch/x86/lguest/boot.c pv_cpu_ops.write_gdt_entry = lguest_write_gdt_entry; pv_cpu_ops 1004 arch/x86/lguest/boot.c pv_cpu_ops.write_idt_entry = lguest_write_idt_entry; pv_cpu_ops 1005 arch/x86/lguest/boot.c pv_cpu_ops.wbinvd = lguest_wbinvd; pv_cpu_ops 1006 arch/x86/lguest/boot.c pv_cpu_ops.lazy_mode.enter = paravirt_enter_lazy_cpu; pv_cpu_ops 1007 arch/x86/lguest/boot.c pv_cpu_ops.lazy_mode.leave = lguest_leave_lazy_mode; pv_cpu_ops 1201 arch/x86/xen/enlighten.c static const struct pv_cpu_ops xen_cpu_ops __initdata = { pv_cpu_ops 1627 arch/x86/xen/enlighten.c pv_cpu_ops = xen_cpu_ops; pv_cpu_ops 342 include/asm-x86/paravirt.h struct pv_cpu_ops pv_cpu_ops; pv_cpu_ops 352 include/asm-x86/paravirt.h extern struct pv_cpu_ops pv_cpu_ops; pv_cpu_ops 607 include/asm-x86/paravirt.h PVOP_VCALL2(pv_cpu_ops.load_sp0, tss, thread); pv_cpu_ops 630 include/asm-x86/paravirt.h PVOP_VCALL4(pv_cpu_ops.cpuid, eax, ebx, ecx, edx); pv_cpu_ops 638 include/asm-x86/paravirt.h return PVOP_CALL1(unsigned long, pv_cpu_ops.get_debugreg, reg); pv_cpu_ops 643 include/asm-x86/paravirt.h PVOP_VCALL2(pv_cpu_ops.set_debugreg, reg, val); pv_cpu_ops 648 include/asm-x86/paravirt.h PVOP_VCALL0(pv_cpu_ops.clts); pv_cpu_ops 653 include/asm-x86/paravirt.h return PVOP_CALL0(unsigned long, pv_cpu_ops.read_cr0); pv_cpu_ops 658 include/asm-x86/paravirt.h PVOP_VCALL1(pv_cpu_ops.write_cr0, x); pv_cpu_ops 683 include/asm-x86/paravirt.h return PVOP_CALL0(unsigned long, pv_cpu_ops.read_cr4); pv_cpu_ops 687 include/asm-x86/paravirt.h return PVOP_CALL0(unsigned long, pv_cpu_ops.read_cr4_safe); pv_cpu_ops 692 include/asm-x86/paravirt.h PVOP_VCALL1(pv_cpu_ops.write_cr4, x); pv_cpu_ops 698 include/asm-x86/paravirt.h return PVOP_CALL0(unsigned long, pv_cpu_ops.read_cr8); pv_cpu_ops 703 include/asm-x86/paravirt.h PVOP_VCALL1(pv_cpu_ops.write_cr8, x); pv_cpu_ops 719 include/asm-x86/paravirt.h PVOP_VCALL0(pv_cpu_ops.wbinvd); pv_cpu_ops 726 include/asm-x86/paravirt.h return PVOP_CALL2(u64, pv_cpu_ops.read_msr, msr, err); pv_cpu_ops 730 include/asm-x86/paravirt.h return PVOP_CALL2(u64, pv_cpu_ops.read_msr_amd, msr, err); pv_cpu_ops 734 include/asm-x86/paravirt.h return PVOP_CALL3(int, pv_cpu_ops.write_msr, msr, low, high); pv_cpu_ops 787 include/asm-x86/paravirt.h return PVOP_CALL0(u64, pv_cpu_ops.read_tsc); pv_cpu_ops 806 include/asm-x86/paravirt.h return PVOP_CALL1(u64, pv_cpu_ops.read_pmc, counter); pv_cpu_ops 818 include/asm-x86/paravirt.h return PVOP_CALL1(u64, pv_cpu_ops.read_tscp, aux); pv_cpu_ops 839 include/asm-x86/paravirt.h PVOP_VCALL2(pv_cpu_ops.alloc_ldt, ldt, entries); pv_cpu_ops 844 include/asm-x86/paravirt.h PVOP_VCALL2(pv_cpu_ops.free_ldt, ldt, entries); pv_cpu_ops 849 include/asm-x86/paravirt.h PVOP_VCALL0(pv_cpu_ops.load_tr_desc); pv_cpu_ops 853 include/asm-x86/paravirt.h PVOP_VCALL1(pv_cpu_ops.load_gdt, dtr); pv_cpu_ops 857 include/asm-x86/paravirt.h PVOP_VCALL1(pv_cpu_ops.load_idt, dtr); pv_cpu_ops 861 include/asm-x86/paravirt.h PVOP_VCALL2(pv_cpu_ops.set_ldt, addr, entries); pv_cpu_ops 865 include/asm-x86/paravirt.h PVOP_VCALL1(pv_cpu_ops.store_gdt, dtr); pv_cpu_ops 869 include/asm-x86/paravirt.h PVOP_VCALL1(pv_cpu_ops.store_idt, dtr); pv_cpu_ops 873 include/asm-x86/paravirt.h return PVOP_CALL0(unsigned long, pv_cpu_ops.store_tr); pv_cpu_ops 878 include/asm-x86/paravirt.h PVOP_VCALL2(pv_cpu_ops.load_tls, t, cpu); pv_cpu_ops 884 include/asm-x86/paravirt.h PVOP_VCALL1(pv_cpu_ops.load_gs_index, gs); pv_cpu_ops 891 include/asm-x86/paravirt.h PVOP_VCALL3(pv_cpu_ops.write_ldt_entry, dt, entry, desc); pv_cpu_ops 897 include/asm-x86/paravirt.h PVOP_VCALL4(pv_cpu_ops.write_gdt_entry, dt, entry, desc, type); pv_cpu_ops 902 include/asm-x86/paravirt.h PVOP_VCALL3(pv_cpu_ops.write_idt_entry, dt, entry, g); pv_cpu_ops 906 include/asm-x86/paravirt.h PVOP_VCALL1(pv_cpu_ops.set_iopl_mask, mask); pv_cpu_ops 912 include/asm-x86/paravirt.h pv_cpu_ops.io_delay(); pv_cpu_ops 914 include/asm-x86/paravirt.h pv_cpu_ops.io_delay(); pv_cpu_ops 915 include/asm-x86/paravirt.h pv_cpu_ops.io_delay(); pv_cpu_ops 916 include/asm-x86/paravirt.h pv_cpu_ops.io_delay(); pv_cpu_ops 1347 include/asm-x86/paravirt.h PVOP_VCALL0(pv_cpu_ops.lazy_mode.enter); pv_cpu_ops 1352 include/asm-x86/paravirt.h PVOP_VCALL0(pv_cpu_ops.lazy_mode.leave); pv_cpu_ops 1577 include/asm-x86/paravirt.h PARA_SITE(PARA_PATCH(pv_cpu_ops, PV_CPU_iret), CLBR_NONE, \ pv_cpu_ops 1578 include/asm-x86/paravirt.h jmp PARA_INDIRECT(pv_cpu_ops+PV_CPU_iret)) pv_cpu_ops 1593 include/asm-x86/paravirt.h PARA_SITE(PARA_PATCH(pv_cpu_ops, PV_CPU_usergs_sysret32), \ pv_cpu_ops 1595 include/asm-x86/paravirt.h jmp PARA_INDIRECT(pv_cpu_ops+PV_CPU_usergs_sysret32)) pv_cpu_ops 1600 include/asm-x86/paravirt.h call PARA_INDIRECT(pv_cpu_ops+PV_CPU_read_cr0); \ pv_cpu_ops 1604 include/asm-x86/paravirt.h PARA_SITE(PARA_PATCH(pv_cpu_ops, PV_CPU_irq_enable_sysexit), \ pv_cpu_ops 1606 include/asm-x86/paravirt.h jmp PARA_INDIRECT(pv_cpu_ops+PV_CPU_irq_enable_sysexit)) pv_cpu_ops 1617 include/asm-x86/paravirt.h PARA_SITE(PARA_PATCH(pv_cpu_ops, PV_CPU_swapgs), CLBR_NONE, \ pv_cpu_ops 1621 include/asm-x86/paravirt.h PARA_SITE(PARA_PATCH(pv_cpu_ops, PV_CPU_swapgs), CLBR_NONE, \ pv_cpu_ops 1623 include/asm-x86/paravirt.h call PARA_INDIRECT(pv_cpu_ops+PV_CPU_swapgs); \ pv_cpu_ops 1638 include/asm-x86/paravirt.h PARA_SITE(PARA_PATCH(pv_cpu_ops, PV_CPU_usergs_sysret64), \ pv_cpu_ops 1640 include/asm-x86/paravirt.h jmp PARA_INDIRECT(pv_cpu_ops+PV_CPU_usergs_sysret64)) pv_cpu_ops 1643 include/asm-x86/paravirt.h PARA_SITE(PARA_PATCH(pv_cpu_ops, PV_CPU_irq_enable_sysexit), \ pv_cpu_ops 1645 include/asm-x86/paravirt.h jmp PARA_INDIRECT(pv_cpu_ops+PV_CPU_irq_enable_sysexit))