Lines Matching refs:hosts
154 struct cake_host hosts[CAKE_QUEUES]; /* for triple isolation */ member
749 q->hosts[q->flows[reduced_hash].srchost].srchost_refcnt--; in cake_hash()
750 q->hosts[q->flows[reduced_hash].dsthost].dsthost_refcnt--; in cake_hash()
764 if (q->hosts[outer_hash + k].srchost_tag == in cake_hash()
770 if (!q->hosts[outer_hash + k].srchost_refcnt) in cake_hash()
773 q->hosts[outer_hash + k].srchost_tag = srchost_hash; in cake_hash()
776 q->hosts[srchost_idx].srchost_refcnt++; in cake_hash()
786 if (q->hosts[outer_hash + k].dsthost_tag == in cake_hash()
792 if (!q->hosts[outer_hash + k].dsthost_refcnt) in cake_hash()
795 q->hosts[outer_hash + k].dsthost_tag = dsthost_hash; in cake_hash()
798 q->hosts[dsthost_idx].dsthost_refcnt++; in cake_hash()
1782 struct cake_host *srchost = &b->hosts[flow->srchost]; in cake_enqueue()
1783 struct cake_host *dsthost = &b->hosts[flow->dsthost]; in cake_enqueue()
1973 srchost = &b->hosts[flow->srchost]; in cake_dequeue()
1974 dsthost = &b->hosts[flow->dsthost]; in cake_dequeue()