Home
last modified time | relevance | path

Searched refs:Qdisc (Results 1 – 25 of 62) sorted by relevance

123

/linux/include/net/
A Dsch_generic.h72 struct Qdisc { struct
144 static inline struct Qdisc *qdisc_refcount_inc_nz(struct Qdisc *qdisc) in qdisc_refcount_inc_nz()
260 struct Qdisc *, struct Qdisc **,
262 struct Qdisc * (*leaf)(struct Qdisc *, unsigned long cl);
480 struct Qdisc *q;
556 static inline struct Qdisc *qdisc_root(const struct Qdisc *qdisc) in qdisc_root()
563 static inline struct Qdisc *qdisc_root_bh(const struct Qdisc *qdisc) in qdisc_root_bh()
703 struct Qdisc *new, struct Qdisc *old,
717 struct Qdisc *new, struct Qdisc *old, in qdisc_offload_graft_helper()
1181 static inline struct Qdisc *qdisc_replace(struct Qdisc *sch, struct Qdisc *new, in qdisc_replace()
[all …]
A Dpkt_sched.h23 static inline void *qdisc_priv(struct Qdisc *q) in qdisc_priv()
28 static inline struct Qdisc *qdisc_from_priv(void *priv) in qdisc_from_priv()
30 return container_of(priv, struct Qdisc, privdata); in qdisc_from_priv()
75 struct Qdisc *qdisc;
103 int fifo_set_limit(struct Qdisc *q, unsigned int limit);
104 struct Qdisc *fifo_create_dflt(struct Qdisc *sch, struct Qdisc_ops *ops,
113 void qdisc_hash_add(struct Qdisc *q, bool invisible);
114 void qdisc_hash_del(struct Qdisc *q);
127 void __qdisc_run(struct Qdisc *q);
129 static inline void qdisc_run(struct Qdisc *q) in qdisc_run()
[all …]
A Dpkt_cls.h54 struct tcf_proto __rcu **p_filter_chain, struct Qdisc *q,
56 int tcf_block_get_ext(struct tcf_block **p_block, struct Qdisc *q,
60 void tcf_block_put_ext(struct tcf_block *block, struct Qdisc *q,
73 static inline struct Qdisc *tcf_block_q(struct tcf_block *block) in tcf_block_q()
97 struct tcf_proto __rcu **p_filter_chain, struct Qdisc *q, in tcf_block_get()
116 void tcf_block_put_ext(struct tcf_block *block, struct Qdisc *q, in tcf_block_put_ext()
121 static inline struct Qdisc *tcf_block_q(struct tcf_block *block) in tcf_block_q()
169 struct Qdisc *q = tp->chain->block->q; in tcf_bind_filter()
182 __tcf_unbind_filter(struct Qdisc *q, struct tcf_result *r) in __tcf_unbind_filter()
193 struct Qdisc *q = tp->chain->block->q; in tcf_unbind_filter()
[all …]
/linux/net/sched/
A Dsch_multiq.c25 struct Qdisc **queues;
29 static struct Qdisc *
63 struct Qdisc *qdisc; in multiq_enqueue()
90 struct Qdisc *qdisc; in multiq_dequeue()
122 struct Qdisc *qdisc; in multiq_peek()
148 multiq_reset(struct Qdisc *sch) in multiq_reset()
177 struct Qdisc **removed; in multiq_tune()
214 struct Qdisc *child, *old; in multiq_tune()
281 static int multiq_graft(struct Qdisc *sch, unsigned long arg, struct Qdisc *new, in multiq_graft()
294 static struct Qdisc *
[all …]
A Dsch_prio.c26 struct Qdisc *queues[TCQ_PRIO_BANDS];
30 static struct Qdisc *
72 struct Qdisc *qdisc; in prio_enqueue()
103 struct Qdisc *qdisc = q->queues[prio]; in prio_peek()
117 struct Qdisc *qdisc = q->queues[prio]; in prio_dequeue()
131 prio_reset(struct Qdisc *sch) in prio_reset()
167 prio_destroy(struct Qdisc *sch) in prio_destroy()
182 struct Qdisc *queues[TCQ_PRIO_BANDS]; in prio_tune()
288 static int prio_graft(struct Qdisc *sch, unsigned long arg, struct Qdisc *new, in prio_graft()
318 static struct Qdisc *
[all …]
A Dsch_ingress.c23 static struct Qdisc *ingress_leaf(struct Qdisc *sch, unsigned long arg) in ingress_leaf()
28 static unsigned long ingress_find(struct Qdisc *sch, u32 classid) in ingress_find()
33 static unsigned long ingress_bind_filter(struct Qdisc *sch, in ingress_bind_filter()
69 static u32 ingress_ingress_block_get(struct Qdisc *sch) in ingress_ingress_block_get()
76 static int ingress_init(struct Qdisc *sch, struct nlattr *opt, in ingress_init()
100 static void ingress_destroy(struct Qdisc *sch) in ingress_destroy()
166 static unsigned long clsact_bind_filter(struct Qdisc *sch, in clsact_bind_filter()
201 static u32 clsact_ingress_block_get(struct Qdisc *sch) in clsact_ingress_block_get()
208 static u32 clsact_egress_block_get(struct Qdisc *sch) in clsact_egress_block_get()
215 static int clsact_init(struct Qdisc *sch, struct nlattr *opt, in clsact_init()
[all …]
A Dsch_mq.c21 struct Qdisc **qdiscs;
38 static int mq_offload_stats(struct Qdisc *sch) in mq_offload_stats()
52 static void mq_destroy(struct Qdisc *sch) in mq_destroy()
67 static int mq_init(struct Qdisc *sch, struct nlattr *opt, in mq_init()
73 struct Qdisc *qdisc; in mq_init()
106 static void mq_attach(struct Qdisc *sch) in mq_attach()
110 struct Qdisc *qdisc, *old; in mq_attach()
131 struct Qdisc *qdisc; in mq_dump()
175 static int mq_graft(struct Qdisc *sch, unsigned long cl, struct Qdisc *new, in mq_graft()
176 struct Qdisc **old, struct netlink_ext_ack *extack) in mq_graft()
[all …]
A Dsch_cbs.c83 struct sk_buff *(*dequeue)(struct Qdisc *sch);
84 struct Qdisc *qdisc;
89 struct Qdisc *child, in cbs_child_enqueue()
109 struct Qdisc *qdisc = q->qdisc; in cbs_enqueue_offload()
118 struct Qdisc *qdisc = q->qdisc; in cbs_enqueue_soft()
161 static struct sk_buff *cbs_child_dequeue(struct Qdisc *sch, struct Qdisc *child) in cbs_child_dequeue()
179 struct Qdisc *qdisc = q->qdisc; in cbs_dequeue_soft()
234 struct Qdisc *qdisc = q->qdisc; in cbs_dequeue_offload()
433 static void cbs_destroy(struct Qdisc *sch) in cbs_destroy()
492 static int cbs_graft(struct Qdisc *sch, unsigned long arg, struct Qdisc *new, in cbs_graft()
[all …]
A Dsch_fifo.c19 static int bfifo_enqueue(struct sk_buff *skb, struct Qdisc *sch, in bfifo_enqueue()
28 static int pfifo_enqueue(struct sk_buff *skb, struct Qdisc *sch, in pfifo_enqueue()
55 static void fifo_offload_init(struct Qdisc *sch) in fifo_offload_init()
69 static void fifo_offload_destroy(struct Qdisc *sch) in fifo_offload_destroy()
83 static int fifo_offload_dump(struct Qdisc *sch) in fifo_offload_dump()
96 static int __fifo_init(struct Qdisc *sch, struct nlattr *opt, in __fifo_init()
131 static int fifo_init(struct Qdisc *sch, struct nlattr *opt, in fifo_init()
150 static void fifo_destroy(struct Qdisc *sch) in fifo_destroy()
227 int fifo_set_limit(struct Qdisc *q, unsigned int limit) in fifo_set_limit()
252 struct Qdisc *fifo_create_dflt(struct Qdisc *sch, struct Qdisc_ops *ops, in fifo_create_dflt()
[all …]
A Dsch_generic.c602 struct Qdisc noop_qdisc = {
874 struct Qdisc *sch; in qdisc_alloc()
938 struct Qdisc *sch; in qdisc_create_dflt()
1001 struct Qdisc *q = container_of(head, struct Qdisc, rcu); in qdisc_free_cb()
1061 struct Qdisc *qdisc) in dev_graft_qdisc()
1085 struct Qdisc *qdisc; in attach_one_default_qdisc()
1105 struct Qdisc *qdisc; in attach_default_qdiscs()
1197 struct Qdisc *qdisc; in dev_deactivate_queue()
1210 struct Qdisc *qdisc; in dev_reset_queue()
1240 struct Qdisc *q; in some_qdisc_is_busy()
[all …]
A Dsch_red.c44 struct Qdisc *sch;
48 struct Qdisc *qdisc;
74 struct Qdisc *child = q->qdisc; in red_enqueue()
152 struct Qdisc *child = q->qdisc; in red_dequeue()
169 struct Qdisc *child = q->qdisc; in red_peek()
174 static void red_reset(struct Qdisc *sch) in red_reset()
213 static void red_destroy(struct Qdisc *sch) in red_destroy()
323 struct Qdisc *sch = q->sch; in red_adaptative_timer()
483 struct Qdisc *new, struct Qdisc *old, in red_graft_offload()
497 static int red_graft(struct Qdisc *sch, unsigned long arg, struct Qdisc *new, in red_graft()
[all …]
A Dsch_drr.c26 struct Qdisc *qdisc;
196 static void drr_unbind_tcf(struct Qdisc *sch, unsigned long arg) in drr_unbind_tcf()
203 static int drr_graft_class(struct Qdisc *sch, unsigned long arg, in drr_graft_class()
204 struct Qdisc *new, struct Qdisc **old, in drr_graft_class()
220 static struct Qdisc *drr_class_leaf(struct Qdisc *sch, unsigned long arg) in drr_class_leaf()
234 static int drr_dump_class(struct Qdisc *sch, unsigned long arg, in drr_dump_class()
261 struct Qdisc *cl_q = cl->qdisc; in drr_dump_class_stats()
338 static int drr_enqueue(struct sk_buff *skb, struct Qdisc *sch, in drr_enqueue()
375 static struct sk_buff *drr_dequeue(struct Qdisc *sch) in drr_dequeue()
431 static void drr_reset_qdisc(struct Qdisc *sch) in drr_reset_qdisc()
[all …]
A Dsch_ets.c41 struct Qdisc *qdisc;
105 static void ets_offload_change(struct Qdisc *sch) in ets_offload_change()
146 static void ets_offload_destroy(struct Qdisc *sch) in ets_offload_destroy()
160 static void ets_offload_graft(struct Qdisc *sch, struct Qdisc *new, in ets_offload_graft()
161 struct Qdisc *old, unsigned long arg, in ets_offload_graft()
177 static int ets_offload_dump(struct Qdisc *sch) in ets_offload_dump()
248 struct Qdisc *new, struct Qdisc **old, in ets_class_graft()
267 static struct Qdisc *ets_class_leaf(struct Qdisc *sch, unsigned long arg) in ets_class_leaf()
326 struct Qdisc *cl_q = cl->qdisc; in ets_class_dump_stats()
587 struct Qdisc *queues[TCQ_ETS_MAX_BANDS]; in ets_qdisc_change()
[all …]
A Dsch_tbf.c141 static void tbf_offload_change(struct Qdisc *sch) in tbf_offload_change()
160 static void tbf_offload_destroy(struct Qdisc *sch) in tbf_offload_destroy()
174 static int tbf_offload_dump(struct Qdisc *sch) in tbf_offload_dump()
187 static void tbf_offload_graft(struct Qdisc *sch, struct Qdisc *new, in tbf_offload_graft()
188 struct Qdisc *old, struct netlink_ext_ack *extack) in tbf_offload_graft()
268 static struct sk_buff *tbf_dequeue(struct Qdisc *sch) in tbf_dequeue()
328 static void tbf_reset(struct Qdisc *sch) in tbf_reset()
358 struct Qdisc *child = NULL; in tbf_change()
493 static void tbf_destroy(struct Qdisc *sch) in tbf_destroy()
555 static int tbf_graft(struct Qdisc *sch, unsigned long arg, struct Qdisc *new, in tbf_graft()
[all …]
A Dsch_sfb.c53 struct Qdisc *qdisc;
284 struct Qdisc *child = q->qdisc; in sfb_enqueue()
423 static struct sk_buff *sfb_dequeue(struct Qdisc *sch) in sfb_dequeue()
426 struct Qdisc *child = q->qdisc; in sfb_dequeue()
441 static struct sk_buff *sfb_peek(struct Qdisc *sch) in sfb_peek()
444 struct Qdisc *child = q->qdisc; in sfb_peek()
451 static void sfb_reset(struct Qdisc *sch) in sfb_reset()
464 static void sfb_destroy(struct Qdisc *sch) in sfb_destroy()
492 struct Qdisc *child, *old; in sfb_change()
617 static int sfb_graft(struct Qdisc *sch, unsigned long arg, struct Qdisc *new, in sfb_graft()
[all …]
A Dsch_dsmark.c46 struct Qdisc *q;
64 static int dsmark_graft(struct Qdisc *sch, unsigned long arg, in dsmark_graft()
65 struct Qdisc *new, struct Qdisc **old, in dsmark_graft()
84 static struct Qdisc *dsmark_leaf(struct Qdisc *sch, unsigned long arg) in dsmark_leaf()
90 static unsigned long dsmark_find(struct Qdisc *sch, u32 classid) in dsmark_find()
95 static unsigned long dsmark_bind_filter(struct Qdisc *sch, in dsmark_bind_filter()
153 static int dsmark_delete(struct Qdisc *sch, unsigned long arg, in dsmark_delete()
288 static struct sk_buff *dsmark_dequeue(struct Qdisc *sch) in dsmark_dequeue()
331 static struct sk_buff *dsmark_peek(struct Qdisc *sch) in dsmark_peek()
405 static void dsmark_reset(struct Qdisc *sch) in dsmark_reset()
[all …]
A Dsch_skbprio.c68 static int skbprio_enqueue(struct sk_buff *skb, struct Qdisc *sch, in skbprio_enqueue()
139 static struct sk_buff *skbprio_dequeue(struct Qdisc *sch) in skbprio_dequeue()
167 static int skbprio_change(struct Qdisc *sch, struct nlattr *opt, in skbprio_change()
179 static int skbprio_init(struct Qdisc *sch, struct nlattr *opt, in skbprio_init()
199 static int skbprio_dump(struct Qdisc *sch, struct sk_buff *skb) in skbprio_dump()
211 static void skbprio_reset(struct Qdisc *sch) in skbprio_reset()
227 static void skbprio_destroy(struct Qdisc *sch) in skbprio_destroy()
236 static struct Qdisc *skbprio_leaf(struct Qdisc *sch, unsigned long arg) in skbprio_leaf()
241 static unsigned long skbprio_find(struct Qdisc *sch, u32 classid) in skbprio_find()
246 static int skbprio_dump_class(struct Qdisc *sch, unsigned long cl, in skbprio_dump_class()
[all …]
A Dsch_atm.c46 struct Qdisc *q; /* FIFO, TBF, etc. */
85 static int atm_tc_graft(struct Qdisc *sch, unsigned long arg, in atm_tc_graft()
86 struct Qdisc *new, struct Qdisc **old, in atm_tc_graft()
105 static struct Qdisc *atm_tc_leaf(struct Qdisc *sch, unsigned long cl) in atm_tc_leaf()
124 static unsigned long atm_tc_bind_filter(struct Qdisc *sch, in atm_tc_bind_filter()
143 static void atm_tc_put(struct Qdisc *sch, unsigned long cl) in atm_tc_put()
473 struct Qdisc *sch = qdisc_from_priv(p); in sch_atm_dequeue()
520 static struct sk_buff *atm_tc_dequeue(struct Qdisc *sch) in atm_tc_dequeue()
533 static struct sk_buff *atm_tc_peek(struct Qdisc *sch) in atm_tc_peek()
572 static void atm_tc_reset(struct Qdisc *sch) in atm_tc_reset()
[all …]
A Dsch_api.c261 struct Qdisc *q; in qdisc_match_from_root()
300 struct Qdisc *q; in qdisc_lookup()
319 struct Qdisc *q; in qdisc_lookup_rcu()
334 static struct Qdisc *qdisc_leaf(struct Qdisc *p, u32 classid) in qdisc_leaf()
842 struct Qdisc *new, struct Qdisc *old, in qdisc_offload_graft_helper()
871 struct Qdisc *new, struct Qdisc *old, in qdisc_offload_graft_root()
975 struct Qdisc *old, struct Qdisc *new) in qdisc_notify()
1006 struct Qdisc *old, struct Qdisc *new) in notify_and_destroy()
1039 struct Qdisc *new, struct Qdisc *old, in qdisc_graft()
1687 struct Qdisc *q; in tc_dump_qdisc_root()
[all …]
A Dsch_mqprio.c21 struct Qdisc **qdiscs;
30 static void mqprio_destroy(struct Qdisc *sch) in mqprio_destroy()
133 static int mqprio_init(struct Qdisc *sch, struct nlattr *opt, in mqprio_init()
139 struct Qdisc *qdisc; in mqprio_init()
289 static void mqprio_attach(struct Qdisc *sch) in mqprio_attach()
293 struct Qdisc *qdisc, *old; in mqprio_attach()
320 static int mqprio_graft(struct Qdisc *sch, unsigned long cl, struct Qdisc *new, in mqprio_graft()
321 struct Qdisc **old, struct netlink_ext_ack *extack) in mqprio_graft()
389 struct Qdisc *qdisc; in mqprio_dump()
445 static struct Qdisc *mqprio_leaf(struct Qdisc *sch, unsigned long cl) in mqprio_leaf()
[all …]
A Dsch_htb.c127 struct Qdisc *q;
1125 struct Qdisc *qdisc; in htb_init()
1404 static struct Qdisc *
1408 struct Qdisc *old_q; in htb_graft_helper()
1442 struct Qdisc *qdisc; in htb_offload_move_qdisc()
1455 struct Qdisc *qdisc; in htb_offload_move_qdisc()
1464 static int htb_graft(struct Qdisc *sch, unsigned long arg, struct Qdisc *new, in htb_graft()
1470 struct Qdisc *old_q; in htb_graft()
1502 static struct Qdisc *htb_leaf(struct Qdisc *sch, unsigned long arg) in htb_leaf()
1553 struct Qdisc *old_q; in htb_parent_to_leaf_offload()
[all …]
A Dsch_fq_codel.c184 static int fq_codel_enqueue(struct sk_buff *skb, struct Qdisc *sch, in fq_codel_enqueue()
257 struct Qdisc *sch = ctx; in dequeue_func()
275 struct Qdisc *sch = ctx; in drop_func()
281 static struct sk_buff *fq_codel_dequeue(struct Qdisc *sch) in fq_codel_dequeue()
335 static void fq_codel_reset(struct Qdisc *sch) in fq_codel_reset()
369 static int fq_codel_change(struct Qdisc *sch, struct nlattr *opt, in fq_codel_change()
455 static void fq_codel_destroy(struct Qdisc *sch) in fq_codel_destroy()
464 static int fq_codel_init(struct Qdisc *sch, struct nlattr *opt, in fq_codel_init()
527 static int fq_codel_dump(struct Qdisc *sch, struct sk_buff *skb) in fq_codel_dump()
597 static struct Qdisc *fq_codel_leaf(struct Qdisc *sch, unsigned long arg) in fq_codel_leaf()
[all …]
A Dsch_taprio.c64 struct Qdisc **qdiscs;
65 struct Qdisc *root;
187 struct Qdisc *sch, in find_entry_to_transmit()
439 struct Qdisc *child; in taprio_enqueue()
510 struct Qdisc *child = q->qdiscs[i]; in taprio_peek_soft()
579 struct Qdisc *child = q->qdiscs[i]; in taprio_dequeue_soft()
711 struct Qdisc *sch = q->root; in advance_sched()
1721 struct Qdisc *qdisc; in taprio_init()
1750 struct Qdisc *old; in taprio_attach()
1783 struct Qdisc *new, struct Qdisc **old, in taprio_graft()
[all …]
A Dsch_teql.c55 struct Qdisc *slaves;
64 struct Qdisc *next;
90 teql_dequeue(struct Qdisc *sch) in teql_dequeue()
95 struct Qdisc *q; in teql_dequeue()
115 teql_peek(struct Qdisc *sch) in teql_peek()
122 teql_reset(struct Qdisc *sch) in teql_reset()
131 teql_destroy(struct Qdisc *sch) in teql_destroy()
133 struct Qdisc *q, *prev; in teql_destroy()
281 struct Qdisc *start, *q; in teql_master_xmit()
358 struct Qdisc *q; in teql_master_open()
[all …]
A Dsch_codel.c71 struct Qdisc *sch = ctx; in dequeue_func()
83 struct Qdisc *sch = ctx; in drop_func()
89 static struct sk_buff *codel_qdisc_dequeue(struct Qdisc *sch) in codel_qdisc_dequeue()
111 static int codel_qdisc_enqueue(struct sk_buff *skb, struct Qdisc *sch, in codel_qdisc_enqueue()
133 static int codel_change(struct Qdisc *sch, struct nlattr *opt, in codel_change()
189 static int codel_init(struct Qdisc *sch, struct nlattr *opt, in codel_init()
216 static int codel_dump(struct Qdisc *sch, struct sk_buff *skb) in codel_dump()
245 static int codel_dump_stats(struct Qdisc *sch, struct gnet_dump *d) in codel_dump_stats()
271 static void codel_reset(struct Qdisc *sch) in codel_reset()

Completed in 56 milliseconds

123