Lines Matching defs:reduced_hash
653 u16 reduced_hash, srchost_idx, dsthost_idx;
738 reduced_hash = flow_hash % CAKE_QUEUES;
742 if (likely(q->tags[reduced_hash] == flow_hash &&
743 q->flows[reduced_hash].set)) {
746 u32 inner_hash = reduced_hash % CAKE_SET_WAYS;
747 u32 outer_hash = reduced_hash - inner_hash;
789 q->hosts[q->flows[reduced_hash].srchost].srchost_bulk_flow_count--;
790 q->hosts[q->flows[reduced_hash].dsthost].dsthost_bulk_flow_count--;
796 reduced_hash = outer_hash + k;
797 q->tags[reduced_hash] = flow_hash;
817 if (q->flows[reduced_hash].set == CAKE_SET_BULK)
819 q->flows[reduced_hash].srchost = srchost_idx;
840 if (q->flows[reduced_hash].set == CAKE_SET_BULK)
842 q->flows[reduced_hash].dsthost = dsthost_idx;
846 return reduced_hash;