Searched refs:new_weight (Results 1 – 8 of 8) sorted by relevance
| /linux/arch/powerpc/platforms/pseries/ |
| H A D | lparcfg.c | 606 u8 new_weight; in update_ppp() local 616 new_weight = ppp_data.weight; in update_ppp() 619 new_weight = *weight; in update_ppp() 628 __func__, new_entitled, new_weight); in update_ppp() 630 retval = plpar_hcall_norets(H_SET_PPP, new_entitled, new_weight); in update_ppp() 645 u8 new_weight; in update_mpp() local 662 new_weight = mpp_data.mem_weight; in update_mpp() 665 new_weight = *weight; in update_mpp() 674 __func__, new_entitled, new_weight); in update_mpp() 676 rc = plpar_hcall_norets(H_SET_MPP, new_entitled, new_weight); in update_mpp() [all …]
|
| /linux/net/netfilter/ipvs/ |
| H A D | ip_vs_wrr.c | 93 int new_weight, weight = 0; in ip_vs_wrr_max_weight() local 96 new_weight = atomic_read(&dest->weight); in ip_vs_wrr_max_weight() 97 if (new_weight > weight) in ip_vs_wrr_max_weight() 98 weight = new_weight; in ip_vs_wrr_max_weight()
|
| H A D | ip_vs_mh.c | 344 int new_weight, weight = 0; in ip_vs_mh_shift_weight() local 355 new_weight = atomic_read(&dest->last_weight); in ip_vs_mh_shift_weight() 356 if (new_weight > weight) in ip_vs_mh_shift_weight() 357 weight = new_weight; in ip_vs_mh_shift_weight()
|
| /linux/block/ |
| H A 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 …]
|
| H A D | bfq-cgroup.c | 442 entity->weight = entity->new_weight; in bfq_init_entity() 443 entity->orig_weight = entity->new_weight; in bfq_init_entity() 539 entity->orig_weight = entity->weight = entity->new_weight = d->weight; in bfq_pd_init() 1011 if ((unsigned short)weight != bfqg->entity.new_weight) { in bfq_group_set_weight() 1012 bfqg->entity.new_weight = (unsigned short)weight; in bfq_group_set_weight() 1424 entity->weight = entity->new_weight; in bfq_init_entity() 1425 entity->orig_weight = entity->new_weight; in bfq_init_entity()
|
| H A D | bfq-iosched.h | 188 int new_weight; member
|
| H A D | bfq-iosched.c | 1157 bfqq->entity.new_weight = bfqq_data->saved_weight; in bfq_bfqq_resume_state() 1856 bfqq->entity.new_weight == 40; in bfq_bfqq_handle_idle_busy_switch() 1858 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() 5552 bfqq->new_ioprio, bfqq->entity.new_weight); in bfq_set_next_ioprio_data() 7220 bfqd->oom_bfqq.entity.new_weight = in bfq_init_queue()
|
| /linux/arch/x86/events/intel/ |
| H A D | core.c | 6007 int new_weight, check_weight; in __intel_pmu_check_dyn_constr() local 6012 new_weight = hweight64(new_mask); in __intel_pmu_check_dyn_constr() 6018 if (!new_weight && fls64(c1->idxmsk64) < INTEL_PMC_IDX_FIXED) { in __intel_pmu_check_dyn_constr() 6023 if (new_weight <= 1) in __intel_pmu_check_dyn_constr() 6058 if (new_weight == check_weight) { in __intel_pmu_check_dyn_constr() 6060 } else if (new_weight < check_weight) { in __intel_pmu_check_dyn_constr()
|