Lines Matching refs:new_weight
709 unsigned int prev_weight, new_weight; in __bfq_entity_update_weight_prio() local
715 if (entity->new_weight != entity->orig_weight) { in __bfq_entity_update_weight_prio()
716 if (entity->new_weight < BFQ_MIN_WEIGHT || in __bfq_entity_update_weight_prio()
717 entity->new_weight > BFQ_MAX_WEIGHT) { in __bfq_entity_update_weight_prio()
719 entity->new_weight); in __bfq_entity_update_weight_prio()
720 if (entity->new_weight < BFQ_MIN_WEIGHT) in __bfq_entity_update_weight_prio()
721 entity->new_weight = BFQ_MIN_WEIGHT; in __bfq_entity_update_weight_prio()
723 entity->new_weight = BFQ_MAX_WEIGHT; in __bfq_entity_update_weight_prio()
725 entity->orig_weight = entity->new_weight; in __bfq_entity_update_weight_prio()
751 new_weight = entity->orig_weight * in __bfq_entity_update_weight_prio()
758 if (prev_weight != new_weight && bfqq) in __bfq_entity_update_weight_prio()
760 entity->weight = new_weight; in __bfq_entity_update_weight_prio()
765 if (prev_weight != new_weight && bfqq && bfqq->wr_coeff == 1) in __bfq_entity_update_weight_prio()