Lines Matching refs:cap
131 unsigned long cap = 0; in __dl_bw_capacity() local
135 cap += capacity_orig_of(i); in __dl_bw_capacity()
137 return cap; in __dl_bw_capacity()
227 __dl_overflow(struct dl_bw *dl_b, unsigned long cap, u64 old_bw, u64 new_bw) in __dl_overflow() argument
230 cap_scale(dl_b->bw, cap) < dl_b->total_bw - old_bw + new_bw; in __dl_overflow()
2848 unsigned long cap; in sched_dl_overflow() local
2864 cap = dl_bw_capacity(cpu); in sched_dl_overflow()
2867 !__dl_overflow(dl_b, cap, 0, new_bw)) { in sched_dl_overflow()
2873 !__dl_overflow(dl_b, cap, p->dl.dl_bw, new_bw)) { in sched_dl_overflow()
3026 unsigned long flags, cap; in dl_cpuset_cpumask_can_shrink() local
3032 cap = __dl_bw_capacity(trial); in dl_cpuset_cpumask_can_shrink()
3034 if (__dl_overflow(cur_dl_b, cap, 0, 0)) in dl_cpuset_cpumask_can_shrink()
3061 unsigned long cap = dl_bw_capacity(cpu); in dl_bw_manage() local
3063 overflow = __dl_overflow(dl_b, cap, 0, dl_bw); in dl_bw_manage()