Lines Matching refs:divisor
120 unsigned int divisor; /* number of slots in hash table */ member
182 return hash & (q->divisor - 1); in sfq_hash()
195 TC_H_MIN(skb->priority) <= q->divisor) in sfq_classify()
216 if (TC_H_MIN(res.classid) <= q->divisor) in sfq_classify()
651 if (ctl->divisor && in sfq_change()
652 (!is_power_of_2(ctl->divisor) || ctl->divisor > 65536)) in sfq_change()
667 if (ctl->divisor) { in sfq_change()
668 q->divisor = ctl->divisor; in sfq_change()
669 q->maxflows = min_t(u32, q->maxflows, q->divisor); in sfq_change()
750 q->divisor = SFQ_DEFAULT_HASH_DIVISOR; in sfq_init()
763 q->ht = sfq_alloc(sizeof(q->ht[0]) * q->divisor); in sfq_init()
769 for (i = 0; i < q->divisor; i++) in sfq_init()
794 opt.v0.divisor = q->divisor; in sfq_dump()
887 for (i = 0; i < q->divisor; i++) { in sfq_walk()