Searched refs:NR_VCPUS (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/tools/testing/selftests/kvm/aarch64/ |
D | vgic_init.c | 17 #define NR_VCPUS 4 macro 118 .size = NR_VCPUS * 0x20000, 206 addr = REDIST_REGION_ATTR_ADDR(NR_VCPUS, 0x100000, 0, 0); in subtest_dist_rdist() 232 addr = REDIST_REGION_ATTR_ADDR(NR_VCPUS, 0x100000, 2, 0); in subtest_v3_redist_regions() 336 struct kvm_vcpu *vcpus[NR_VCPUS]; in test_vgic_then_vcpus() 345 for (i = 1; i < NR_VCPUS; ++i) in test_vgic_then_vcpus() 357 struct kvm_vcpu *vcpus[NR_VCPUS]; in test_vcpus_then_vgic() 361 v = vm_gic_create_with_vcpus(gic_dev_type, NR_VCPUS, vcpus); in test_vcpus_then_vgic() 407 struct kvm_vcpu *vcpus[NR_VCPUS]; in test_v3_new_redist_regions() 413 v = vm_gic_create_with_vcpus(KVM_DEV_TYPE_ARM_VGIC_V3, NR_VCPUS, vcpus); in test_v3_new_redist_regions() [all …]
|
/linux-6.12.1/tools/testing/selftests/kvm/ |
D | steal_time.c | 24 #define NR_VCPUS 4 macro 27 static void *st_gva[NR_VCPUS]; 28 static uint64_t guest_stolen_time[NR_VCPUS]; 213 static vm_paddr_t st_gpa[NR_VCPUS]; 343 struct kvm_vcpu *vcpus[NR_VCPUS]; in main() 364 vm = vm_create_with_vcpus(NR_VCPUS, guest_code, vcpus); in main() 365 gpages = vm_calc_num_guest_pages(VM_MODE_DEFAULT, STEAL_TIME_SIZE * NR_VCPUS); in main() 371 ksft_set_plan(NR_VCPUS); in main() 374 for (i = 0; i < NR_VCPUS; ++i) { in main()
|
/linux-6.12.1/tools/testing/selftests/kvm/x86_64/ |
D | xapic_state_test.c | 173 const uint32_t NR_VCPUS = 3; in test_apic_id() local 174 struct kvm_vcpu *vcpus[NR_VCPUS]; in test_apic_id() 179 vm = vm_create_with_vcpus(NR_VCPUS, NULL, vcpus); in test_apic_id() 182 for (i = 0; i < NR_VCPUS; i++) { in test_apic_id()
|