Searched refs:runq_pcpu (Results 1 – 1 of 1) sorted by relevance
167 static struct runq runq_pcpu[MAXCPU]; variable186 runq_init(&runq_pcpu[i]); in setup_runqs()690 return runq_check(&runq) + runq_check(&runq_pcpu[PCPU_GET(cpuid)]); in sched_runnable()1367 cpu = ts->ts_runq - &runq_pcpu[0]; in sched_add()1371 ts->ts_runq = &runq_pcpu[cpu]; in sched_add()1478 runq_length[ts->ts_runq - runq_pcpu]--; in sched_rem()1500 tdcpu = runq_choose(&runq_pcpu[PCPU_GET(cpuid)]); in sched_choose()1508 rq = &runq_pcpu[PCPU_GET(cpuid)]; in sched_choose()1572 ts->ts_runq = &runq_pcpu[cpu]; in sched_bind()1830 THREAD_CAN_SCHED(td, ts->ts_runq - runq_pcpu)) in sched_affinity()