Lines Matching defs:weight
67 * of equal weight, each gets 50% share. If then B starts issuing IOs, B
74 * For example, with 12.5% weight, A0's time runs 8 times slower (100/12.5)
137 * each active cgroup is actually using and yield part of its weight if
139 * A's weight will be lowered so that it hovers above the actual usage and
142 * As we don't want to penalize a cgroup for donating its weight, the
143 * surplus weight adjustment factors in a margin and has an immediate
161 * active weight hweight% inflt% dbt delay usages%
168 * - weight : Surplus-adjusted and configured weights
221 * serves as its IO credit buffer. Surplus weight adjustment is
467 * A iocg can get its weight from two sources - an explicit
468 * per-device-cgroup configuration or the default weight of the
470 * configuration. `weight` is the effective considering both
474 * `weight`. `inuse` is the surplus adjusted active weight.
485 u32 weight;
702 * weight, the more expensive each IO. Must round up.
1081 * weight sums and propagate upwards accordingly. If @save, the current margin
1125 * much of weight is being given away. Parent's inuse
1129 parent_active = parent->weight;
1180 * hweight_gen, all the weight updates from __propagate_weights() are
1183 * We can race with weight updates during calculation and get it
1251 u32 weight;
1255 weight = iocg->cfg_weight ?: iocc->dfl_weight;
1256 if (weight != iocg->weight && iocg->active)
1257 propagate_weights(iocg, weight, iocg->inuse, true, now);
1258 iocg->weight = weight;
1315 * Activate, propagate weight and start period timer if not
1322 propagate_weights(iocg, iocg->weight,
1323 iocg->last_inuse ?: iocg->weight, true, now);
1791 * bumping up vrate accordingly 2. lowering the donating iocg's inuse weight.
1835 * w is the weight of the node. w = w_f + w_t
1842 * w_pt is the donating portion of the parent's weight and w'_pt the same value
1988 /* adjusted weight sum for 1st level: s' = s * b_pf / b'_pf */
2007 /* adjusted weight sum for children: s' = s_f + s_t * w'_pt / w_pt */
2061 * A low weight iocg can amass a large amount of debt, for example, when
3502 .name = "weight",