Lines Matching refs:CPUState
35 static CPUState *cur_cpu;
36 static CPUState *next_cpu;
42 CPUState *env; in hw_error()
70 static int cpu_can_run(CPUState *env) in cpu_can_run()
79 static int cpu_has_work(CPUState *env) in cpu_has_work()
94 CPUState *env; in tcg_has_work()
191 CPUState *env = _env; in qemu_init_vcpu()
222 CPUState *env = cpu_single_env; in qemu_notify_event()
308 static void qemu_wait_io_event(CPUState *env) in qemu_wait_io_event()
331 static int qemu_cpu_exec(CPUState *env);
335 CPUState *env = arg; in kvm_cpu_thread_fn()
362 CPUState *env = arg; in tcg_cpu_thread_fn()
387 CPUState *env = _env; in qemu_cpu_kick()
468 CPUState *penv = first_cpu; in all_vcpus_paused()
473 penv = (CPUState *)penv->next_cpu; in all_vcpus_paused()
481 CPUState *penv = first_cpu; in pause_all_vcpus()
487 penv = (CPUState *)penv->next_cpu; in pause_all_vcpus()
495 penv = (CPUState *)penv->next_cpu; in pause_all_vcpus()
502 CPUState *penv = first_cpu; in resume_all_vcpus()
509 penv = (CPUState *)penv->next_cpu; in resume_all_vcpus()
515 CPUState *env = _env; in tcg_init_vcpu()
532 static void kvm_start_vcpu(CPUState *env) in kvm_start_vcpu()
547 CPUState *env = _env; in qemu_init_vcpu()
582 static int qemu_cpu_exec(CPUState *env) in qemu_cpu_exec()
638 CPUState *env = cur_cpu = next_cpu; in tcg_cpu_exec()