Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/kvm/lib/
Dkvm_util.c229 const struct vm_guest_mode_params vm_guest_mode_params[] = { variable
247 _Static_assert(sizeof(vm_guest_mode_params)/sizeof(struct vm_guest_mode_params) == NUM_VM_MODES,
283 vm->pa_bits = vm_guest_mode_params[vm->mode].pa_bits; in ____vm_create()
284 vm->va_bits = vm_guest_mode_params[vm->mode].va_bits; in ____vm_create()
285 vm->page_size = vm_guest_mode_params[vm->mode].page_size; in ____vm_create()
286 vm->page_shift = vm_guest_mode_params[vm->mode].page_shift; in ____vm_create()
374 uint64_t page_size = vm_guest_mode_params[mode].page_size; in vm_nr_pages_required()
2112 vm_guest_mode_params[mode].page_shift, in vm_num_host_pages()
2120 vm_guest_mode_params[mode].page_shift, false); in vm_num_guest_pages()
2126 n = DIV_ROUND_UP(size, vm_guest_mode_params[mode].page_size); in vm_calc_num_guest_pages()
Dmemstress.c145 args->guest_page_size = vm_guest_mode_params[mode].page_size; in memstress_create_vm()
/linux-6.12.1/tools/testing/selftests/kvm/
Dpre_fault_memory_test.c83 alignment = guest_page_size = vm_guest_mode_params[VM_MODE_DEFAULT].page_size; in __test_pre_fault_memory()
Dkvm_page_table_test.c241 uint64_t guest_page_size = vm_guest_mode_params[mode].page_size; in pre_init_before_test()
Dmemslot_perf_test.c294 guest_page_size = vm_guest_mode_params[VM_MODE_DEFAULT].page_size; in prepare_vm()
927 uint32_t guest_page_size = vm_guest_mode_params[VM_MODE_DEFAULT].page_size; in check_memory_sizes()
/linux-6.12.1/tools/testing/selftests/kvm/include/
Dkvm_util.h238 struct vm_guest_mode_params { struct
244 extern const struct vm_guest_mode_params vm_guest_mode_params[]; argument
/linux-6.12.1/tools/testing/selftests/kvm/aarch64/
Dvgic_init.c742 pa_bits = vm_guest_mode_params[VM_MODE_DEFAULT].pa_bits; in main()