Home
last modified time | relevance | path

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

/Linux-v5.10/tools/testing/selftests/kvm/
Ddirty_log_perf_test.c240 static struct guest_mode guest_modes[NUM_VM_MODES];
262 for (i = 0; i < NUM_VM_MODES; ++i) { in help()
330 for (i = 0; i < NUM_VM_MODES; ++i) in main()
335 TEST_ASSERT(mode < NUM_VM_MODES, in main()
366 for (i = 0; i < NUM_VM_MODES; ++i) { in main()
Ddemand_paging_test.c376 static struct guest_mode guest_modes[NUM_VM_MODES];
393 for (i = 0; i < NUM_VM_MODES; ++i) { in help()
444 for (i = 0; i < NUM_VM_MODES; ++i) in main()
449 TEST_ASSERT(mode < NUM_VM_MODES, in main()
476 for (i = 0; i < NUM_VM_MODES; ++i) { in main()
Ddirty_log_test.c495 static struct guest_mode guest_modes[NUM_VM_MODES];
522 for (i = 0; i < NUM_VM_MODES; ++i) { in help()
574 for (i = 0; i < NUM_VM_MODES; ++i) in main()
579 TEST_ASSERT(mode < NUM_VM_MODES, in main()
618 for (i = 0; i < NUM_VM_MODES; ++i) { in main()
/Linux-v5.10/tools/testing/selftests/kvm/include/
Dkvm_util.h44 NUM_VM_MODES, enumerator
/Linux-v5.10/tools/testing/selftests/kvm/lib/
Dkvm_util.c142 _Static_assert(sizeof(vm_guest_mode_string)/sizeof(char *) == NUM_VM_MODES,
161 _Static_assert(sizeof(vm_guest_mode_params)/sizeof(struct vm_guest_mode_params) == NUM_VM_MODES,