Home
last modified time | relevance | path

Searched refs:new_weight (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
H A Dlparcfg.c546 u8 new_weight; in update_ppp() local
556 new_weight = ppp_data.weight; in update_ppp()
559 new_weight = *weight; in update_ppp()
567 pr_debug("%s: new_entitled = %llu, new_weight = %u\n", in update_ppp()
568 __func__, new_entitled, new_weight); in update_ppp()
570 retval = plpar_hcall_norets(H_SET_PPP, new_entitled, new_weight); in update_ppp()
585 u8 new_weight; in update_mpp() local
602 new_weight = mpp_data.mem_weight; in update_mpp()
605 new_weight = *weight; in update_mpp()
613 pr_debug("%s: new_entitled = %llu, new_weight in update_mpp()
636 u8 new_weight, *new_weight_ptr = &new_weight; lparcfg_write() local
[all...]
/kernel/linux/linux-6.6/arch/powerpc/platforms/pseries/
H A Dlparcfg.c580 u8 new_weight; in update_ppp() local
590 new_weight = ppp_data.weight; in update_ppp()
593 new_weight = *weight; in update_ppp()
601 pr_debug("%s: new_entitled = %llu, new_weight = %u\n", in update_ppp()
602 __func__, new_entitled, new_weight); in update_ppp()
604 retval = plpar_hcall_norets(H_SET_PPP, new_entitled, new_weight); in update_ppp()
619 u8 new_weight; in update_mpp() local
636 new_weight = mpp_data.mem_weight; in update_mpp()
639 new_weight = *weight; in update_mpp()
647 pr_debug("%s: new_entitled = %llu, new_weight in update_mpp()
670 u8 new_weight, *new_weight_ptr = &new_weight; lparcfg_write() local
[all...]
/kernel/linux/linux-5.10/block/
H A Dbfq-wf2q.c726 unsigned int prev_weight, new_weight; in __bfq_entity_update_weight_prio() local
748 if (entity->new_weight != entity->orig_weight) { in __bfq_entity_update_weight_prio()
749 if (entity->new_weight < BFQ_MIN_WEIGHT || in __bfq_entity_update_weight_prio()
750 entity->new_weight > BFQ_MAX_WEIGHT) { in __bfq_entity_update_weight_prio()
751 pr_crit("update_weight_prio: new_weight %d\n", in __bfq_entity_update_weight_prio()
752 entity->new_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_MIN_WEIGHT; in __bfq_entity_update_weight_prio()
756 entity->new_weight = BFQ_MAX_WEIGHT; in __bfq_entity_update_weight_prio()
758 entity->orig_weight = entity->new_weight; in __bfq_entity_update_weight_prio()
[all...]
H A Dbfq-cgroup.c428 entity->weight = entity->new_weight; in bfq_init_entity()
429 entity->orig_weight = entity->new_weight; in bfq_init_entity()
550 entity->orig_weight = entity->weight = entity->new_weight = d->weight; in bfq_pd_init()
1028 * to 1 with new_weight == weight would re-set in bfq_group_set_weight()
1032 if ((unsigned short)weight != bfqg->entity.new_weight) { in bfq_group_set_weight()
1033 bfqg->entity.new_weight = (unsigned short)weight; in bfq_group_set_weight()
1036 * stored in bfqg->entity.new_weight before in bfq_group_set_weight()
1043 * depend also on bfqg->entity.new_weight (in in bfq_group_set_weight()
1046 * of bfqg->entity.new_weight is correctly in bfq_group_set_weight()
1436 entity->weight = entity->new_weight; in bfq_init_entity()
[all...]
H A Dbfq-iosched.h179 int new_weight; member
H A Dbfq-iosched.c1035 bfqq->entity.new_weight = bic->saved_weight; in bfq_bfqq_resume_state()
5056 bfqq->entity.new_weight = bfq_ioprio_to_weight(bfqq->new_ioprio); in bfq_set_next_ioprio_data()
6468 bfqd->oom_bfqq.entity.new_weight = in bfq_init_queue()
/kernel/linux/linux-6.6/block/
H A Dbfq-wf2q.c709 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()
718 pr_crit("update_weight_prio: new_weight %d\n", 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()
[all...]
H A Dbfq-cgroup.c421 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()
1046 * to 1 with new_weight == weight would re-set in bfq_group_set_weight()
1050 if ((unsigned short)weight != bfqg->entity.new_weight) { in bfq_group_set_weight()
1051 bfqg->entity.new_weight = (unsigned short)weight; in bfq_group_set_weight()
1054 * stored in bfqg->entity.new_weight before in bfq_group_set_weight()
1061 * depend also on bfqg->entity.new_weight (in in bfq_group_set_weight()
1064 * of bfqg->entity.new_weight is correctly in bfq_group_set_weight()
1454 entity->weight = entity->new_weight; in bfq_init_entity()
[all...]
H A Dbfq-iosched.h188 int new_weight; member
H A Dbfq-iosched.c1155 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()
5550 bfqq->entity.new_weight = bfq_ioprio_to_weight(bfqq->new_ioprio); in bfq_set_next_ioprio_data()
5551 bfq_log_bfqq(bfqd, bfqq, "new_ioprio %d new_weight %d", in bfq_set_next_ioprio_data()
5552 bfqq->new_ioprio, bfqq->entity.new_weight); in bfq_set_next_ioprio_data()
7225 bfqd->oom_bfqq.entity.new_weight = in bfq_init_queue()
/kernel/linux/linux-5.10/net/netfilter/ipvs/
H A Dip_vs_wrr.c94 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()
H A Dip_vs_mh.c347 int new_weight, weight = 0; in ip_vs_mh_shift_weight() local
358 new_weight = atomic_read(&dest->last_weight); in ip_vs_mh_shift_weight()
359 if (new_weight > weight) in ip_vs_mh_shift_weight()
360 weight = new_weight; in ip_vs_mh_shift_weight()
/kernel/linux/linux-6.6/net/netfilter/ipvs/
H A Dip_vs_wrr.c94 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()
H A Dip_vs_mh.c346 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()

Completed in 42 milliseconds