Lines Matching refs:flow
156 static void fq_flow_add_tail(struct fq_flow_head *head, struct fq_flow *flow) in fq_flow_add_tail() argument
159 head->last->next = flow; in fq_flow_add_tail()
161 head->first = flow; in fq_flow_add_tail()
162 head->last = flow; in fq_flow_add_tail()
163 flow->next = NULL; in fq_flow_add_tail()
299 static struct sk_buff *fq_dequeue_head(struct Qdisc *sch, struct fq_flow *flow) in fq_dequeue_head() argument
301 struct sk_buff *skb = flow->head; in fq_dequeue_head()
304 flow->head = skb->next; in fq_dequeue_head()
306 flow->qlen--; in fq_dequeue_head()
333 static void flow_queue_add(struct fq_flow *flow, struct sk_buff *skb) in flow_queue_add() argument
335 struct sk_buff *prev, *head = flow->head; in flow_queue_add()
339 flow->head = skb; in flow_queue_add()
340 flow->tail = skb; in flow_queue_add()
344 flow->tail->next = skb; in flow_queue_add()
345 flow->tail = skb; in flow_queue_add()
360 skb->next = flow->head; in flow_queue_add()
361 flow->head = skb; in flow_queue_add()
363 if (prev == flow->tail) in flow_queue_add()
364 flow->tail = skb; in flow_queue_add()