Home
last modified time | relevance | path

Searched refs:rmapp (Results 1 – 3 of 3) sorted by relevance

/arch/powerpc/kvm/
Dbook3s_64_mmu_hv.c670 unsigned long *rmapp, in kvm_handle_hva_range() argument
707 int (*handler)(struct kvm *kvm, unsigned long *rmapp, in kvm_handle_hva() argument
713 static int kvm_unmap_rmapp(struct kvm *kvm, unsigned long *rmapp, in kvm_unmap_rmapp() argument
722 lock_rmap(rmapp); in kvm_unmap_rmapp()
723 if (!(*rmapp & KVMPPC_RMAP_PRESENT)) { in kvm_unmap_rmapp()
724 unlock_rmap(rmapp); in kvm_unmap_rmapp()
733 i = *rmapp & KVMPPC_RMAP_INDEX; in kvm_unmap_rmapp()
737 unlock_rmap(rmapp); in kvm_unmap_rmapp()
745 *rmapp &= ~(KVMPPC_RMAP_PRESENT | KVMPPC_RMAP_INDEX); in kvm_unmap_rmapp()
752 *rmapp = (*rmapp & ~KVMPPC_RMAP_INDEX) | j; in kvm_unmap_rmapp()
[all …]
/arch/x86/kvm/
Dmmu_audit.c132 unsigned long *rmapp; in inspect_spte_has_rmap() local
153 rmapp = __gfn_to_rmap(gfn, rev_sp->role.level, slot); in inspect_spte_has_rmap()
154 if (!*rmapp) { in inspect_spte_has_rmap()
195 unsigned long *rmapp; in audit_write_protection() local
206 rmapp = __gfn_to_rmap(sp->gfn, PT_PAGE_TABLE_LEVEL, slot); in audit_write_protection()
208 for_each_rmap_spte(rmapp, &iter, sptep) in audit_write_protection()
Dmmu.c1068 unsigned long *rmapp; in rmap_add() local
1072 rmapp = gfn_to_rmap(vcpu->kvm, gfn, sp); in rmap_add()
1073 return pte_list_add(vcpu, spte, rmapp); in rmap_add()
1080 unsigned long *rmapp; in rmap_remove() local
1084 rmapp = gfn_to_rmap(kvm, gfn, sp); in rmap_remove()
1085 pte_list_remove(spte, rmapp); in rmap_remove()
1210 static bool __rmap_write_protect(struct kvm *kvm, unsigned long *rmapp, in __rmap_write_protect() argument
1217 for_each_rmap_spte(rmapp, &iter, sptep) in __rmap_write_protect()
1234 static bool __rmap_clear_dirty(struct kvm *kvm, unsigned long *rmapp) in __rmap_clear_dirty() argument
1240 for_each_rmap_spte(rmapp, &iter, sptep) in __rmap_clear_dirty()
[all …]