Lines Matching refs:gw
538 struct guest_walker *gw, int level) in FNAME()
541 gpa_t base_gpa, pte_gpa = gw->pte_gpa[level - 1]; in FNAME()
551 gw->prefetch_ptes, sizeof(gw->prefetch_ptes)); in FNAME()
552 curr_pte = gw->prefetch_ptes[index]; in FNAME()
557 return r || curr_pte != gw->ptes[level - 1]; in FNAME()
560 static void FNAME(pte_prefetch)(struct kvm_vcpu *vcpu, struct guest_walker *gw, in FNAME()
564 pt_element_t *gptep = gw->prefetch_ptes; in FNAME()
597 struct guest_walker *gw, in FNAME()
604 unsigned direct_access, access = gw->pt_access; in FNAME()
608 direct_access = gw->pte_access; in FNAME()
619 if (FNAME(gpte_changed)(vcpu, gw, top_level)) in FNAME()
626 shadow_walk_okay(&it) && it.level > gw->level; in FNAME()
635 table_gfn = gw->table_gfn[it.level - 2]; in FNAME()
644 if (FNAME(gpte_changed)(vcpu, gw, it.level - 1)) in FNAME()
655 gfn = gw->gfn | ((addr & PT_LVL_OFFSET_MASK(gw->level)) >> PAGE_SHIFT); in FNAME()
658 trace_kvm_mmu_spte_requested(addr, gw->level, pfn); in FNAME()
686 ret = mmu_set_spte(vcpu, it.sptep, gw->pte_access, write_fault, in FNAME()
688 FNAME(pte_prefetch)(vcpu, gw, it.sptep); in FNAME()