Lines Matching refs:dl_b
307 static inline void __dl_update(struct dl_bw *dl_b, s64 bw);
310 void __dl_sub(struct dl_bw *dl_b, u64 tsk_bw, int cpus) in __dl_sub() argument
312 dl_b->total_bw -= tsk_bw; in __dl_sub()
313 __dl_update(dl_b, (s32)tsk_bw / cpus); in __dl_sub()
317 void __dl_add(struct dl_bw *dl_b, u64 tsk_bw, int cpus) in __dl_add() argument
319 dl_b->total_bw += tsk_bw; in __dl_add()
320 __dl_update(dl_b, -((s32)tsk_bw / cpus)); in __dl_add()
323 static inline bool __dl_overflow(struct dl_bw *dl_b, unsigned long cap, in __dl_overflow() argument
326 return dl_b->bw != -1 && in __dl_overflow()
327 cap_scale(dl_b->bw, cap) < dl_b->total_bw - old_bw + new_bw; in __dl_overflow()
345 extern void init_dl_bw(struct dl_bw *dl_b);
2382 extern void init_dl_bandwidth(struct dl_bandwidth *dl_b, u64 period, u64 runtime);
2812 void __dl_update(struct dl_bw *dl_b, s64 bw) in __dl_update() argument
2814 struct root_domain *rd = container_of(dl_b, struct root_domain, dl_bw); in __dl_update()
2827 void __dl_update(struct dl_bw *dl_b, s64 bw) in __dl_update() argument
2829 struct dl_rq *dl = container_of(dl_b, struct dl_rq, dl_bw); in __dl_update()