Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/kvm/lib/x86_64/
Dvmx.c372 int target_level) in nested_create_pte() argument
378 pte->page_size = (current_level == target_level); in nested_create_pte()
389 TEST_ASSERT(current_level != target_level, in nested_create_pte()
400 uint64_t nested_paddr, uint64_t paddr, int target_level) in __nested_pg_map() argument
402 const uint64_t page_size = PG_LEVEL_SIZE(target_level); in __nested_pg_map()
433 nested_create_pte(vm, pte, nested_paddr, paddr, level, target_level); in __nested_pg_map()
Dprocessor.c158 int target_level) in virt_create_upper_pte() argument
166 if (current_level == target_level) in virt_create_upper_pte()
176 TEST_ASSERT(current_level != target_level, in virt_create_upper_pte()
/linux-6.12.1/arch/x86/kvm/mmu/
Dtdp_mmu.h53 int target_level, bool shared);
Dtdp_mmu.c1400 int target_level, bool shared) in tdp_mmu_split_huge_pages_root() argument
1418 for_each_tdp_pte_min_level(iter, root, target_level + 1, start, end) { in tdp_mmu_split_huge_pages_root()
1482 int target_level, bool shared) in kvm_tdp_mmu_try_split_huge_pages() argument
1489 r = tdp_mmu_split_huge_pages_root(kvm, root, start, end, target_level, shared); in kvm_tdp_mmu_try_split_huge_pages()
Dmmu.c6870 int target_level) in kvm_shadow_mmu_try_split_huge_pages() argument
6880 for (level = KVM_MAX_HUGEPAGE_LEVEL; level > target_level; level--) in kvm_shadow_mmu_try_split_huge_pages()
6889 int target_level) in kvm_mmu_try_split_huge_pages() argument
6895 kvm_shadow_mmu_try_split_huge_pages(kvm, memslot, start, end, target_level); in kvm_mmu_try_split_huge_pages()
6897 kvm_tdp_mmu_try_split_huge_pages(kvm, memslot, start, end, target_level, false); in kvm_mmu_try_split_huge_pages()
6907 int target_level) in kvm_mmu_slot_try_split_huge_pages() argument
6917 kvm_shadow_mmu_try_split_huge_pages(kvm, memslot, start, end, target_level); in kvm_mmu_slot_try_split_huge_pages()
6922 kvm_tdp_mmu_try_split_huge_pages(kvm, memslot, start, end, target_level, true); in kvm_mmu_slot_try_split_huge_pages()
/linux-6.12.1/drivers/iommu/intel/
Diommu.c808 unsigned long pfn, int *target_level, in pfn_to_dma_pte() argument
826 if (!*target_level && (dma_pte_superpage(pte) || !dma_pte_present(pte))) in pfn_to_dma_pte()
828 if (level == *target_level) in pfn_to_dma_pte()
858 if (!*target_level) in pfn_to_dma_pte()
859 *target_level = level; in pfn_to_dma_pte()
/linux-6.12.1/arch/x86/include/asm/
Dkvm_host.h1953 int target_level);
1957 int target_level);