Lines Matching refs:kvm_pte_t

41 static int kvm_mkold_pte(kvm_pte_t *pte, phys_addr_t addr, kvm_ptw_ctx *ctx)  in kvm_mkold_pte()
55 static int kvm_mkclean_pte(kvm_pte_t *pte, phys_addr_t addr, kvm_ptw_ctx *ctx) in kvm_mkclean_pte()
58 kvm_pte_t val; in kvm_mkclean_pte()
88 static int kvm_flush_pte(kvm_pte_t *pte, phys_addr_t addr, kvm_ptw_ctx *ctx) in kvm_flush_pte()
112 kvm_pte_t *kvm_pgd_alloc(void) in kvm_pgd_alloc()
114 kvm_pte_t *pgd; in kvm_pgd_alloc()
116 pgd = (kvm_pte_t *)__get_free_pages(GFP_KERNEL, 0); in kvm_pgd_alloc()
149 static kvm_pte_t *kvm_populate_gpa(struct kvm *kvm, in kvm_populate_gpa()
154 kvm_pte_t *entry, *child; in kvm_populate_gpa()
171 child = (kvm_pte_t *)__va(PHYSADDR(*entry)); in kvm_populate_gpa()
184 static int kvm_ptw_leaf(kvm_pte_t *dir, phys_addr_t addr, phys_addr_t end, kvm_ptw_ctx *ctx) in kvm_ptw_leaf()
189 kvm_pte_t *entry, *child; in kvm_ptw_leaf()
193 child = (kvm_pte_t *)__va(PHYSADDR(*dir)); in kvm_ptw_leaf()
218 static int kvm_ptw_dir(kvm_pte_t *dir, phys_addr_t addr, phys_addr_t end, kvm_ptw_ctx *ctx) in kvm_ptw_dir()
223 kvm_pte_t *entry, *child; in kvm_ptw_dir()
227 child = (kvm_pte_t *)__va(PHYSADDR(*dir)); in kvm_ptw_dir()
262 static int kvm_ptw_top(kvm_pte_t *dir, phys_addr_t addr, phys_addr_t end, kvm_ptw_ctx *ctx) in kvm_ptw_top()
266 kvm_pte_t *entry; in kvm_ptw_top()
529 kvm_pte_t *ptep = kvm_populate_gpa(kvm, NULL, gpa, 0); in kvm_test_age_gfn()
556 kvm_pte_t *ptep, changed, new; in kvm_map_page_fast()
744 static kvm_pte_t *kvm_split_huge(struct kvm_vcpu *vcpu, kvm_pte_t *ptep, gfn_t gfn) in kvm_split_huge()
747 kvm_pte_t val, *child; in kvm_split_huge()
794 kvm_pte_t *ptep, new_pte; in kvm_map_page()