Searched refs:runq_pcpu (Results 1 – 1 of 1) sorted by relevance
169 static struct runq runq_pcpu[MAXCPU]; variable188 runq_init(&runq_pcpu[i]); in setup_runqs()692 return runq_check(&runq) + runq_check(&runq_pcpu[PCPU_GET(cpuid)]); in sched_runnable()1341 cpu = ts->ts_runq - &runq_pcpu[0]; in sched_add()1345 ts->ts_runq = &runq_pcpu[cpu]; in sched_add()1452 runq_length[ts->ts_runq - runq_pcpu]--; in sched_rem()1474 tdcpu = runq_choose(&runq_pcpu[PCPU_GET(cpuid)]); in sched_choose()1482 rq = &runq_pcpu[PCPU_GET(cpuid)]; in sched_choose()1542 ts->ts_runq = &runq_pcpu[cpu]; in sched_bind()1781 THREAD_CAN_SCHED(td, ts->ts_runq - runq_pcpu)) in sched_affinity()