Lines Matching refs:i
45 int i; in for_each_guest_mode() local
47 for (i = 0; i < NUM_VM_MODES; ++i) { in for_each_guest_mode()
48 if (!guest_modes[i].enabled) in for_each_guest_mode()
50 TEST_ASSERT(guest_modes[i].supported, in for_each_guest_mode()
52 i, vm_guest_mode_string(i)); in for_each_guest_mode()
53 func(i, arg); in for_each_guest_mode()
59 int i; in guest_modes_help() local
65 for (i = 0; i < NUM_VM_MODES; ++i) { in guest_modes_help()
66 printf(" %d: %s%s\n", i, vm_guest_mode_string(i), in guest_modes_help()
67 guest_modes[i].supported ? " (supported)" : ""); in guest_modes_help()
75 int i; in guest_modes_cmdline() local
78 for (i = 0; i < NUM_VM_MODES; ++i) in guest_modes_cmdline()
79 guest_modes[i].enabled = false; in guest_modes_cmdline()