Home
last modified time | relevance | path

Searched refs:new_weight (Results 1 – 5 of 5) sorted by relevance

/linux-4.19.296/block/
Dbfq-wf2q.c732 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()
[all …]
Dbfq-cgroup.c350 entity->weight = entity->new_weight; in bfq_init_entity()
351 entity->orig_weight = entity->new_weight; in bfq_init_entity()
463 entity->orig_weight = entity->weight = entity->new_weight = d->weight; in bfq_pd_init()
880 if ((unsigned short)val != bfqg->entity.new_weight) { in bfq_io_set_weight_legacy()
881 bfqg->entity.new_weight = (unsigned short)val; in bfq_io_set_weight_legacy()
1194 entity->weight = entity->new_weight; in bfq_init_entity()
1195 entity->orig_weight = entity->new_weight; in bfq_init_entity()
Dbfq-iosched.h181 int new_weight; member
Dcfq-iosched.c272 unsigned int new_weight; member
1275 if (cfqg->new_weight) { in cfq_update_group_weight()
1276 cfqg->weight = cfqg->new_weight; in cfq_update_group_weight()
1277 cfqg->new_weight = 0; in cfq_update_group_weight()
1796 cfqg->new_weight = v ?: cfqgd->weight; in __cfqg_set_weight_device()
1855 cfqg->new_weight = cfqgd->weight; in __cfq_set_weight()
Dbfq-iosched.c4325 bfqq->entity.new_weight = bfq_ioprio_to_weight(bfqq->new_ioprio); in bfq_set_next_ioprio_data()
5483 bfqd->oom_bfqq.entity.new_weight = in bfq_init_queue()