Lines Matching refs:huge_sptep

6157 static struct kvm_mmu_page *shadow_mmu_get_sp_for_split(struct kvm *kvm, u64 *huge_sptep)  in shadow_mmu_get_sp_for_split()  argument
6159 struct kvm_mmu_page *huge_sp = sptep_to_sp(huge_sptep); in shadow_mmu_get_sp_for_split()
6165 gfn = kvm_mmu_page_get_gfn(huge_sp, spte_index(huge_sptep)); in shadow_mmu_get_sp_for_split()
6166 access = kvm_mmu_page_get_access(huge_sp, spte_index(huge_sptep)); in shadow_mmu_get_sp_for_split()
6174 role = kvm_mmu_child_role(huge_sptep, /*direct=*/true, access); in shadow_mmu_get_sp_for_split()
6186 u64 *huge_sptep) in shadow_mmu_split_huge_page() argument
6190 u64 huge_spte = READ_ONCE(*huge_sptep); in shadow_mmu_split_huge_page()
6197 sp = shadow_mmu_get_sp_for_split(kvm, huge_sptep); in shadow_mmu_split_huge_page()
6227 __link_shadow_page(kvm, cache, huge_sptep, sp, flush); in shadow_mmu_split_huge_page()
6232 u64 *huge_sptep) in shadow_mmu_try_split_huge_page() argument
6234 struct kvm_mmu_page *huge_sp = sptep_to_sp(huge_sptep); in shadow_mmu_try_split_huge_page()
6240 gfn = kvm_mmu_page_get_gfn(huge_sp, spte_index(huge_sptep)); in shadow_mmu_try_split_huge_page()
6242 spte = *huge_sptep; in shadow_mmu_try_split_huge_page()
6262 shadow_mmu_split_huge_page(kvm, slot, huge_sptep); in shadow_mmu_try_split_huge_page()
6275 u64 *huge_sptep; in shadow_mmu_try_split_huge_pages() local
6279 for_each_rmap_spte(rmap_head, &iter, huge_sptep) { in shadow_mmu_try_split_huge_pages()
6280 sp = sptep_to_sp(huge_sptep); in shadow_mmu_try_split_huge_pages()
6287 if (WARN_ON_ONCE(!is_large_pte(*huge_sptep))) in shadow_mmu_try_split_huge_pages()
6298 r = shadow_mmu_try_split_huge_page(kvm, slot, huge_sptep); in shadow_mmu_try_split_huge_pages()