• Home
  • Raw
  • Download

Lines Matching refs:index

172 	unsigned int index;		/* Group index. */  member
237 int index = 0; in qfq_calc_index() local
243 index = __fls(size_map) + 1; /* basically a log_2 */ in qfq_calc_index()
244 index -= !(slot_size - (1ULL << (index + min_slot_shift - 1))); in qfq_calc_index()
246 if (index < 0) in qfq_calc_index()
247 index = 0; in qfq_calc_index()
250 (unsigned long) ONE_FP/inv_w, maxlen, index); in qfq_calc_index()
252 return index; in qfq_calc_index()
741 int index = __ffs(bitmap); in qfq_ffs() local
742 return &q->groups[index]; in qfq_ffs()
759 unsigned long mask = mask_from(q->bitmaps[ER], grp->index); in qfq_calc_state()
785 static void qfq_unblock_groups(struct qfq_sched *q, int index, u64 old_F) in qfq_unblock_groups() argument
787 unsigned long mask = mask_from(q->bitmaps[ER], index + 1); in qfq_unblock_groups()
796 mask = (1UL << index) - 1; in qfq_unblock_groups()
935 grp->index, grp->full_slots); in qfq_slot_scan()
1056 mask = mask_from(q->bitmaps[ER], agg->grp->index); in qfq_update_start()
1198 __clear_bit(grp->index, &q->bitmaps[ER]); in qfq_choose_next_agg()
1208 __clear_bit(grp->index, &q->bitmaps[ER]); in qfq_choose_next_agg()
1210 __set_bit(grp->index, &q->bitmaps[s]); in qfq_choose_next_agg()
1213 qfq_unblock_groups(q, grp->index, old_F); in qfq_choose_next_agg()
1315 __clear_bit(grp->index, &q->bitmaps[IR]); in qfq_schedule_agg()
1316 __clear_bit(grp->index, &q->bitmaps[IB]); in qfq_schedule_agg()
1324 __set_bit(grp->index, &q->bitmaps[s]); in qfq_schedule_agg()
1392 __clear_bit(grp->index, &q->bitmaps[IR]); in qfq_deactivate_agg()
1393 __clear_bit(grp->index, &q->bitmaps[EB]); in qfq_deactivate_agg()
1394 __clear_bit(grp->index, &q->bitmaps[IB]); in qfq_deactivate_agg()
1396 if (test_bit(grp->index, &q->bitmaps[ER]) && in qfq_deactivate_agg()
1397 !(q->bitmaps[ER] & ~((1UL << grp->index) - 1))) { in qfq_deactivate_agg()
1398 mask = q->bitmaps[ER] & ((1UL << grp->index) - 1); in qfq_deactivate_agg()
1406 __clear_bit(grp->index, &q->bitmaps[ER]); in qfq_deactivate_agg()
1411 __clear_bit(grp->index, &q->bitmaps[ER]); in qfq_deactivate_agg()
1412 __clear_bit(grp->index, &q->bitmaps[IR]); in qfq_deactivate_agg()
1413 __clear_bit(grp->index, &q->bitmaps[EB]); in qfq_deactivate_agg()
1414 __clear_bit(grp->index, &q->bitmaps[IB]); in qfq_deactivate_agg()
1418 __set_bit(grp->index, &q->bitmaps[s]); in qfq_deactivate_agg()
1459 grp->index = i; in qfq_init_qdisc()