Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/kvm/lib/
Dguest_modes.c9 enum vm_guest_mode vm_mode_default;
86 void for_each_guest_mode(void (*func)(enum vm_guest_mode, void *), void *arg) in for_each_guest_mode() argument
Dmemstress.c124 struct kvm_vm *memstress_create_vm(enum vm_guest_mode mode, int nr_vcpus, in memstress_create_vm()
Dkvm_util.c370 static uint64_t vm_nr_pages_required(enum vm_guest_mode mode, in vm_nr_pages_required()
2109 vm_num_host_pages(enum vm_guest_mode mode, unsigned int num_guest_pages) in vm_num_host_pages()
2117 vm_num_guest_pages(enum vm_guest_mode mode, unsigned int num_host_pages) in vm_num_guest_pages()
2123 unsigned int vm_calc_num_guest_pages(enum vm_guest_mode mode, size_t size) in vm_calc_num_guest_pages()
/linux-6.12.1/tools/testing/selftests/kvm/include/
Dguest_modes.h19 void for_each_guest_mode(void (*func)(enum vm_guest_mode, void *), void *arg);
Dmemstress.h58 struct kvm_vm *memstress_create_vm(enum vm_guest_mode mode, int nr_vcpus,
Dkvm_util.h160 enum vm_guest_mode { enum
203 extern enum vm_guest_mode vm_mode_default;
966 unsigned int vm_calc_num_guest_pages(enum vm_guest_mode mode, size_t size);
967 unsigned int vm_num_host_pages(enum vm_guest_mode mode, unsigned int num_guest_pages);
968 unsigned int vm_num_guest_pages(enum vm_guest_mode mode, unsigned int num_host_pages);
970 vm_adjust_num_guest_pages(enum vm_guest_mode mode, unsigned int num_guest_pages) in vm_adjust_num_guest_pages()
/linux-6.12.1/tools/testing/selftests/kvm/
Dkvm_page_table_test.c235 static struct kvm_vm *pre_init_before_test(enum vm_guest_mode mode, void *arg) in pre_init_before_test()
341 static void run_test(enum vm_guest_mode mode, void *arg) in run_test()
Ddirty_log_test.c548 static void vm_dirty_log_verify(enum vm_guest_mode mode, unsigned long *bmap) in vm_dirty_log_verify()
666 static struct kvm_vm *create_vm(enum vm_guest_mode mode, struct kvm_vcpu **vcpu, in create_vm()
686 static void run_test(enum vm_guest_mode mode, void *arg) in run_test()
Dmemslot_modification_stress_test.c85 static void run_test(enum vm_guest_mode mode, void *arg) in run_test()
Daccess_tracking_perf_test.c303 static void run_test(enum vm_guest_mode mode, void *arg) in run_test()
Ddemand_paging_test.c152 static void run_test(enum vm_guest_mode mode, void *arg) in run_test()
Ddirty_log_perf_test.c136 static void run_test(enum vm_guest_mode mode, void *arg) in run_test()
/linux-6.12.1/tools/testing/selftests/kvm/x86_64/
Ddirty_log_page_splitting_test.c88 static void run_test(enum vm_guest_mode mode, void *unused) in run_test()
/linux-6.12.1/tools/testing/selftests/kvm/aarch64/
Dpage_fault_test.c637 static void print_test_banner(enum vm_guest_mode mode, struct test_params *p) in print_test_banner()
697 static void run_test(enum vm_guest_mode mode, void *arg) in run_test()