Searched refs:rmap_head (Results 1 – 2 of 2) sorted by relevance
129 struct kvm_rmap_head *rmap_head; in inspect_spte_has_rmap() local150 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() local203 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()
1366 struct kvm_rmap_head *rmap_head) in pte_list_add() argument1371 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() argument1413 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 …]