Lines Matching refs:hosts
155 struct cake_host hosts[CAKE_QUEUES]; /* for triple isolation */ member
790 q->hosts[q->flows[reduced_hash].srchost].srchost_bulk_flow_count--; in cake_hash()
791 q->hosts[q->flows[reduced_hash].dsthost].dsthost_bulk_flow_count--; in cake_hash()
806 if (q->hosts[outer_hash + k].srchost_tag == in cake_hash()
812 if (!q->hosts[outer_hash + k].srchost_bulk_flow_count) in cake_hash()
815 q->hosts[outer_hash + k].srchost_tag = srchost_hash; in cake_hash()
819 q->hosts[srchost_idx].srchost_bulk_flow_count++; in cake_hash()
829 if (q->hosts[outer_hash + k].dsthost_tag == in cake_hash()
835 if (!q->hosts[outer_hash + k].dsthost_bulk_flow_count) in cake_hash()
838 q->hosts[outer_hash + k].dsthost_tag = dsthost_hash; in cake_hash()
842 q->hosts[dsthost_idx].dsthost_bulk_flow_count++; in cake_hash()
1856 struct cake_host *srchost = &b->hosts[flow->srchost]; in cake_enqueue()
1857 struct cake_host *dsthost = &b->hosts[flow->dsthost]; in cake_enqueue()
1878 struct cake_host *srchost = &b->hosts[flow->srchost]; in cake_enqueue()
1879 struct cake_host *dsthost = &b->hosts[flow->dsthost]; in cake_enqueue()
2057 srchost = &b->hosts[flow->srchost]; in cake_dequeue()
2058 dsthost = &b->hosts[flow->dsthost]; in cake_dequeue()