Lines Matching refs:weight
219 unsigned int weight; member
264 unsigned int weight; member
1283 cfqg->weight = cfqg->new_weight; in cfq_update_group_weight()
1341 parent->children_weight += pos->weight; in cfq_group_service_tree_add()
1343 vfr = vfr * pos->weight / parent->children_weight; in cfq_group_service_tree_add()
1399 parent->children_weight -= pos->weight; in cfq_group_service_tree_del()
1584 unsigned int weight = cgroup_subsys_on_dfl(io_cgrp_subsys) ? in cfq_cpd_init() local
1588 weight *= 2; in cfq_cpd_init()
1590 cgd->weight = weight; in cfq_cpd_init()
1591 cgd->leaf_weight = weight; in cfq_cpd_init()
1603 unsigned int weight = on_dfl ? CGROUP_WEIGHT_DFL : CFQ_WEIGHT_LEGACY_DFL; in cfq_cpd_bind() local
1606 weight *= 2; in cfq_cpd_bind()
1608 WARN_ON_ONCE(__cfq_set_weight(&blkcg->css, weight, on_dfl, true, false)); in cfq_cpd_bind()
1609 WARN_ON_ONCE(__cfq_set_weight(&blkcg->css, weight, on_dfl, true, true)); in cfq_cpd_bind()
1634 cfqg->weight = cgd->weight; in cfq_pd_init()
1738 val = cgd->weight; in cfq_print_weight()
1793 cfqg->new_weight = v ?: cfqgd->weight; in __cfqg_set_weight_device()
1838 cfqgd->weight = val; in __cfq_set_weight()
1852 cfqg->new_weight = cfqgd->weight; in __cfq_set_weight()
2144 seq_printf(sf, "default %u\n", cgd->weight); in cfq_print_weight_on_dfl()
4548 cfqd->root_group->weight = 2 * CFQ_WEIGHT_LEGACY_DFL; in cfq_init_queue()