Home
last modified time | relevance | path

Searched refs:update_pte (Results 1 – 5 of 5) sorted by relevance

/arch/xtensa/include/asm/
Dpgtable.h202 do { update_pte(ptep, __pte(_PAGE_INVALID)); } while(0)
251 static inline void update_pte(pte_t *ptep, pte_t pteval) in update_pte() function
265 update_pte(ptep, pteval); in set_pte_at()
284 update_pte(ptep, pte_mkold(pte)); in ptep_test_and_clear_young()
300 update_pte(ptep, pte_wrprotect(pte)); in ptep_set_wrprotect()
/arch/x86/kernel/
Dvmi_32.c73 void (*update_pte)(pte_t *, unsigned); member
354 vmi_ops.update_pte(ptep, vmi_flags_addr(mm, addr, VMI_PAGE_PT, 0)); in vmi_update_pte()
359 vmi_ops.update_pte(ptep, vmi_flags_addr_defer(mm, addr, VMI_PAGE_PT, 0)); in vmi_update_pte_defer()
395 vmi_ops.update_pte(ptep, VMI_PAGE_PT); in vmi_set_pte_atomic()
740 vmi_ops.update_pte = vmi_get_function(VMI_CALL_UpdatePxELong); in activate_vmi()
743 vmi_ops.update_pte = vmi_get_function(VMI_CALL_UpdatePxE); in activate_vmi()
759 if (vmi_ops.update_pte) { in activate_vmi()
/arch/x86/kvm/
Dpaging_tmpl.h253 static void FNAME(update_pte)(struct kvm_vcpu *vcpu, struct kvm_mmu_page *page, in FNAME() argument
259 int largepage = vcpu->arch.update_pte.largepage; in FNAME()
269 if (gpte_to_gfn(gpte) != vcpu->arch.update_pte.gfn) in FNAME()
271 pfn = vcpu->arch.update_pte.pfn; in FNAME()
274 if (mmu_notifier_retry(vcpu, vcpu->arch.update_pte.mmu_seq)) in FNAME()
Dmmu.c2269 vcpu->arch.update_pte.pfn = bad_pfn; in init_kvm_mmu()
2345 if (!vcpu->arch.update_pte.largepage || in mmu_pte_write_new_pte()
2395 vcpu->arch.update_pte.largepage = 0; in mmu_guess_page_from_pte_write()
2426 vcpu->arch.update_pte.largepage = 1; in mmu_guess_page_from_pte_write()
2428 vcpu->arch.update_pte.mmu_seq = vcpu->kvm->mmu_notifier_seq; in mmu_guess_page_from_pte_write()
2436 vcpu->arch.update_pte.gfn = gfn; in mmu_guess_page_from_pte_write()
2437 vcpu->arch.update_pte.pfn = pfn; in mmu_guess_page_from_pte_write()
2559 if (!is_error_pfn(vcpu->arch.update_pte.pfn)) { in kvm_mmu_pte_write()
2560 kvm_release_pfn_clean(vcpu->arch.update_pte.pfn); in kvm_mmu_pte_write()
2561 vcpu->arch.update_pte.pfn = bad_pfn; in kvm_mmu_pte_write()
/arch/x86/include/asm/
Dkvm_host.h290 } update_pte; member