Home
last modified time | relevance | path

Searched refs:vm_guest_mode_params (Results 1 – 4 of 4) sorted by relevance

/tools/testing/selftests/kvm/lib/
Dkvm_util.c189 const struct vm_guest_mode_params vm_guest_mode_params[] = { variable
200 _Static_assert(sizeof(vm_guest_mode_params)/sizeof(struct vm_guest_mode_params) == NUM_VM_MODES,
240 vm->pa_bits = vm_guest_mode_params[mode].pa_bits; in vm_create()
241 vm->va_bits = vm_guest_mode_params[mode].va_bits; in vm_create()
242 vm->page_size = vm_guest_mode_params[mode].page_size; in vm_create()
243 vm->page_shift = vm_guest_mode_params[mode].page_shift; in vm_create()
2322 vm_guest_mode_params[mode].page_shift, in vm_num_host_pages()
2330 vm_guest_mode_params[mode].page_shift, false); in vm_num_guest_pages()
2336 n = DIV_ROUND_UP(size, vm_guest_mode_params[mode].page_size); in vm_calc_num_guest_pages()
Dperf_test_util.c63 perf_test_args.guest_page_size = vm_guest_mode_params[mode].page_size; in perf_test_create_vm()
/tools/testing/selftests/kvm/include/
Dkvm_util.h75 struct vm_guest_mode_params { struct
81 extern const struct vm_guest_mode_params vm_guest_mode_params[]; argument
/tools/testing/selftests/kvm/
Dkvm_page_table_test.c256 uint64_t guest_page_size = vm_guest_mode_params[mode].page_size; in pre_init_before_test()