Home
last modified time | relevance | path

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

/linux-2.6.39/arch/x86/kvm/
Dmmu_audit.c136 unsigned long *rmapp; in inspect_spte_has_rmap() local
154 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() local
204 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()
Dmmu.c625 unsigned long *rmapp; in rmap_add() local
632 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() argument
675 *rmapp = (unsigned long)desc->sptes[0]; in rmap_desc_remove_entry()
[all …]