Lines Matching refs:dl_b
284 static inline void __dl_update(struct dl_bw *dl_b, s64 bw);
287 void __dl_sub(struct dl_bw *dl_b, u64 tsk_bw, int cpus) in __dl_sub() argument
289 dl_b->total_bw -= tsk_bw; in __dl_sub()
290 __dl_update(dl_b, (s32)tsk_bw / cpus); in __dl_sub()
294 void __dl_add(struct dl_bw *dl_b, u64 tsk_bw, int cpus) in __dl_add() argument
296 dl_b->total_bw += tsk_bw; in __dl_add()
297 __dl_update(dl_b, -((s32)tsk_bw / cpus)); in __dl_add()
301 bool __dl_overflow(struct dl_bw *dl_b, int cpus, u64 old_bw, u64 new_bw) in __dl_overflow() argument
303 return dl_b->bw != -1 && in __dl_overflow()
304 dl_b->bw * cpus < dl_b->total_bw - old_bw + new_bw; in __dl_overflow()
308 extern void init_dl_bw(struct dl_bw *dl_b);
1647 extern void init_dl_bandwidth(struct dl_bandwidth *dl_b, u64 period, u64 runtime);
2091 void __dl_update(struct dl_bw *dl_b, s64 bw) in __dl_update() argument
2093 struct root_domain *rd = container_of(dl_b, struct root_domain, dl_bw); in __dl_update()
2106 void __dl_update(struct dl_bw *dl_b, s64 bw) in __dl_update() argument
2108 struct dl_rq *dl = container_of(dl_b, struct dl_rq, dl_bw); in __dl_update()