Lines Matching refs:dl_bw
47 static inline struct dl_bw *dl_bw_of(int i) in dl_bw_of()
51 return &cpu_rq(i)->rd->dl_bw; in dl_bw_of()
67 static inline struct dl_bw *dl_bw_of(int i) in dl_bw_of()
69 return &cpu_rq(i)->dl.dl_bw; in dl_bw_of()
79 void __add_running_bw(u64 dl_bw, struct dl_rq *dl_rq) in __add_running_bw() argument
84 dl_rq->running_bw += dl_bw; in __add_running_bw()
92 void __sub_running_bw(u64 dl_bw, struct dl_rq *dl_rq) in __sub_running_bw() argument
97 dl_rq->running_bw -= dl_bw; in __sub_running_bw()
106 void __add_rq_bw(u64 dl_bw, struct dl_rq *dl_rq) in __add_rq_bw() argument
111 dl_rq->this_bw += dl_bw; in __add_rq_bw()
116 void __sub_rq_bw(u64 dl_bw, struct dl_rq *dl_rq) in __sub_rq_bw() argument
121 dl_rq->this_bw -= dl_bw; in __sub_rq_bw()
132 __add_rq_bw(dl_se->dl_bw, dl_rq); in add_rq_bw()
139 __sub_rq_bw(dl_se->dl_bw, dl_rq); in sub_rq_bw()
146 __add_running_bw(dl_se->dl_bw, dl_rq); in add_running_bw()
153 __sub_running_bw(dl_se->dl_bw, dl_rq); in sub_running_bw()
179 __sub_rq_bw(p->dl.dl_bw, &rq->dl); in dl_change_utilization()
276 struct dl_bw *dl_b = dl_bw_of(task_cpu(p)); in task_non_contending()
281 __dl_sub(dl_b, p->dl.dl_bw, dl_bw_cpus(task_cpu(p))); in task_non_contending()
345 void init_dl_bw(struct dl_bw *dl_b) in init_dl_bw()
369 init_dl_bw(&dl_rq->dl_bw); in init_dl_rq()
1125 u64 u_act_min = (dl_se->dl_bw * rq->dl.bw_ratio) >> RATIO_SHIFT; in grub_reclaim()
1265 struct dl_bw *dl_b = dl_bw_of(task_cpu(p)); in inactive_task_timer()
1274 __dl_sub(dl_b, p->dl.dl_bw, dl_bw_cpus(task_cpu(p))); in inactive_task_timer()
2242 struct dl_bw *src_dl_b; in set_cpus_allowed_dl()
2251 __dl_sub(src_dl_b, p->dl.dl_bw, dl_bw_cpus(task_cpu(p))); in set_cpus_allowed_dl()
2434 struct dl_bw *dl_b; in sched_dl_global_validate()
2481 struct dl_bw *dl_b; in sched_dl_do_global()
2518 struct dl_bw *dl_b = dl_bw_of(task_cpu(p)); in sched_dl_overflow()
2528 if (new_bw == p->dl.dl_bw && task_has_dl_policy(p)) in sched_dl_overflow()
2541 __dl_sub(dl_b, p->dl.dl_bw, cpus); in sched_dl_overflow()
2545 !__dl_overflow(dl_b, cpus, p->dl.dl_bw, new_bw)) { in sched_dl_overflow()
2553 __dl_sub(dl_b, p->dl.dl_bw, cpus); in sched_dl_overflow()
2586 dl_se->dl_bw = to_ratio(dl_se->dl_period, dl_se->dl_runtime); in __setparam_dl()
2656 dl_se->dl_bw = 0; in __dl_clear_params()
2682 struct dl_bw *dl_b; in dl_task_can_attach()
2693 overflow = __dl_overflow(dl_b, cpus, 0, p->dl.dl_bw); in dl_task_can_attach()
2703 __dl_add(dl_b, p->dl.dl_bw, cpus); in dl_task_can_attach()
2716 struct dl_bw *cur_dl_b; in dl_cpuset_cpumask_can_shrink()
2736 struct dl_bw *dl_b; in dl_cpu_busy()