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()
296 static struct sk_buff *fq_dequeue_head(struct Qdisc *sch, struct fq_flow *flow) in fq_dequeue_head() argument
298 struct sk_buff *skb = flow->head; in fq_dequeue_head()
301 flow->head = skb->next; in fq_dequeue_head()
303 flow->qlen--; in fq_dequeue_head()
330 static void flow_queue_add(struct fq_flow *flow, struct sk_buff *skb) in flow_queue_add() argument
332 struct sk_buff *prev, *head = flow->head; in flow_queue_add()
336 flow->head = skb; in flow_queue_add()
337 flow->tail = skb; in flow_queue_add()
341 flow->tail->next = skb; in flow_queue_add()
342 flow->tail = skb; in flow_queue_add()
357 skb->next = flow->head; in flow_queue_add()
358 flow->head = skb; in flow_queue_add()
360 if (prev == flow->tail) in flow_queue_add()
361 flow->tail = skb; in flow_queue_add()