Lines Matching refs:inv_w
158 u32 inv_w; /* ONE_FP/(sum of weights of classes in aggr.). */ member
227 static int qfq_calc_index(u32 inv_w, unsigned int maxlen, u32 min_slot_shift) in qfq_calc_index() argument
229 u64 slot_size = (u64)maxlen * inv_w; in qfq_calc_index()
244 (unsigned long) ONE_FP/inv_w, maxlen, index); in qfq_calc_index()
295 agg->inv_w = ONE_FP/new_agg_weight; in qfq_update_agg()
298 int i = qfq_calc_index(agg->inv_w, agg->budgetmax, in qfq_update_agg()
401 u32 weight, lmax, inv_w; in qfq_change_class() local
433 inv_w = ONE_FP / weight; in qfq_change_class()
434 weight = ONE_FP / inv_w; in qfq_change_class()
1008 agg->F = agg->S + (u64)service_received * agg->inv_w; in charge_actual_service()
1064 agg->F = agg->S + (u64)agg->budgetmax * agg->inv_w; in qfq_update_agg_ts()