Lines Matching refs:dl_b
305 static inline void __dl_update(struct dl_bw *dl_b, s64 bw);
308 void __dl_sub(struct dl_bw *dl_b, u64 tsk_bw, int cpus) in __dl_sub() argument
310 dl_b->total_bw -= tsk_bw; in __dl_sub()
311 __dl_update(dl_b, (s32)tsk_bw / cpus); in __dl_sub()
315 void __dl_add(struct dl_bw *dl_b, u64 tsk_bw, int cpus) in __dl_add() argument
317 dl_b->total_bw += tsk_bw; in __dl_add()
318 __dl_update(dl_b, -((s32)tsk_bw / cpus)); in __dl_add()
321 static inline bool __dl_overflow(struct dl_bw *dl_b, unsigned long cap, in __dl_overflow() argument
324 return dl_b->bw != -1 && in __dl_overflow()
325 cap_scale(dl_b->bw, cap) < dl_b->total_bw - old_bw + new_bw; in __dl_overflow()
343 extern void init_dl_bw(struct dl_bw *dl_b);
2324 extern void init_dl_bandwidth(struct dl_bandwidth *dl_b, u64 period, u64 runtime);
2734 void __dl_update(struct dl_bw *dl_b, s64 bw) in __dl_update() argument
2736 struct root_domain *rd = container_of(dl_b, struct root_domain, dl_bw); in __dl_update()
2749 void __dl_update(struct dl_bw *dl_b, s64 bw) in __dl_update() argument
2751 struct dl_rq *dl = container_of(dl_b, struct dl_rq, dl_bw); in __dl_update()