Searched refs:new_weight (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/arch/powerpc/platforms/pseries/ |
D | lparcfg.c | 594 u8 new_weight; in update_ppp() local 604 new_weight = ppp_data.weight; in update_ppp() 607 new_weight = *weight; in update_ppp() 616 __func__, new_entitled, new_weight); in update_ppp() 618 retval = plpar_hcall_norets(H_SET_PPP, new_entitled, new_weight); in update_ppp() 633 u8 new_weight; in update_mpp() local 650 new_weight = mpp_data.mem_weight; in update_mpp() 653 new_weight = *weight; in update_mpp() 662 __func__, new_entitled, new_weight); in update_mpp() 664 rc = plpar_hcall_norets(H_SET_MPP, new_entitled, new_weight); in update_mpp() [all …]
|
/linux-6.12.1/net/netfilter/ipvs/ |
D | ip_vs_wrr.c | 94 int new_weight, weight = 0; in ip_vs_wrr_max_weight() local 97 new_weight = atomic_read(&dest->weight); in ip_vs_wrr_max_weight() 98 if (new_weight > weight) in ip_vs_wrr_max_weight() 99 weight = new_weight; in ip_vs_wrr_max_weight()
|
D | ip_vs_mh.c | 346 int new_weight, weight = 0; in ip_vs_mh_shift_weight() local 357 new_weight = atomic_read(&dest->last_weight); in ip_vs_mh_shift_weight() 358 if (new_weight > weight) in ip_vs_mh_shift_weight() 359 weight = new_weight; in ip_vs_mh_shift_weight()
|
/linux-6.12.1/block/ |
D | bfq-wf2q.c | 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() [all …]
|
D | bfq-cgroup.c | 421 entity->weight = entity->new_weight; in bfq_init_entity() 422 entity->orig_weight = entity->new_weight; in bfq_init_entity() 537 entity->orig_weight = entity->weight = entity->new_weight = d->weight; in bfq_pd_init() 993 if ((unsigned short)weight != bfqg->entity.new_weight) { in bfq_group_set_weight() 994 bfqg->entity.new_weight = (unsigned short)weight; in bfq_group_set_weight() 1397 entity->weight = entity->new_weight; in bfq_init_entity() 1398 entity->orig_weight = entity->new_weight; in bfq_init_entity()
|
D | bfq-iosched.h | 188 int new_weight; member
|
D | bfq-iosched.c | 1155 bfqq->entity.new_weight = bfqq_data->saved_weight; in bfq_bfqq_resume_state() 1854 bfqq->entity.new_weight == 40; in bfq_bfqq_handle_idle_busy_switch() 1856 bfqq->entity.new_weight == 40; in bfq_bfqq_handle_idle_busy_switch() 5554 bfqq->entity.new_weight = bfq_ioprio_to_weight(bfqq->new_ioprio); in bfq_set_next_ioprio_data() 5556 bfqq->new_ioprio, bfqq->entity.new_weight); in bfq_set_next_ioprio_data() 7247 bfqd->oom_bfqq.entity.new_weight = in bfq_init_queue()
|