Searched refs:rmapp (Results 1 – 2 of 2) sorted by relevance
136 unsigned long *rmapp; in inspect_spte_has_rmap() local154 rmapp = gfn_to_rmap(kvm, gfn, rev_sp->role.level); in inspect_spte_has_rmap()155 if (!*rmapp) { in inspect_spte_has_rmap()197 unsigned long *rmapp; in audit_write_protection() local204 rmapp = &slot->rmap[sp->gfn - slot->base_gfn]; in audit_write_protection()206 spte = rmap_next(kvm, rmapp, NULL); in audit_write_protection()212 spte = rmap_next(kvm, rmapp, spte); in audit_write_protection()
625 unsigned long *rmapp; in rmap_add() local632 rmapp = gfn_to_rmap(vcpu->kvm, gfn, sp->role.level); in rmap_add()633 if (!*rmapp) { in rmap_add()635 *rmapp = (unsigned long)spte; in rmap_add()636 } else if (!(*rmapp & 1)) { in rmap_add()639 desc->sptes[0] = (u64 *)*rmapp; in rmap_add()641 *rmapp = (unsigned long)desc | 1; in rmap_add()645 desc = (struct kvm_rmap_desc *)(*rmapp & ~1ul); in rmap_add()661 static void rmap_desc_remove_entry(unsigned long *rmapp, in rmap_desc_remove_entry() argument675 *rmapp = (unsigned long)desc->sptes[0]; in rmap_desc_remove_entry()[all …]