Searched refs:vm_guest_mode_params (Results 1 – 7 of 7) sorted by relevance
229 const struct vm_guest_mode_params vm_guest_mode_params[] = { variable247 _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()
145 args->guest_page_size = vm_guest_mode_params[mode].page_size; in memstress_create_vm()
83 alignment = guest_page_size = vm_guest_mode_params[VM_MODE_DEFAULT].page_size; in __test_pre_fault_memory()
241 uint64_t guest_page_size = vm_guest_mode_params[mode].page_size; in pre_init_before_test()
294 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()
238 struct vm_guest_mode_params { struct244 extern const struct vm_guest_mode_params vm_guest_mode_params[]; argument
742 pa_bits = vm_guest_mode_params[VM_MODE_DEFAULT].pa_bits; in main()