Lines Matching refs:ht
129 sfq_index *ht; /* Hash table ('divisor' slots) */ member
344 q->ht[slot->hash] = SFQ_EMPTY_SLOT; in sfq_drop()
388 x = q->ht[hash]; in sfq_enqueue()
394 q->ht[hash] = x; in sfq_enqueue()
527 q->ht[slot->hash] = SFQ_EMPTY_SLOT; in sfq_dequeue()
577 q->ht[slot->hash] = SFQ_EMPTY_SLOT; in sfq_rehash()
583 sfq_index x = q->ht[hash]; in sfq_rehash()
595 q->ht[hash] = x; in sfq_rehash()
727 sfq_free(q->ht); in sfq_destroy()
763 q->ht = sfq_alloc(sizeof(q->ht[0]) * q->divisor); in sfq_init()
765 if (!q->ht || !q->slots) { in sfq_init()
770 q->ht[i] = SFQ_EMPTY_SLOT; in sfq_init()
863 sfq_index idx = q->ht[cl - 1]; in sfq_dump_class_stats()
888 if (q->ht[i] == SFQ_EMPTY_SLOT || in sfq_walk()