Lines Matching refs:sptes
168 u64 *sptes[RMAP_EXT]; member
639 desc->sptes[0] = (u64 *)*rmapp; in rmap_add()
640 desc->sptes[1] = spte; in rmap_add()
646 while (desc->sptes[RMAP_EXT-1] && desc->more) { in rmap_add()
650 if (desc->sptes[RMAP_EXT-1]) { in rmap_add()
654 for (i = 0; desc->sptes[i]; ++i) in rmap_add()
656 desc->sptes[i] = spte; in rmap_add()
668 for (j = RMAP_EXT - 1; !desc->sptes[j] && j > i; --j) in rmap_desc_remove_entry()
670 desc->sptes[i] = desc->sptes[j]; in rmap_desc_remove_entry()
671 desc->sptes[j] = NULL; in rmap_desc_remove_entry()
675 *rmapp = (unsigned long)desc->sptes[0]; in rmap_desc_remove_entry()
711 for (i = 0; i < RMAP_EXT && desc->sptes[i]; ++i) in rmap_remove()
712 if (desc->sptes[i] == spte) { in rmap_remove()
769 for (i = 0; i < RMAP_EXT && desc->sptes[i]; ++i) { in rmap_next()
771 return desc->sptes[i]; in rmap_next()
772 prev_spte = desc->sptes[i]; in rmap_next()
3780 int kvm_mmu_get_spte_hierarchy(struct kvm_vcpu *vcpu, u64 addr, u64 sptes[4]) in kvm_mmu_get_spte_hierarchy()
3787 sptes[iterator.level-1] = *iterator.sptep; in kvm_mmu_get_spte_hierarchy()