Home
last modified time | relevance | path

Searched defs:nr_vcpus (Results 1 – 20 of 20) sorted by relevance

/Linux-v6.1/tools/testing/selftests/kvm/lib/
Dperf_test_util.c73 void perf_test_setup_vcpus(struct kvm_vm *vm, int nr_vcpus, in perf_test_setup_vcpus()
109 struct kvm_vm *perf_test_create_vm(enum vm_guest_mode mode, int nr_vcpus, in perf_test_create_vm()
232 uint64_t __weak perf_test_nested_pages(int nr_vcpus) in perf_test_nested_pages()
237 void __weak perf_test_setup_nested(struct kvm_vm *vm, int nr_vcpus, struct kvm_vcpu **vcpus) in perf_test_setup_nested()
263 void perf_test_start_vcpu_threads(int nr_vcpus, in perf_test_start_vcpu_threads()
288 void perf_test_join_vcpu_threads(int nr_vcpus) in perf_test_join_vcpu_threads()
Dkvm_util.c368 struct kvm_vm *__vm_create_with_vcpus(enum vm_guest_mode mode, uint32_t nr_vcpus, in __vm_create_with_vcpus()
/Linux-v6.1/tools/testing/selftests/kvm/
Daccess_tracking_perf_test.c78 int nr_vcpus; member
259 static void run_iteration(struct kvm_vm *vm, int nr_vcpus, const char *description) in run_iteration()
279 static void access_memory(struct kvm_vm *vm, int nr_vcpus, in access_memory()
287 static void mark_memory_idle(struct kvm_vm *vm, int nr_vcpus) in mark_memory_idle()
304 int nr_vcpus = params->nr_vcpus; in run_test() local
Ddirty_log_perf_test.c30 static void arch_setup_vm(struct kvm_vm *vm, unsigned int nr_vcpus) in arch_setup_vm()
47 static void arch_setup_vm(struct kvm_vm *vm, unsigned int nr_vcpus) in arch_setup_vm()
60 static int nr_vcpus = 1; variable
Dmemslot_modification_stress_test.c34 static int nr_vcpus = 1; variable
Dmax_guest_memory_test.c36 static int nr_vcpus; variable
Dkvm_page_table_test.c68 static uint32_t nr_vcpus = 1; variable
Ddemand_paging_test.c40 static int nr_vcpus = 1; variable
/Linux-v6.1/tools/testing/selftests/kvm/lib/x86_64/
Dperf_test_util.c52 uint64_t perf_test_nested_pages(int nr_vcpus) in perf_test_nested_pages()
80 void perf_test_setup_nested(struct kvm_vm *vm, int nr_vcpus, struct kvm_vcpu *vcpus[]) in perf_test_setup_nested()
/Linux-v6.1/tools/testing/selftests/kvm/aarch64/
Darch_timer.c46 int nr_vcpus; member
368 int nr_vcpus = test_args.nr_vcpus; in test_vm_create() local
Dvgic_init.c77 uint32_t nr_vcpus, in vm_gic_create_with_vcpus()
476 static struct vm_gic vm_gic_v3_create_with_vcpuids(int nr_vcpus, in vm_gic_v3_create_with_vcpuids()
/Linux-v6.1/tools/testing/selftests/kvm/x86_64/
Dset_boot_cpu_id.c76 static struct kvm_vm *create_vm(uint32_t nr_vcpus, uint32_t bsp_vcpu_id, in create_vm()
/Linux-v6.1/drivers/virt/nitro_enclaves/
Dne_pci_dev.h247 u64 nr_vcpus; member
272 u64 nr_vcpus; member
Dne_misc_dev.h76 unsigned int nr_vcpus; member
/Linux-v6.1/tools/testing/selftests/kvm/lib/aarch64/
Dvgic.c33 int vgic_v3_setup(struct kvm_vm *vm, unsigned int nr_vcpus, uint32_t nr_irqs, in vgic_v3_setup()
/Linux-v6.1/arch/arm64/kvm/vgic/
Dvgic-v4.c238 int nr_vcpus, ret; in vgic_v4_init() local
Dvgic-mmio-v2.c124 int nr_vcpus = atomic_read(&source_vcpu->kvm->online_vcpus); in vgic_mmio_write_sgir() local
Dvgic-mmio-v3.c869 int nr_vcpus = atomic_read(&kvm->online_vcpus); in vgic_v3_alloc_redist_region() local
/Linux-v6.1/arch/s390/kvm/
Dvsie.c1324 int nr_vcpus; in get_vsie_page() local
/Linux-v6.1/tools/testing/selftests/kvm/include/
Dkvm_util_base.h667 static inline struct kvm_vm *vm_create_with_vcpus(uint32_t nr_vcpus, in vm_create_with_vcpus()