Home
last modified time | relevance | path

Searched refs:vcpus (Results 1 – 14 of 14) sorted by relevance

/external/crosvm/tests/
Dmini_plugin_template.c129 struct crosvm_vcpu *vcpus[32]; in main() local
134 ret = crosvm_get_vcpu(crosvm, vcpu_count, &vcpus[vcpu_count]); in main()
142 ctxs[vcpu_count].vcpu = vcpus[vcpu_count]; in main()
Dplugin_dirty_log.c137 struct crosvm_vcpu *vcpus[32]; in main() local
141 ret = crosvm_get_vcpu(crosvm, vcpu_count, &vcpus[vcpu_count]); in main()
149 pthread_create(&vcpu_threads[vcpu_count], NULL, vcpu_thread, vcpus[vcpu_count]); in main()
Dplugin_ioevent.c161 struct crosvm_vcpu *vcpus[32]; in main() local
165 ret = crosvm_get_vcpu(crosvm, vcpu_count, &vcpus[vcpu_count]); in main()
173 pthread_create(&vcpu_threads[vcpu_count], NULL, vcpu_thread, vcpus[vcpu_count]); in main()
Dplugin_irqfd.c181 struct crosvm_vcpu *vcpus[32]; in main() local
186 ret = crosvm_get_vcpu(crosvm, vcpu_count, &vcpus[vcpu_count]); in main()
194 ctxs[vcpu_count].vcpu = vcpus[vcpu_count]; in main()
Dplugin_adder.c178 struct crosvm_vcpu *vcpus[32]; in main() local
182 ret = crosvm_get_vcpu(crosvm, vcpu_count, &vcpus[vcpu_count]); in main()
190 pthread_create(&vcpu_threads[vcpu_count], NULL, vcpu_thread, vcpus[vcpu_count]); in main()
/external/linux-kselftest/tools/testing/selftests/rcutorture/bin/
Dkvm-test-1-run.sh136 vcpus=`identify_qemu_vcpus`
137 if test $cpu_count -gt $vcpus
139 echo CPU count limited from $cpu_count to $vcpus | tee -a $resdir/Warnings
140 cpu_count=$vcpus
/external/crosvm/crosvm_plugin/src/
Dlib.rs264 vcpus: Arc<Vec<crosvm_vcpu>>, field
274 vcpus: Default::default(), in from_connection()
283 vcpus: Arc<Vec<crosvm_vcpu>>, in new()
290 vcpus, in new()
338 self.vcpus.clone(), in try_clone()
367 let mut vcpus = Vec::with_capacity(files.len() / 2); in load_all_vcpus() localVariable
371 vcpus.push(crosvm_vcpu::new(fd_cast(read_pipe), fd_cast(write_pipe))); in load_all_vcpus()
375 let self_vcpus = Arc::get_mut(&mut self.vcpus).unwrap(); in load_all_vcpus()
376 *self_vcpus = vcpus; in load_all_vcpus()
604 if let Some(vcpu) = self.vcpus.get(cpu_id as usize) { in get_vcpu()
/external/crosvm/aarch64/src/
Dlib.rs216 let mut vcpus = Vec::with_capacity(vcpu_count as usize); in build_vm() localVariable
227 vcpus.push(vcpu); in build_vm()
307 vcpus, in build_vm()
/external/bcc/scripts/
Dbuild_bpf_demo.sh105 --vcpus=$CPU \
/external/autotest/client/tests/ffsb/
DREADME42 vcpus exported by QEMU-KVM
/external/tensorflow/tensorflow/python/framework/
Dconfig_test.py374 vcpus = config.list_logical_devices('CPU')
375 self.assertEqual(len(vcpus), 2)
389 for vcpu in vcpus:
/external/crosvm/x86_64/src/
Dlib.rs329 let mut vcpus = Vec::with_capacity(vcpu_count as usize); in build_vm() localVariable
342 vcpus.push(vcpu); in build_vm()
402 vcpus, in build_vm()
/external/crosvm/arch/src/
Dlib.rs52 pub vcpus: Vec<Vcpu>, field
/external/crosvm/src/
Dlinux.rs1476 let mut vcpu_handles = Vec::with_capacity(linux.vcpus.len()); in run_control()
1477 let vcpu_thread_barrier = Arc::new(Barrier::new(linux.vcpus.len() + 1)); in run_control()
1480 for (cpu_id, vcpu) in linux.vcpus.into_iter().enumerate() { in run_control()