Lines Matching refs:fq_flow
60 struct fq_flow { struct
71 struct fq_flow *next; /* next pointer in RR lists, or &detached */ argument
78 struct fq_flow *first; argument
79 struct fq_flow *last;
91 struct fq_flow internal; /* for non classified or high prio packets */
118 static struct fq_flow detached, throttled;
120 static void fq_flow_set_detached(struct fq_flow *f) in fq_flow_set_detached()
126 static bool fq_flow_is_detached(const struct fq_flow *f) in fq_flow_is_detached()
131 static bool fq_flow_is_throttled(const struct fq_flow *f) in fq_flow_is_throttled()
136 static void fq_flow_add_tail(struct fq_flow_head *head, struct fq_flow *flow) in fq_flow_add_tail()
146 static void fq_flow_unset_throttled(struct fq_sched_data *q, struct fq_flow *f) in fq_flow_unset_throttled()
153 static void fq_flow_set_throttled(struct fq_sched_data *q, struct fq_flow *f) in fq_flow_set_throttled()
158 struct fq_flow *aux; in fq_flow_set_throttled()
161 aux = rb_entry(parent, struct fq_flow, rate_node); in fq_flow_set_throttled()
185 static bool fq_gc_candidate(const struct fq_flow *f) in fq_gc_candidate()
195 struct fq_flow *f, *tofree[FQ_GC_MAX]; in fq_gc()
204 f = rb_entry(parent, struct fq_flow, fq_node); in fq_gc()
224 struct fq_flow *f = tofree[--fcnt]; in fq_gc()
231 static struct fq_flow *fq_classify(struct sk_buff *skb, struct fq_sched_data *q) in fq_classify()
236 struct fq_flow *f; in fq_classify()
272 f = rb_entry(parent, struct fq_flow, fq_node); in fq_classify()
316 static struct sk_buff *fq_dequeue_head(struct Qdisc *sch, struct fq_flow *flow) in fq_dequeue_head()
350 static void flow_queue_add(struct fq_flow *flow, struct sk_buff *skb) in flow_queue_add()
392 struct fq_flow *f; in fq_enqueue()
450 struct fq_flow *f = rb_entry(p, struct fq_flow, rate_node); in fq_check_throttled()
466 struct fq_flow *f; in fq_dequeue()
561 static void fq_flow_purge(struct fq_flow *flow) in fq_flow_purge()
573 struct fq_flow *f; in fq_reset()
587 f = rb_entry(p, struct fq_flow, fq_node); in fq_reset()
609 struct fq_flow *of, *nf; in fq_rehash()
617 of = rb_entry(op, struct fq_flow, fq_node); in fq_rehash()
630 nf = rb_entry(parent, struct fq_flow, fq_node); in fq_rehash()
913 sizeof(struct fq_flow), in fq_module_init()