Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/kvm/lib/
Dkvm_util.c168 const struct vm_guest_mode_params vm_guest_mode_params[] = { variable
185 _Static_assert(sizeof(vm_guest_mode_params)/sizeof(struct vm_guest_mode_params) == NUM_VM_MODES,
206 vm->pa_bits = vm_guest_mode_params[mode].pa_bits; in ____vm_create()
207 vm->va_bits = vm_guest_mode_params[mode].va_bits; in ____vm_create()
208 vm->page_size = vm_guest_mode_params[mode].page_size; in ____vm_create()
209 vm->page_shift = vm_guest_mode_params[mode].page_shift; in ____vm_create()
1897 vm_guest_mode_params[mode].page_shift, in vm_num_host_pages()
1905 vm_guest_mode_params[mode].page_shift, false); in vm_num_guest_pages()
1911 n = DIV_ROUND_UP(size, vm_guest_mode_params[mode].page_size); in vm_calc_num_guest_pages()
Dperf_test_util.c130 pta->guest_page_size = vm_guest_mode_params[mode].page_size; in perf_test_create_vm()
/linux-6.1.9/tools/testing/selftests/kvm/include/
Dkvm_util_base.h168 struct vm_guest_mode_params { struct
174 extern const struct vm_guest_mode_params vm_guest_mode_params[]; argument
/linux-6.1.9/tools/testing/selftests/kvm/
Dkvm_page_table_test.c243 uint64_t guest_page_size = vm_guest_mode_params[mode].page_size; in pre_init_before_test()
/linux-6.1.9/tools/testing/selftests/kvm/aarch64/
Dvgic_init.c696 pa_bits = vm_guest_mode_params[VM_MODE_DEFAULT].pa_bits; in main()