Lines Matching full:ht
100 unsigned short hash; /* hash value (index in ht[]) */
119 sfq_index *ht; /* Hash table ('divisor' slots) */ member
317 q->ht[slot->hash] = SFQ_EMPTY_SLOT; in sfq_drop()
361 x = q->ht[hash]; in sfq_enqueue()
367 q->ht[hash] = x; in sfq_enqueue()
503 q->ht[slot->hash] = SFQ_EMPTY_SLOT; in sfq_dequeue()
554 q->ht[slot->hash] = SFQ_EMPTY_SLOT; in sfq_rehash()
560 sfq_index x = q->ht[hash]; in sfq_rehash()
573 q->ht[hash] = x; in sfq_rehash()
769 sfq_free(q->ht); in sfq_destroy()
809 q->ht = sfq_alloc(sizeof(q->ht[0]) * q->divisor); in sfq_init()
811 if (!q->ht || !q->slots) { in sfq_init()
817 q->ht[i] = SFQ_EMPTY_SLOT; in sfq_init()
908 sfq_index idx = q->ht[cl - 1]; in sfq_dump_class_stats()
933 if (q->ht[i] == SFQ_EMPTY_SLOT) { in sfq_walk()