Lines Matching refs:new_weight
732 unsigned int prev_weight, new_weight; in __bfq_entity_update_weight_prio() local
752 if (entity->new_weight != entity->orig_weight) { in __bfq_entity_update_weight_prio()
753 if (entity->new_weight < BFQ_MIN_WEIGHT || in __bfq_entity_update_weight_prio()
754 entity->new_weight > BFQ_MAX_WEIGHT) { in __bfq_entity_update_weight_prio()
756 entity->new_weight); in __bfq_entity_update_weight_prio()
757 if (entity->new_weight < BFQ_MIN_WEIGHT) in __bfq_entity_update_weight_prio()
758 entity->new_weight = BFQ_MIN_WEIGHT; in __bfq_entity_update_weight_prio()
760 entity->new_weight = BFQ_MAX_WEIGHT; in __bfq_entity_update_weight_prio()
762 entity->orig_weight = entity->new_weight; in __bfq_entity_update_weight_prio()
788 new_weight = entity->orig_weight * in __bfq_entity_update_weight_prio()
795 if (prev_weight != new_weight && bfqq) { in __bfq_entity_update_weight_prio()
799 entity->weight = new_weight; in __bfq_entity_update_weight_prio()
804 if (prev_weight != new_weight && bfqq && bfqq->wr_coeff == 1) { in __bfq_entity_update_weight_prio()