Searched refs:max_gfn (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/x86_64/ |
D | vmx.c | 410 TEST_ASSERT((nested_paddr >> vm->page_shift) <= vm->max_gfn, in nested_pg_map() 413 paddr, vm->max_gfn, vm->page_size); in nested_pg_map() 418 TEST_ASSERT((paddr >> vm->page_shift) <= vm->max_gfn, in nested_pg_map() 421 paddr, vm->max_gfn, vm->page_size); in nested_pg_map()
|
D | processor.c | 247 TEST_ASSERT((paddr >> vm->page_shift) <= vm->max_gfn, in virt_pg_map() 250 paddr, vm->max_gfn, vm->page_size); in virt_pg_map()
|
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/ |
D | kvm_util_internal.h | 43 uint64_t max_gfn; member
|
D | kvm_util.c | 263 vm->max_gfn = ((1ULL << vm->pa_bits) >> vm->page_shift) - 1; in vm_create() 621 <= vm->max_gfn, "Physical range beyond maximum " in vm_userspace_mem_region_add() 625 guest_paddr, npages, vm->max_gfn, vm->page_size); in vm_userspace_mem_region_add() 1819 return vm->max_gfn; in vm_get_max_gfn()
|
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/s390x/ |
D | processor.c | 72 TEST_ASSERT((gpa >> vm->page_shift) <= vm->max_gfn, in virt_pg_map() 75 gva, vm->max_gfn, vm->page_size); in virt_pg_map()
|
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/aarch64/ |
D | processor.c | 103 TEST_ASSERT((paddr >> vm->page_shift) <= vm->max_gfn, in _virt_pg_map() 106 paddr, vm->max_gfn, vm->page_size); in _virt_pg_map()
|
/kernel/linux/linux-5.10/arch/x86/kvm/mmu/ |
D | tdp_mmu.c | 110 gfn_t max_gfn = 1ULL << (shadow_phys_bits - PAGE_SHIFT); in kvm_tdp_mmu_free_root() local 119 zap_gfn_range(kvm, root, 0, max_gfn, false, false); in kvm_tdp_mmu_free_root() 512 gfn_t max_gfn = 1ULL << (shadow_phys_bits - PAGE_SHIFT); in kvm_tdp_mmu_zap_all() local 515 flush = kvm_tdp_mmu_zap_gfn_range(kvm, 0, max_gfn); in kvm_tdp_mmu_zap_all()
|