Home
last modified time | relevance | path

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

/linux-6.1.9/arch/x86/kvm/mmu/
Dmmu.c867 struct kvm_rmap_head *rmap_head) in pte_list_add() argument
872 if (!rmap_head->val) { in pte_list_add()
874 rmap_head->val = (unsigned long)spte; in pte_list_add()
875 } else if (!(rmap_head->val & 1)) { in pte_list_add()
878 desc->sptes[0] = (u64 *)rmap_head->val; in pte_list_add()
881 rmap_head->val = (unsigned long)desc | 1; in pte_list_add()
885 desc = (struct pte_list_desc *)(rmap_head->val & ~1ul); in pte_list_add()
903 pte_list_desc_remove_entry(struct kvm_rmap_head *rmap_head, in pte_list_desc_remove_entry() argument
915 rmap_head->val = 0; in pte_list_desc_remove_entry()
920 rmap_head->val = (unsigned long)desc->more | 1; in pte_list_desc_remove_entry()
[all …]
Dmmu_internal.h168 unsigned int pte_list_count(struct kvm_rmap_head *rmap_head);