Home
last modified time | relevance | path

Searched refs:vm_guest_mode (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/tools/testing/selftests/kvm/include/
Dkvm_util.h36 enum vm_guest_mode { enum
70 struct kvm_vm *vm_create(enum vm_guest_mode mode, uint64_t phy_pages, int perm);
266 unsigned int vm_calc_num_guest_pages(enum vm_guest_mode mode, size_t size);
267 unsigned int vm_num_host_pages(enum vm_guest_mode mode, unsigned int num_guest_pages);
268 unsigned int vm_num_guest_pages(enum vm_guest_mode mode, unsigned int num_host_pages);
270 vm_adjust_num_guest_pages(enum vm_guest_mode mode, unsigned int num_guest_pages) in vm_adjust_num_guest_pages()
Dperf_test_util.h93 static struct kvm_vm *create_vm(enum vm_guest_mode mode, int vcpus, in create_vm()
/Linux-v5.10/tools/testing/selftests/kvm/
Ddirty_log_test.c290 static void vm_dirty_log_verify(enum vm_guest_mode mode, unsigned long *bmap) in vm_dirty_log_verify()
357 static struct kvm_vm *create_vm(enum vm_guest_mode mode, uint32_t vcpuid, in create_vm()
378 static void run_test(enum vm_guest_mode mode, unsigned long iterations, in run_test()
Ddirty_log_perf_test.c95 static void run_test(enum vm_guest_mode mode, unsigned long iterations, in run_test()
Ddemand_paging_test.c251 static void run_test(enum vm_guest_mode mode, bool use_uffd, in run_test()
/Linux-v5.10/tools/testing/selftests/kvm/lib/
Dkvm_util.c183 struct kvm_vm *vm_create(enum vm_guest_mode mode, uint64_t phy_pages, int perm) in vm_create()
1846 vm_num_host_pages(enum vm_guest_mode mode, unsigned int num_guest_pages) in vm_num_host_pages()
1854 vm_num_guest_pages(enum vm_guest_mode mode, unsigned int num_host_pages) in vm_num_guest_pages()
1860 unsigned int vm_calc_num_guest_pages(enum vm_guest_mode mode, size_t size) in vm_calc_num_guest_pages()