Home
last modified time | relevance | path

Searched refs:pv_mmu_ops (Results 1 – 11 of 11) sorted by relevance

/Linux-v4.19/arch/x86/include/asm/
Dparavirt.h57 return PVOP_CALL0(unsigned long, pv_mmu_ops.read_cr2); in read_cr2()
62 PVOP_VCALL1(pv_mmu_ops.write_cr2, x); in write_cr2()
67 return PVOP_CALL0(unsigned long, pv_mmu_ops.read_cr3); in __read_cr3()
72 PVOP_VCALL1(pv_mmu_ops.write_cr3, x); in write_cr3()
279 PVOP_VCALL2(pv_mmu_ops.activate_mm, prev, next); in paravirt_activate_mm()
285 PVOP_VCALL2(pv_mmu_ops.dup_mmap, oldmm, mm); in paravirt_arch_dup_mmap()
290 PVOP_VCALL1(pv_mmu_ops.exit_mmap, mm); in paravirt_arch_exit_mmap()
295 PVOP_VCALL0(pv_mmu_ops.flush_tlb_user); in __flush_tlb()
299 PVOP_VCALL0(pv_mmu_ops.flush_tlb_kernel); in __flush_tlb_global()
303 PVOP_VCALL1(pv_mmu_ops.flush_tlb_one_user, addr); in __flush_tlb_one_user()
[all …]
Dparavirt_types.h201 struct pv_mmu_ops { struct
328 struct pv_mmu_ops pv_mmu_ops; member
337 extern struct pv_mmu_ops pv_mmu_ops;
/Linux-v4.19/arch/x86/kernel/
Dparavirt_patch_32.c9 DEF_NATIVE(pv_mmu_ops, read_cr2, "mov %cr2, %eax");
10 DEF_NATIVE(pv_mmu_ops, write_cr3, "mov %eax, %cr3");
11 DEF_NATIVE(pv_mmu_ops, read_cr3, "mov %cr3, %eax");
50 PATCH_SITE(pv_mmu_ops, read_cr2); in native_patch()
51 PATCH_SITE(pv_mmu_ops, read_cr3); in native_patch()
52 PATCH_SITE(pv_mmu_ops, write_cr3); in native_patch()
Dparavirt_patch_64.c10 DEF_NATIVE(pv_mmu_ops, read_cr2, "movq %cr2, %rax");
11 DEF_NATIVE(pv_mmu_ops, read_cr3, "movq %cr3, %rax");
12 DEF_NATIVE(pv_mmu_ops, write_cr3, "movq %rdi, %cr3");
59 PATCH_SITE(pv_mmu_ops, read_cr2); in native_patch()
60 PATCH_SITE(pv_mmu_ops, read_cr3); in native_patch()
61 PATCH_SITE(pv_mmu_ops, write_cr3); in native_patch()
Dparavirt.c144 .pv_mmu_ops = pv_mmu_ops, in get_call_destination()
402 struct pv_mmu_ops pv_mmu_ops __ro_after_init = {
481 EXPORT_SYMBOL (pv_mmu_ops);
Dasm-offsets.c75 OFFSET(PV_MMU_read_cr2, pv_mmu_ops, read_cr2); in common()
Dkvm.c641 pv_mmu_ops.flush_tlb_others = kvm_flush_tlb_others; in kvm_guest_init()
642 pv_mmu_ops.tlb_remove_table = tlb_remove_table; in kvm_guest_init()
/Linux-v4.19/arch/x86/xen/
Dmmu_pv.c2212 pv_mmu_ops.write_cr3 = &xen_write_cr3; in xen_write_cr3_init()
2361 pv_mmu_ops.set_pte = xen_set_pte; in xen_post_allocator_init()
2362 pv_mmu_ops.set_pmd = xen_set_pmd; in xen_post_allocator_init()
2363 pv_mmu_ops.set_pud = xen_set_pud; in xen_post_allocator_init()
2365 pv_mmu_ops.set_p4d = xen_set_p4d; in xen_post_allocator_init()
2370 pv_mmu_ops.alloc_pte = xen_alloc_pte; in xen_post_allocator_init()
2371 pv_mmu_ops.alloc_pmd = xen_alloc_pmd; in xen_post_allocator_init()
2372 pv_mmu_ops.release_pte = xen_release_pte; in xen_post_allocator_init()
2373 pv_mmu_ops.release_pmd = xen_release_pmd; in xen_post_allocator_init()
2375 pv_mmu_ops.alloc_pud = xen_alloc_pud; in xen_post_allocator_init()
[all …]
Dmmu_hvm.c76 pv_mmu_ops.exit_mmap = xen_hvm_exit_mmap; in xen_hvm_init_mmu_ops()
Denlighten_pv.c1002 pv_mmu_ops.read_cr2 = xen_read_cr2_direct; in xen_setup_vcpu_info_placement()
1279 pv_mmu_ops.ptep_modify_prot_start = xen_ptep_modify_prot_start; in xen_start_kernel()
1280 pv_mmu_ops.ptep_modify_prot_commit = xen_ptep_modify_prot_commit; in xen_start_kernel()
/Linux-v4.19/arch/x86/hyperv/
Dmmu.c234 pv_mmu_ops.flush_tlb_others = hyperv_flush_tlb_others; in hyperv_setup_mmu_ops()
235 pv_mmu_ops.tlb_remove_table = tlb_remove_table; in hyperv_setup_mmu_ops()