Home
last modified time | relevance | path

Searched refs:NUM_VM_MODES (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/tools/testing/selftests/kvm/lib/
Dguest_modes.c12 struct guest_mode guest_modes[NUM_VM_MODES];
43 vm_mode_default = ipa4k >= 40 ? VM_MODE_P40V48_4K : NUM_VM_MODES; in guest_modes_append_default()
49 for (i = 0; vm_mode_default == NUM_VM_MODES && i < NUM_VM_MODES; i++) { in guest_modes_append_default()
54 TEST_ASSERT(vm_mode_default != NUM_VM_MODES, in guest_modes_append_default()
90 for (i = 0; i < NUM_VM_MODES; ++i) { in for_each_guest_mode()
108 for (i = 0; i < NUM_VM_MODES; ++i) { in guest_modes_help()
121 for (i = 0; i < NUM_VM_MODES; ++i) in guest_modes_cmdline()
127 TEST_ASSERT(mode < NUM_VM_MODES, "Guest mode ID %d too big", mode); in guest_modes_cmdline()
Dkvm_util.c221 _Static_assert(sizeof(strings)/sizeof(char *) == NUM_VM_MODES, in vm_guest_mode_string()
224 TEST_ASSERT(i < NUM_VM_MODES, "Guest mode ID %d too big", i); in vm_guest_mode_string()
247 _Static_assert(sizeof(vm_guest_mode_params)/sizeof(struct vm_guest_mode_params) == NUM_VM_MODES,
/linux-6.12.1/tools/testing/selftests/kvm/include/
Dguest_modes.h12 extern struct guest_mode guest_modes[NUM_VM_MODES];
Dkvm_util.h177 NUM_VM_MODES, enumerator