Home
last modified time | relevance | path

Searched refs:lw (Results 1 – 2 of 2) sorted by relevance

/kernel/sched/
Dsched.h887 static inline void update_load_add(struct load_weight *lw, unsigned long inc) in update_load_add() argument
889 lw->weight += inc; in update_load_add()
890 lw->inv_weight = 0; in update_load_add()
893 static inline void update_load_sub(struct load_weight *lw, unsigned long dec) in update_load_sub() argument
895 lw->weight -= dec; in update_load_sub()
896 lw->inv_weight = 0; in update_load_sub()
899 static inline void update_load_set(struct load_weight *lw, unsigned long w) in update_load_set() argument
901 lw->weight = w; in update_load_set()
902 lw->inv_weight = 0; in update_load_set()
Dfair.c181 struct load_weight *lw) in calc_delta_mine() argument
195 if (!lw->inv_weight) { in calc_delta_mine()
196 unsigned long w = scale_load_down(lw->weight); in calc_delta_mine()
199 lw->inv_weight = 1; in calc_delta_mine()
201 lw->inv_weight = WMULT_CONST; in calc_delta_mine()
203 lw->inv_weight = WMULT_CONST / w; in calc_delta_mine()
210 tmp = SRR(SRR(tmp, WMULT_SHIFT/2) * lw->inv_weight, in calc_delta_mine()
213 tmp = SRR(tmp * lw->inv_weight, WMULT_SHIFT); in calc_delta_mine()
639 struct load_weight lw; in sched_slice() local
645 lw = cfs_rq->load; in sched_slice()
[all …]