H A D | mmu.c | 1068 unsigned long *rmapp; rmap_add() local 1072 rmapp = gfn_to_rmap(vcpu->kvm, gfn, sp); rmap_add() 1073 return pte_list_add(vcpu, spte, rmapp); rmap_add() 1080 unsigned long *rmapp; rmap_remove() local 1084 rmapp = gfn_to_rmap(kvm, gfn, sp); rmap_remove() 1085 pte_list_remove(spte, rmapp); rmap_remove() 1210 static bool __rmap_write_protect(struct kvm *kvm, unsigned long *rmapp, __rmap_write_protect() argument 1217 for_each_rmap_spte(rmapp, &iter, sptep) __rmap_write_protect() 1234 static bool __rmap_clear_dirty(struct kvm *kvm, unsigned long *rmapp) __rmap_clear_dirty() argument 1240 for_each_rmap_spte(rmapp, &iter, sptep) __rmap_clear_dirty() 1257 static bool __rmap_set_dirty(struct kvm *kvm, unsigned long *rmapp) __rmap_set_dirty() argument 1263 for_each_rmap_spte(rmapp, &iter, sptep) __rmap_set_dirty() 1283 unsigned long *rmapp; kvm_mmu_write_protect_pt_masked() local 1286 rmapp = __gfn_to_rmap(slot->base_gfn + gfn_offset + __ffs(mask), kvm_mmu_write_protect_pt_masked() 1288 __rmap_write_protect(kvm, rmapp, false); kvm_mmu_write_protect_pt_masked() 1308 unsigned long *rmapp; kvm_mmu_clear_dirty_pt_masked() local 1311 rmapp = __gfn_to_rmap(slot->base_gfn + gfn_offset + __ffs(mask), kvm_mmu_clear_dirty_pt_masked() 1313 __rmap_clear_dirty(kvm, rmapp); kvm_mmu_clear_dirty_pt_masked() 1345 unsigned long *rmapp; rmap_write_protect() local 1352 rmapp = __gfn_to_rmap(gfn, i, slot); rmap_write_protect() 1353 write_protected |= __rmap_write_protect(vcpu->kvm, rmapp, true); rmap_write_protect() 1359 static bool kvm_zap_rmapp(struct kvm *kvm, unsigned long *rmapp) kvm_zap_rmapp() argument 1365 while ((sptep = rmap_get_first(*rmapp, &iter))) { kvm_zap_rmapp() 1376 static int kvm_unmap_rmapp(struct kvm *kvm, unsigned long *rmapp, kvm_unmap_rmapp() argument 1380 return kvm_zap_rmapp(kvm, rmapp); kvm_unmap_rmapp() 1383 static int kvm_set_pte_rmapp(struct kvm *kvm, unsigned long *rmapp, kvm_set_pte_rmapp() argument 1398 for_each_rmap_spte(rmapp, &iter, sptep) { kvm_set_pte_rmapp() 1499 unsigned long *rmapp, kvm_handle_hva_range() 1543 int (*handler)(struct kvm *kvm, unsigned long *rmapp, kvm_handle_hva() 1566 static int kvm_age_rmapp(struct kvm *kvm, unsigned long *rmapp, kvm_age_rmapp() argument 1576 for_each_rmap_spte(rmapp, &iter, sptep) kvm_age_rmapp() 1587 static int kvm_test_age_rmapp(struct kvm *kvm, unsigned long *rmapp, kvm_test_age_rmapp() argument 1603 for_each_rmap_spte(rmapp, &iter, sptep) kvm_test_age_rmapp() 1616 unsigned long *rmapp; rmap_recycle() local 1621 rmapp = gfn_to_rmap(vcpu->kvm, gfn, sp); rmap_recycle() 1623 kvm_unmap_rmapp(vcpu->kvm, rmapp, NULL, gfn, sp->role.level, 0); rmap_recycle() 4594 static bool slot_rmap_write_protect(struct kvm *kvm, unsigned long *rmapp) slot_rmap_write_protect() argument 4596 return __rmap_write_protect(kvm, rmapp, false); slot_rmap_write_protect() 4632 unsigned long *rmapp) kvm_mmu_zap_collapsible_spte() 4641 for_each_rmap_spte(rmapp, &iter, sptep) { kvm_mmu_zap_collapsible_spte() 1494 kvm_handle_hva_range(struct kvm *kvm, unsigned long start, unsigned long end, unsigned long data, int (*handler)(struct kvm *kvm, unsigned long *rmapp, struct kvm_memory_slot *slot, gfn_t gfn, int level, unsigned long data)) kvm_handle_hva_range() argument 1541 kvm_handle_hva(struct kvm *kvm, unsigned long hva, unsigned long data, int (*handler)(struct kvm *kvm, unsigned long *rmapp, struct kvm_memory_slot *slot, gfn_t gfn, int level, unsigned long data)) kvm_handle_hva() argument 4631 kvm_mmu_zap_collapsible_spte(struct kvm *kvm, unsigned long *rmapp) kvm_mmu_zap_collapsible_spte() argument
|