Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/testing/selftests/kvm/lib/
A Dguest_modes.c12 struct guest_mode guest_modes[NUM_VM_MODES];
26 vm_mode_default = NUM_VM_MODES; in guest_modes_append_default()
53 for (i = 0; vm_mode_default == NUM_VM_MODES && i < NUM_VM_MODES; i++) { in guest_modes_append_default()
58 TEST_ASSERT(vm_mode_default != NUM_VM_MODES, in guest_modes_append_default()
94 for (i = 0; i < NUM_VM_MODES; ++i) { in for_each_guest_mode()
112 for (i = 0; i < NUM_VM_MODES; ++i) { in guest_modes_help()
125 for (i = 0; i < NUM_VM_MODES; ++i) in guest_modes_cmdline()
131 TEST_ASSERT(mode < NUM_VM_MODES, "Guest mode ID %d too big", mode); in guest_modes_cmdline()
A Dkvm_util.c161 _Static_assert(sizeof(strings)/sizeof(char *) == NUM_VM_MODES, in vm_guest_mode_string()
164 TEST_ASSERT(i < NUM_VM_MODES, "Guest mode ID %d too big", i); in vm_guest_mode_string()
186 _Static_assert(sizeof(vm_guest_mode_params)/sizeof(struct vm_guest_mode_params) == NUM_VM_MODES,
/linux-6.3-rc2/tools/testing/selftests/kvm/include/
A Dguest_modes.h12 extern struct guest_mode guest_modes[NUM_VM_MODES];
A Dkvm_util_base.h167 NUM_VM_MODES, enumerator

Completed in 10 milliseconds