Lines Matching defs:reduced_hash
654 u16 reduced_hash, srchost_idx, dsthost_idx;
739 reduced_hash = flow_hash % CAKE_QUEUES;
743 if (likely(q->tags[reduced_hash] == flow_hash &&
744 q->flows[reduced_hash].set)) {
747 u32 inner_hash = reduced_hash % CAKE_SET_WAYS;
748 u32 outer_hash = reduced_hash - inner_hash;
790 q->hosts[q->flows[reduced_hash].srchost].srchost_bulk_flow_count--;
791 q->hosts[q->flows[reduced_hash].dsthost].dsthost_bulk_flow_count--;
797 reduced_hash = outer_hash + k;
798 q->tags[reduced_hash] = flow_hash;
818 if (q->flows[reduced_hash].set == CAKE_SET_BULK)
820 q->flows[reduced_hash].srchost = srchost_idx;
841 if (q->flows[reduced_hash].set == CAKE_SET_BULK)
843 q->flows[reduced_hash].dsthost = dsthost_idx;
847 return reduced_hash;