Searched refs:vm_guest_mode (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.10/tools/testing/selftests/kvm/include/ |
D | kvm_util.h | 36 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()
|
D | perf_test_util.h | 93 static struct kvm_vm *create_vm(enum vm_guest_mode mode, int vcpus, in create_vm()
|
/Linux-v5.10/tools/testing/selftests/kvm/ |
D | dirty_log_test.c | 290 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()
|
D | dirty_log_perf_test.c | 95 static void run_test(enum vm_guest_mode mode, unsigned long iterations, in run_test()
|
D | demand_paging_test.c | 251 static void run_test(enum vm_guest_mode mode, bool use_uffd, in run_test()
|
/Linux-v5.10/tools/testing/selftests/kvm/lib/ |
D | kvm_util.c | 183 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()
|