Searched refs:vm_guest_mode_params (Results 1 – 6 of 6) sorted by relevance
174 const struct vm_guest_mode_params vm_guest_mode_params[] = { variable191 _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()
146 args->guest_page_size = vm_guest_mode_params[mode].page_size; in memstress_create_vm()
226 struct vm_guest_mode_params { struct232 extern const struct vm_guest_mode_params vm_guest_mode_params[]; argument
243 uint64_t guest_page_size = vm_guest_mode_params[mode].page_size; in pre_init_before_test()
291 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()
694 pa_bits = vm_guest_mode_params[VM_MODE_DEFAULT].pa_bits; in main()