Home
last modified time | relevance | path

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

/linux-6.6.21/tools/testing/selftests/kvm/lib/
Dkvm_util.c174 const struct vm_guest_mode_params vm_guest_mode_params[] = { variable
191 _Static_assert(sizeof(vm_guest_mode_params)/sizeof(struct vm_guest_mode_params) == NUM_VM_MODES,
227 vm->pa_bits = vm_guest_mode_params[mode].pa_bits; in ____vm_create()
228 vm->va_bits = vm_guest_mode_params[mode].va_bits; in ____vm_create()
229 vm->page_size = vm_guest_mode_params[mode].page_size; in ____vm_create()
230 vm->page_shift = vm_guest_mode_params[mode].page_shift; in ____vm_create()
315 uint64_t page_size = vm_guest_mode_params[mode].page_size; in vm_nr_pages_required()
2036 vm_guest_mode_params[mode].page_shift, in vm_num_host_pages()
2044 vm_guest_mode_params[mode].page_shift, false); in vm_num_guest_pages()
2050 n = DIV_ROUND_UP(size, vm_guest_mode_params[mode].page_size); in vm_calc_num_guest_pages()
Dmemstress.c146 args->guest_page_size = vm_guest_mode_params[mode].page_size; in memstress_create_vm()
/linux-6.6.21/tools/testing/selftests/kvm/include/
Dkvm_util_base.h226 struct vm_guest_mode_params { struct
232 extern const struct vm_guest_mode_params vm_guest_mode_params[]; argument
/linux-6.6.21/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()
Dmemslot_perf_test.c291 guest_page_size = vm_guest_mode_params[VM_MODE_DEFAULT].page_size; in prepare_vm()
918 uint32_t guest_page_size = vm_guest_mode_params[VM_MODE_DEFAULT].page_size; in check_memory_sizes()
/linux-6.6.21/tools/testing/selftests/kvm/aarch64/
Dvgic_init.c694 pa_bits = vm_guest_mode_params[VM_MODE_DEFAULT].pa_bits; in main()