Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/x86_64/
Dvmx.c398 uint64_t nested_paddr, uint64_t paddr, uint32_t eptp_memslot) in nested_pg_map() argument
406 TEST_ASSERT((nested_paddr % vm->page_size) == 0, in nested_pg_map()
409 nested_paddr, vm->page_size); in nested_pg_map()
410 TEST_ASSERT((nested_paddr >> vm->page_shift) <= vm->max_gfn, in nested_pg_map()
423 index[0] = (nested_paddr >> 12) & 0x1ffu; in nested_pg_map()
424 index[1] = (nested_paddr >> 21) & 0x1ffu; in nested_pg_map()
425 index[2] = (nested_paddr >> 30) & 0x1ffu; in nested_pg_map()
426 index[3] = (nested_paddr >> 39) & 0x1ffu; in nested_pg_map()
497 uint64_t nested_paddr, uint64_t paddr, uint64_t size, in nested_map() argument
503 TEST_ASSERT(nested_paddr + size > nested_paddr, "Vaddr overflow"); in nested_map()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/include/x86_64/
Dvmx.h614 uint64_t nested_paddr, uint64_t paddr, uint32_t eptp_memslot);
616 uint64_t nested_paddr, uint64_t paddr, uint64_t size,