Searched refs:vm_guest_mode_params (Results 1 – 4 of 4) sorted by relevance
189 const struct vm_guest_mode_params vm_guest_mode_params[] = { variable200 _Static_assert(sizeof(vm_guest_mode_params)/sizeof(struct vm_guest_mode_params) == NUM_VM_MODES,240 vm->pa_bits = vm_guest_mode_params[mode].pa_bits; in vm_create()241 vm->va_bits = vm_guest_mode_params[mode].va_bits; in vm_create()242 vm->page_size = vm_guest_mode_params[mode].page_size; in vm_create()243 vm->page_shift = vm_guest_mode_params[mode].page_shift; in vm_create()2322 vm_guest_mode_params[mode].page_shift, in vm_num_host_pages()2330 vm_guest_mode_params[mode].page_shift, false); in vm_num_guest_pages()2336 n = DIV_ROUND_UP(size, vm_guest_mode_params[mode].page_size); in vm_calc_num_guest_pages()
63 perf_test_args.guest_page_size = vm_guest_mode_params[mode].page_size; in perf_test_create_vm()
75 struct vm_guest_mode_params { struct81 extern const struct vm_guest_mode_params vm_guest_mode_params[]; argument
256 uint64_t guest_page_size = vm_guest_mode_params[mode].page_size; in pre_init_before_test()