Lines Matching refs:hosts
154 struct cake_host hosts[CAKE_QUEUES]; /* for triple isolation */ member
753 q->hosts[q->flows[reduced_hash].srchost].srchost_bulk_flow_count--; in cake_hash()
754 q->hosts[q->flows[reduced_hash].dsthost].dsthost_bulk_flow_count--; in cake_hash()
769 if (q->hosts[outer_hash + k].srchost_tag == in cake_hash()
775 if (!q->hosts[outer_hash + k].srchost_bulk_flow_count) in cake_hash()
778 q->hosts[outer_hash + k].srchost_tag = srchost_hash; in cake_hash()
782 q->hosts[srchost_idx].srchost_bulk_flow_count++; in cake_hash()
792 if (q->hosts[outer_hash + k].dsthost_tag == in cake_hash()
798 if (!q->hosts[outer_hash + k].dsthost_bulk_flow_count) in cake_hash()
801 q->hosts[outer_hash + k].dsthost_tag = dsthost_hash; in cake_hash()
805 q->hosts[dsthost_idx].dsthost_bulk_flow_count++; in cake_hash()
1793 struct cake_host *srchost = &b->hosts[flow->srchost]; in cake_enqueue()
1794 struct cake_host *dsthost = &b->hosts[flow->dsthost]; in cake_enqueue()
1815 struct cake_host *srchost = &b->hosts[flow->srchost]; in cake_enqueue()
1816 struct cake_host *dsthost = &b->hosts[flow->dsthost]; in cake_enqueue()
1994 srchost = &b->hosts[flow->srchost]; in cake_dequeue()
1995 dsthost = &b->hosts[flow->dsthost]; in cake_dequeue()