Lines Matching refs:weight
1299 load->weight = scale_load(WEIGHT_IDLEPRIO); in set_load_weight()
1311 load->weight = scale_load(sched_prio_to_weight[prio]); in set_load_weight()
11270 u64 weight = scale_load_down(tg->shares); in cpu_weight_read_u64() local
11272 return DIV_ROUND_CLOSEST_ULL(weight * CGROUP_WEIGHT_DFL, 1024); in cpu_weight_read_u64()
11276 struct cftype *cft, u64 weight) in cpu_weight_write_u64() argument
11285 if (weight < CGROUP_WEIGHT_MIN || weight > CGROUP_WEIGHT_MAX) in cpu_weight_write_u64()
11288 weight = DIV_ROUND_CLOSEST_ULL(weight * 1024, CGROUP_WEIGHT_DFL); in cpu_weight_write_u64()
11290 return sched_group_set_shares(css_tg(css), scale_load(weight)); in cpu_weight_write_u64()
11296 unsigned long weight = scale_load_down(css_tg(css)->shares); in cpu_weight_nice_read_s64() local
11302 delta = abs(sched_prio_to_weight[prio] - weight); in cpu_weight_nice_read_s64()
11314 unsigned long weight; in cpu_weight_nice_write_s64() local
11322 weight = sched_prio_to_weight[idx]; in cpu_weight_nice_write_s64()
11324 return sched_group_set_shares(css_tg(css), scale_load(weight)); in cpu_weight_nice_write_s64()