Home
last modified time | relevance | path

Searched refs:target_level (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/tools/testing/selftests/kvm/lib/x86_64/
Dvmx.c392 int target_level) in nested_create_pte() argument
398 pte->page_size = (current_level == target_level); in nested_create_pte()
409 TEST_ASSERT(current_level != target_level, in nested_create_pte()
420 uint64_t nested_paddr, uint64_t paddr, int target_level) in __nested_pg_map() argument
422 const uint64_t page_size = PG_LEVEL_SIZE(target_level); in __nested_pg_map()
453 nested_create_pte(vm, pte, nested_paddr, paddr, level, target_level); in __nested_pg_map()
Dprocessor.c148 int target_level) in virt_create_upper_pte() argument
154 if (current_level == target_level) in virt_create_upper_pte()
164 TEST_ASSERT(current_level != target_level, in virt_create_upper_pte()
/linux-6.1.9/arch/x86/kvm/mmu/
Dtdp_mmu.h51 int target_level, bool shared);
Dtdp_mmu.c1518 int target_level, bool shared) in tdp_mmu_split_huge_pages_root() argument
1537 for_each_tdp_pte_min_level(iter, root, target_level + 1, start, end) { in tdp_mmu_split_huge_pages_root()
1585 int target_level, bool shared) in kvm_tdp_mmu_try_split_huge_pages() argument
1593 r = tdp_mmu_split_huge_pages_root(kvm, root, start, end, target_level, shared); in kvm_tdp_mmu_try_split_huge_pages()
Dmmu.c6318 int target_level) in kvm_shadow_mmu_try_split_huge_pages() argument
6328 for (level = KVM_MAX_HUGEPAGE_LEVEL; level > target_level; level--) { in kvm_shadow_mmu_try_split_huge_pages()
6338 int target_level) in kvm_mmu_try_split_huge_pages() argument
6344 kvm_shadow_mmu_try_split_huge_pages(kvm, memslot, start, end, target_level); in kvm_mmu_try_split_huge_pages()
6346 kvm_tdp_mmu_try_split_huge_pages(kvm, memslot, start, end, target_level, false); in kvm_mmu_try_split_huge_pages()
6356 int target_level) in kvm_mmu_slot_try_split_huge_pages() argument
6366 kvm_shadow_mmu_try_split_huge_pages(kvm, memslot, start, end, target_level); in kvm_mmu_slot_try_split_huge_pages()
6371 kvm_tdp_mmu_try_split_huge_pages(kvm, memslot, start, end, target_level, true); in kvm_mmu_slot_try_split_huge_pages()
/linux-6.1.9/drivers/iommu/intel/
Diommu.c928 unsigned long pfn, int *target_level) in pfn_to_dma_pte() argument
947 if (!*target_level && (dma_pte_superpage(pte) || !dma_pte_present(pte))) in pfn_to_dma_pte()
949 if (level == *target_level) in pfn_to_dma_pte()
978 if (!*target_level) in pfn_to_dma_pte()
979 *target_level = level; in pfn_to_dma_pte()
/linux-6.1.9/arch/x86/include/asm/
Dkvm_host.h1736 int target_level);
1740 int target_level);