Lines Matching refs:hosts
154 struct cake_host hosts[CAKE_QUEUES]; /* for triple isolation */ member
789 q->hosts[q->flows[reduced_hash].srchost].srchost_bulk_flow_count--; in cake_hash()
790 q->hosts[q->flows[reduced_hash].dsthost].dsthost_bulk_flow_count--; in cake_hash()
805 if (q->hosts[outer_hash + k].srchost_tag == in cake_hash()
811 if (!q->hosts[outer_hash + k].srchost_bulk_flow_count) in cake_hash()
814 q->hosts[outer_hash + k].srchost_tag = srchost_hash; in cake_hash()
818 q->hosts[srchost_idx].srchost_bulk_flow_count++; in cake_hash()
828 if (q->hosts[outer_hash + k].dsthost_tag == in cake_hash()
834 if (!q->hosts[outer_hash + k].dsthost_bulk_flow_count) in cake_hash()
837 q->hosts[outer_hash + k].dsthost_tag = dsthost_hash; in cake_hash()
841 q->hosts[dsthost_idx].dsthost_bulk_flow_count++; in cake_hash()
1855 struct cake_host *srchost = &b->hosts[flow->srchost]; in cake_enqueue()
1856 struct cake_host *dsthost = &b->hosts[flow->dsthost]; in cake_enqueue()
1877 struct cake_host *srchost = &b->hosts[flow->srchost]; in cake_enqueue()
1878 struct cake_host *dsthost = &b->hosts[flow->dsthost]; in cake_enqueue()
2056 srchost = &b->hosts[flow->srchost]; in cake_dequeue()
2057 dsthost = &b->hosts[flow->dsthost]; in cake_dequeue()