Searched refs:new_weight (Results 1 – 8 of 8) sorted by relevance
| /linux/arch/powerpc/platforms/pseries/ |
| H A D | lparcfg.c | 604 u8 new_weight; in update_ppp() local 614 new_weight = ppp_data.weight; in update_ppp() 617 new_weight = *weight; in update_ppp() 626 __func__, new_entitled, new_weight); in update_ppp() 628 retval = plpar_hcall_norets(H_SET_PPP, new_entitled, new_weight); in update_ppp() 643 u8 new_weight; in update_mpp() local 660 new_weight = mpp_data.mem_weight; in update_mpp() 663 new_weight = *weight; in update_mpp() 672 __func__, new_entitled, new_weight); in update_mpp() 674 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() 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() 94 int new_weight, weight = 0; ip_vs_wrr_max_weight() local
|
| H A D | ip_vs_mh.c | 345 int new_weight, weight = 0; in ip_vs_mh_shift_weight() 356 new_weight = atomic_read(&dest->last_weight); in ip_vs_mh_shift_weight() 357 if (new_weight > weight) in ip_vs_mh_shift_weight() 358 weight = new_weight; in ip_vs_mh_shift_weight() 346 int new_weight, weight = 0; ip_vs_mh_shift_weight() local
|
| /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 | 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() 994 if ((unsigned short)weight != bfqg->entity.new_weight) { in bfq_group_set_weight() 995 bfqg->entity.new_weight = (unsigned short)weight; in bfq_group_set_weight() 1398 entity->weight = entity->new_weight; in bfq_init_entity() 1399 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() 5549 bfqq->entity.new_weight = bfq_ioprio_to_weight(bfqq->new_ioprio); in bfq_set_next_ioprio_data() 5551 bfqq->new_ioprio, bfqq->entity.new_weight); in bfq_set_next_ioprio_data() 7232 bfqd->oom_bfqq.entity.new_weight = in bfq_init_queue()
|
| /linux/arch/x86/events/intel/ |
| H A D | core.c | 5448 int new_weight, check_weight; in __intel_pmu_check_dyn_constr() local 5453 new_weight = hweight64(new_mask); in __intel_pmu_check_dyn_constr() 5459 if (!new_weight && fls64(c1->idxmsk64) < INTEL_PMC_IDX_FIXED) { in __intel_pmu_check_dyn_constr() 5464 if (new_weight <= 1) in __intel_pmu_check_dyn_constr() 5499 if (new_weight == check_weight) { in __intel_pmu_check_dyn_constr() 5501 } else if (new_weight < check_weight) { in __intel_pmu_check_dyn_constr()
|