Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/kvm/include/
A Dkvm_util.h41 enum vm_guest_mode { enum
94 struct kvm_vm *vm_create(enum vm_guest_mode mode, uint64_t phy_pages, int perm);
305 struct kvm_vm *vm_create_with_vcpus(enum vm_guest_mode mode, uint32_t nr_vcpus,
328 unsigned int vm_calc_num_guest_pages(enum vm_guest_mode mode, size_t size);
329 unsigned int vm_num_host_pages(enum vm_guest_mode mode, unsigned int num_guest_pages);
330 unsigned int vm_num_guest_pages(enum vm_guest_mode mode, unsigned int num_host_pages);
332 vm_adjust_num_guest_pages(enum vm_guest_mode mode, unsigned int num_guest_pages) in vm_adjust_num_guest_pages()
A Dguest_modes.h19 void for_each_guest_mode(void (*func)(enum vm_guest_mode, void *), void *arg);
A Dperf_test_util.h42 struct kvm_vm *perf_test_create_vm(enum vm_guest_mode mode, int vcpus,
/linux/tools/testing/selftests/kvm/lib/
A Dguest_modes.c43 void for_each_guest_mode(void (*func)(enum vm_guest_mode, void *), void *arg) in for_each_guest_mode() argument
A Dkvm_util.c217 struct kvm_vm *vm_create(enum vm_guest_mode mode, uint64_t phy_pages, int perm) in vm_create()
338 struct kvm_vm *vm_create_with_vcpus(enum vm_guest_mode mode, uint32_t nr_vcpus, in vm_create_with_vcpus()
2365 vm_num_host_pages(enum vm_guest_mode mode, unsigned int num_guest_pages) in vm_num_host_pages()
2373 vm_num_guest_pages(enum vm_guest_mode mode, unsigned int num_host_pages) in vm_num_guest_pages()
2379 unsigned int vm_calc_num_guest_pages(enum vm_guest_mode mode, size_t size) in vm_calc_num_guest_pages()
A Dperf_test_util.c104 struct kvm_vm *perf_test_create_vm(enum vm_guest_mode mode, int vcpus, in perf_test_create_vm()
/linux/tools/testing/selftests/kvm/
A Ddirty_log_test.c556 static void vm_dirty_log_verify(enum vm_guest_mode mode, unsigned long *bmap) in vm_dirty_log_verify()
674 static struct kvm_vm *create_vm(enum vm_guest_mode mode, uint32_t vcpuid, in create_vm()
701 static void run_test(enum vm_guest_mode mode, void *arg) in run_test()
A Dkvm_page_table_test.c249 static struct kvm_vm *pre_init_before_test(enum vm_guest_mode mode, void *arg) in pre_init_before_test()
364 static void run_test(enum vm_guest_mode mode, void *arg) in run_test()
A Dmemslot_modification_stress_test.c96 static void run_test(enum vm_guest_mode mode, void *arg) in run_test()
A Daccess_tracking_perf_test.c295 static void run_test(enum vm_guest_mode mode, void *arg) in run_test()
A Ddirty_log_perf_test.c167 static void run_test(enum vm_guest_mode mode, void *arg) in run_test()
A Ddemand_paging_test.c279 static void run_test(enum vm_guest_mode mode, void *arg) in run_test()

Completed in 42 milliseconds