Lines Matching refs:next_cpu_nr
113 int next_cpu_nr = sim_engine_next_cpu_nr (sd);
128 sim_events_preprocess (sd, last_cpu_nr >= nr_cpus, next_cpu_nr >= nr_cpus);
129 if (next_cpu_nr >= nr_cpus)
130 next_cpu_nr = 0;
134 engine_run_n (sd, next_cpu_nr, nr_cpus, max_insns, fast_p);
228 engine_run_n (SIM_DESC sd, int next_cpu_nr, int nr_cpus, int max_insns, int fast_p)
236 SIM_ASSERT (next_cpu_nr >= 0 && next_cpu_nr < nr_cpus);
251 while (next_cpu_nr < nr_cpus)
253 SIM_CPU *cpu = STATE_CPU (sd, next_cpu_nr);
255 (* engine_fns[next_cpu_nr]) (cpu);
256 ++next_cpu_nr;