Lines Matching refs:weight
286 static u64 bfq_delta(unsigned long service, unsigned long weight) in bfq_delta() argument
288 return div64_ul((u64)service << WFQ_SERVICE_SHIFT, weight); in bfq_delta()
301 bfq_delta(service, entity->weight); in bfq_calc_finish()
306 service, entity->weight); in bfq_calc_finish()
310 bfq_delta(service, entity->weight)); in bfq_calc_finish()
518 static unsigned short bfq_weight_to_ioprio(int weight) in bfq_weight_to_ioprio() argument
521 IOPRIO_NR_LEVELS - weight / BFQ_WEIGHT_CONVERSION_COEFF); in bfq_weight_to_ioprio()
632 st->wsum -= entity->weight; in bfq_forget_entity()
713 old_st->wsum -= entity->weight; in __bfq_entity_update_weight_prio()
750 prev_weight = entity->weight; in __bfq_entity_update_weight_prio()
760 entity->weight = new_weight; in __bfq_entity_update_weight_prio()
768 new_st->wsum += entity->weight; in __bfq_entity_update_weight_prio()
956 st->wsum += entity->weight; in __bfq_activate_entity()