Lines Matching refs:cpus
80 int cpus; in dl_bw_cpus() local
88 cpus = 0; in dl_bw_cpus()
91 cpus++; in dl_bw_cpus()
93 return cpus; in dl_bw_cpus()
2571 int cpu, cpus, ret = 0; in sched_dl_global_validate() local
2586 cpus = dl_bw_cpus(cpu); in sched_dl_global_validate()
2589 if (new_bw * cpus < dl_b->total_bw) in sched_dl_global_validate()
2658 int cpus, err = -1, cpu = task_cpu(p); in sched_dl_overflow() local
2675 cpus = dl_bw_cpus(cpu); in sched_dl_overflow()
2681 __dl_sub(dl_b, p->dl.dl_bw, cpus); in sched_dl_overflow()
2682 __dl_add(dl_b, new_bw, cpus); in sched_dl_overflow()
2693 __dl_sub(dl_b, p->dl.dl_bw, cpus); in sched_dl_overflow()
2694 __dl_add(dl_b, new_bw, cpus); in sched_dl_overflow()