Lines Matching refs:hash
106 unsigned short hash; /* hash value (index in ht[]) */ member
321 q->ht[slot->hash] = SFQ_EMPTY_SLOT; in sfq_drop()
349 unsigned int hash, dropped; in sfq_enqueue() local
356 hash = sfq_classify(skb, sch, &ret); in sfq_enqueue()
357 if (hash == 0) { in sfq_enqueue()
363 hash--; in sfq_enqueue()
365 x = q->ht[hash]; in sfq_enqueue()
371 q->ht[hash] = x; in sfq_enqueue()
373 slot->hash = hash; in sfq_enqueue()
507 q->ht[slot->hash] = SFQ_EMPTY_SLOT; in sfq_dequeue()
558 q->ht[slot->hash] = SFQ_EMPTY_SLOT; in sfq_rehash()
563 unsigned int hash = sfq_hash(q, skb); in sfq_rehash() local
564 sfq_index x = q->ht[hash]; in sfq_rehash()
577 q->ht[hash] = x; in sfq_rehash()
579 slot->hash = hash; in sfq_rehash()