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()685 return runq_check(&runq) + runq_check(&runq_pcpu[PCPU_GET(cpuid)]); in sched_runnable()1334 cpu = ts->ts_runq - &runq_pcpu[0]; in sched_add()1338 ts->ts_runq = &runq_pcpu[cpu]; in sched_add()1445 runq_length[ts->ts_runq - runq_pcpu]--; in sched_rem()1467 tdcpu = runq_choose(&runq_pcpu[PCPU_GET(cpuid)]); in sched_choose()1475 rq = &runq_pcpu[PCPU_GET(cpuid)]; in sched_choose()1535 ts->ts_runq = &runq_pcpu[cpu]; in sched_bind()1774 THREAD_CAN_SCHED(td, ts->ts_runq - runq_pcpu)) in sched_affinity()