Home
last modified time | relevance | path

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

/linux-4.4.14/arch/x86/include/asm/
Dparavirt.h71 return PVOP_CALL0(unsigned long, pv_mmu_ops.read_cr2); in read_cr2()
76 PVOP_VCALL1(pv_mmu_ops.write_cr2, x); in write_cr2()
81 return PVOP_CALL0(unsigned long, pv_mmu_ops.read_cr3); in read_cr3()
86 PVOP_VCALL1(pv_mmu_ops.write_cr3, x); in write_cr3()
306 PVOP_VCALL2(pv_mmu_ops.activate_mm, prev, next); in paravirt_activate_mm()
312 PVOP_VCALL2(pv_mmu_ops.dup_mmap, oldmm, mm); in paravirt_arch_dup_mmap()
317 PVOP_VCALL1(pv_mmu_ops.exit_mmap, mm); in paravirt_arch_exit_mmap()
322 PVOP_VCALL0(pv_mmu_ops.flush_tlb_user); in __flush_tlb()
326 PVOP_VCALL0(pv_mmu_ops.flush_tlb_kernel); in __flush_tlb_global()
330 PVOP_VCALL1(pv_mmu_ops.flush_tlb_single, addr); in __flush_tlb_single()
[all …]
Dparavirt_types.h231 struct pv_mmu_ops { struct
363 struct pv_mmu_ops pv_mmu_ops; member
373 extern struct pv_mmu_ops pv_mmu_ops;
/linux-4.4.14/arch/x86/kernel/
Dparavirt_patch_64.c9 DEF_NATIVE(pv_mmu_ops, read_cr2, "movq %cr2, %rax");
10 DEF_NATIVE(pv_mmu_ops, read_cr3, "movq %cr3, %rax");
11 DEF_NATIVE(pv_mmu_ops, write_cr3, "movq %rdi, %cr3");
12 DEF_NATIVE(pv_mmu_ops, flush_tlb_single, "invlpg (%rdi)");
61 PATCH_SITE(pv_mmu_ops, read_cr2); in native_patch()
62 PATCH_SITE(pv_mmu_ops, read_cr3); in native_patch()
63 PATCH_SITE(pv_mmu_ops, write_cr3); in native_patch()
65 PATCH_SITE(pv_mmu_ops, flush_tlb_single); in native_patch()
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.c137 .pv_mmu_ops = pv_mmu_ops, in get_call_destination()
420 struct pv_mmu_ops pv_mmu_ops = { variable
494 EXPORT_SYMBOL (pv_mmu_ops);
Dasm-offsets.c72 OFFSET(PV_MMU_read_cr2, pv_mmu_ops, read_cr2); in common()
/linux-4.4.14/arch/x86/lguest/
Dboot.c1457 pv_mmu_ops.write_cr3 = lguest_write_cr3; in lguest_init()
1458 pv_mmu_ops.flush_tlb_user = lguest_flush_tlb_user; in lguest_init()
1459 pv_mmu_ops.flush_tlb_single = lguest_flush_tlb_single; in lguest_init()
1460 pv_mmu_ops.flush_tlb_kernel = lguest_flush_tlb_kernel; in lguest_init()
1461 pv_mmu_ops.set_pte = lguest_set_pte; in lguest_init()
1462 pv_mmu_ops.set_pte_at = lguest_set_pte_at; in lguest_init()
1463 pv_mmu_ops.set_pmd = lguest_set_pmd; in lguest_init()
1465 pv_mmu_ops.set_pte_atomic = lguest_set_pte_atomic; in lguest_init()
1466 pv_mmu_ops.pte_clear = lguest_pte_clear; in lguest_init()
1467 pv_mmu_ops.pmd_clear = lguest_pmd_clear; in lguest_init()
[all …]
/linux-4.4.14/arch/x86/xen/
Dmmu.c2240 pv_mmu_ops.write_cr3 = &xen_write_cr3; in xen_write_cr3_init()
2393 pv_mmu_ops.set_pte = xen_set_pte; in xen_post_allocator_init()
2394 pv_mmu_ops.set_pmd = xen_set_pmd; in xen_post_allocator_init()
2395 pv_mmu_ops.set_pud = xen_set_pud; in xen_post_allocator_init()
2397 pv_mmu_ops.set_pgd = xen_set_pgd; in xen_post_allocator_init()
2402 pv_mmu_ops.alloc_pte = xen_alloc_pte; in xen_post_allocator_init()
2403 pv_mmu_ops.alloc_pmd = xen_alloc_pmd; in xen_post_allocator_init()
2404 pv_mmu_ops.release_pte = xen_release_pte; in xen_post_allocator_init()
2405 pv_mmu_ops.release_pmd = xen_release_pmd; in xen_post_allocator_init()
2407 pv_mmu_ops.alloc_pud = xen_alloc_pud; in xen_post_allocator_init()
[all …]
Denlighten.c1131 pv_mmu_ops.read_cr2 = xen_read_cr2_direct; in xen_setup_vcpu_info_placement()
1595 pv_mmu_ops.ptep_modify_prot_start = xen_ptep_modify_prot_start; in xen_start_kernel()
1596 pv_mmu_ops.ptep_modify_prot_commit = xen_ptep_modify_prot_commit; in xen_start_kernel()