Home
last modified time | relevance | path

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

/arch/x86/kvm/
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, PT_PAGE_TABLE_LEVEL, slot); in audit_write_protection()
205 for_each_rmap_spte(rmap_head, &iter, sptep) { in audit_write_protection()
Dmmu.c1366 struct kvm_rmap_head *rmap_head) in pte_list_add() argument
1371 if (!rmap_head->val) { in pte_list_add()
1373 rmap_head->val = (unsigned long)spte; in pte_list_add()
1374 } else if (!(rmap_head->val & 1)) { in pte_list_add()
1377 desc->sptes[0] = (u64 *)rmap_head->val; in pte_list_add()
1379 rmap_head->val = (unsigned long)desc | 1; in pte_list_add()
1383 desc = (struct pte_list_desc *)(rmap_head->val & ~1ul); in pte_list_add()
1400 pte_list_desc_remove_entry(struct kvm_rmap_head *rmap_head, in pte_list_desc_remove_entry() argument
1413 rmap_head->val = (unsigned long)desc->sptes[0]; in pte_list_desc_remove_entry()
1418 rmap_head->val = (unsigned long)desc->more | 1; in pte_list_desc_remove_entry()
[all …]