Searched refs:inv_w (Results 1 – 1 of 1) sorted by relevance
157 u32 inv_w; /* ONE_FP/(sum of weights of classes in aggr.). */ member231 static int qfq_calc_index(u32 inv_w, unsigned int maxlen, u32 min_slot_shift) in qfq_calc_index() argument233 u64 slot_size = (u64)maxlen * inv_w; in qfq_calc_index()248 (unsigned long) ONE_FP/inv_w, maxlen, index); in qfq_calc_index()299 agg->inv_w = ONE_FP/new_agg_weight; in qfq_update_agg()302 int i = qfq_calc_index(agg->inv_w, agg->budgetmax, in qfq_update_agg()410 u32 weight, lmax, inv_w; in qfq_change_class() local441 inv_w = ONE_FP / weight; in qfq_change_class()442 weight = ONE_FP / inv_w; in qfq_change_class()1024 agg->F = agg->S + (u64)service_received * agg->inv_w; in charge_actual_service()[all …]