Home
last modified time | relevance | path

Searched refs:rmap_head (Results 1 – 3 of 3) sorted by relevance

/arch/x86/kvm/mmu/
Dmmu_audit.c129 struct kvm_rmap_head *rmap_head; in inspect_spte_has_rmap() local
150 rmap_head = gfn_to_rmap(gfn, rev_sp->role.level, slot); in inspect_spte_has_rmap()
151 if (!rmap_head->val) { in inspect_spte_has_rmap()
192 struct kvm_rmap_head *rmap_head; in audit_write_protection() local
203 rmap_head = gfn_to_rmap(sp->gfn, PG_LEVEL_4K, slot); in audit_write_protection()
205 for_each_rmap_spte(rmap_head, &iter, sptep) { in audit_write_protection()
Dmmu.c909 struct kvm_rmap_head *rmap_head) in pte_list_add() argument
914 if (!rmap_head->val) { in pte_list_add()
916 rmap_head->val = (unsigned long)spte; in pte_list_add()
917 } else if (!(rmap_head->val & 1)) { in pte_list_add()
920 desc->sptes[0] = (u64 *)rmap_head->val; in pte_list_add()
923 rmap_head->val = (unsigned long)desc | 1; in pte_list_add()
927 desc = (struct pte_list_desc *)(rmap_head->val & ~1ul); in pte_list_add()
945 pte_list_desc_remove_entry(struct kvm_rmap_head *rmap_head, in pte_list_desc_remove_entry() argument
957 rmap_head->val = 0; in pte_list_desc_remove_entry()
962 rmap_head->val = (unsigned long)desc->more | 1; in pte_list_desc_remove_entry()
[all …]
Dmmu_internal.h136 unsigned int pte_list_count(struct kvm_rmap_head *rmap_head);