Lines Matching refs:ht
128 sfq_index *ht; /* Hash table ('divisor' slots) */ member
321 q->ht[slot->hash] = SFQ_EMPTY_SLOT; in sfq_drop()
365 x = q->ht[hash]; in sfq_enqueue()
371 q->ht[hash] = x; in sfq_enqueue()
504 q->ht[slot->hash] = SFQ_EMPTY_SLOT; in sfq_dequeue()
555 q->ht[slot->hash] = SFQ_EMPTY_SLOT; in sfq_rehash()
561 sfq_index x = q->ht[hash]; in sfq_rehash()
574 q->ht[hash] = x; in sfq_rehash()
706 sfq_free(q->ht); in sfq_destroy()
742 q->ht = sfq_alloc(sizeof(q->ht[0]) * q->divisor); in sfq_init()
744 if (!q->ht || !q->slots) { in sfq_init()
749 q->ht[i] = SFQ_EMPTY_SLOT; in sfq_init()
842 sfq_index idx = q->ht[cl - 1]; in sfq_dump_class_stats()
867 if (q->ht[i] == SFQ_EMPTY_SLOT || in sfq_walk()