• Home
  • Raw
  • Download

Lines Matching refs:rmapp

1068 	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()
1257 static bool __rmap_set_dirty(struct kvm *kvm, unsigned long *rmapp) in __rmap_set_dirty() argument
1263 for_each_rmap_spte(rmapp, &iter, sptep) in __rmap_set_dirty()
1283 unsigned long *rmapp; in kvm_mmu_write_protect_pt_masked() local
1286 rmapp = __gfn_to_rmap(slot->base_gfn + gfn_offset + __ffs(mask), in kvm_mmu_write_protect_pt_masked()
1288 __rmap_write_protect(kvm, rmapp, false); in kvm_mmu_write_protect_pt_masked()
1308 unsigned long *rmapp; in kvm_mmu_clear_dirty_pt_masked() local
1311 rmapp = __gfn_to_rmap(slot->base_gfn + gfn_offset + __ffs(mask), in kvm_mmu_clear_dirty_pt_masked()
1313 __rmap_clear_dirty(kvm, rmapp); in kvm_mmu_clear_dirty_pt_masked()
1345 unsigned long *rmapp; in rmap_write_protect() local
1352 rmapp = __gfn_to_rmap(gfn, i, slot); in rmap_write_protect()
1353 write_protected |= __rmap_write_protect(vcpu->kvm, rmapp, true); in rmap_write_protect()
1359 static bool kvm_zap_rmapp(struct kvm *kvm, unsigned long *rmapp) in kvm_zap_rmapp() argument
1365 while ((sptep = rmap_get_first(*rmapp, &iter))) { in kvm_zap_rmapp()
1376 static int kvm_unmap_rmapp(struct kvm *kvm, unsigned long *rmapp, in kvm_unmap_rmapp() argument
1380 return kvm_zap_rmapp(kvm, rmapp); in kvm_unmap_rmapp()
1383 static int kvm_set_pte_rmapp(struct kvm *kvm, unsigned long *rmapp, in kvm_set_pte_rmapp() argument
1398 for_each_rmap_spte(rmapp, &iter, sptep) { in kvm_set_pte_rmapp()
1499 unsigned long *rmapp, in kvm_handle_hva_range() argument
1543 int (*handler)(struct kvm *kvm, unsigned long *rmapp, in kvm_handle_hva() argument
1566 static int kvm_age_rmapp(struct kvm *kvm, unsigned long *rmapp, in kvm_age_rmapp() argument
1576 for_each_rmap_spte(rmapp, &iter, sptep) in kvm_age_rmapp()
1587 static int kvm_test_age_rmapp(struct kvm *kvm, unsigned long *rmapp, in kvm_test_age_rmapp() argument
1603 for_each_rmap_spte(rmapp, &iter, sptep) in kvm_test_age_rmapp()
1616 unsigned long *rmapp; in rmap_recycle() local
1621 rmapp = gfn_to_rmap(vcpu->kvm, gfn, sp); in rmap_recycle()
1623 kvm_unmap_rmapp(vcpu->kvm, rmapp, NULL, gfn, sp->role.level, 0); in rmap_recycle()
4588 static bool slot_rmap_write_protect(struct kvm *kvm, unsigned long *rmapp) in slot_rmap_write_protect() argument
4590 return __rmap_write_protect(kvm, rmapp, false); in slot_rmap_write_protect()
4626 unsigned long *rmapp) in kvm_mmu_zap_collapsible_spte() argument
4635 for_each_rmap_spte(rmapp, &iter, sptep) { in kvm_mmu_zap_collapsible_spte()