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() 616 new_weight = ppp_data.weight; in update_ppp() 619 new_weight = *weight; in update_ppp() 627 pr_debug("%s: new_entitled = %llu, new_weight = %u\n", 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() 662 new_weight = mpp_data.mem_weight; in update_mpp() 665 new_weight = *weight; in update_mpp() 673 pr_debug("%s: new_entitled = %llu, new_weight in update_mpp() 604 u8 new_weight; update_ppp() local 643 u8 new_weight; update_mpp() local 694 u8 new_weight, *new_weight_ptr = &new_weight; lparcfg_write() local [all...] |
| /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 bfqg_stats_exit() 443 entity->orig_weight = entity->new_weight; in bfqg_stats_exit() 539 entity->orig_weight = entity->weight = entity->new_weight = d->weight; in bfq_pd_init() 991 * to 1 with new_weight == weight would re-set in bfq_group_set_weight() 995 if ((unsigned short)weight != bfqg->entity.new_weight) { in bfq_group_set_weight() 996 bfqg->entity.new_weight = (unsigned short)weight; in bfq_group_set_weight() 999 * stored in bfqg->entity.new_weight before in bfq_group_set_weight() 1006 * depend also on bfqg->entity.new_weight (in in bfq_group_set_weight() 1009 * of bfqg->entity.new_weight is correctly in bfq_group_set_weight() 1406 entity->weight = entity->new_weight; [all...] |
| 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() 7222 bfqd->oom_bfqq.entity.new_weight = in bfq_init_queue()
|
| /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/arch/x86/events/intel/ |
| H A D | core.c | 6002 int new_weight, check_weight; in intel_pmu_check_hybrid_pmus() 6007 new_weight = hweight64(new_mask); in intel_pmu_check_hybrid_pmus() 6013 if (!new_weight && fls64(c1->idxmsk64) < INTEL_PMC_IDX_FIXED) { 6018 if (new_weight <= 1) in find_hybrid_pmu_for_cpu() 6053 if (new_weight == check_weight) { in find_hybrid_pmu_for_cpu() 6055 } else if (new_weight < check_weight) { in find_hybrid_pmu_for_cpu() 5749 int new_weight, check_weight; __intel_pmu_check_dyn_constr() local
|