Home
last modified time | relevance | path

Searched refs:tcf_block (Results 1 – 22 of 22) sorted by relevance

/Linux-v5.4/include/net/
Dpkt_cls.h39 struct tcf_chain *tcf_chain_get_by_act(struct tcf_block *block,
42 struct tcf_chain *tcf_get_next_chain(struct tcf_block *block,
46 void tcf_block_netif_keep_dst(struct tcf_block *block);
47 int tcf_block_get(struct tcf_block **p_block,
50 int tcf_block_get_ext(struct tcf_block **p_block, struct Qdisc *q,
53 void tcf_block_put(struct tcf_block *block);
54 void tcf_block_put_ext(struct tcf_block *block, struct Qdisc *q,
57 static inline bool tcf_block_shared(struct tcf_block *block) in tcf_block_shared()
62 static inline bool tcf_block_non_null_shared(struct tcf_block *block) in tcf_block_non_null_shared()
67 static inline struct Qdisc *tcf_block_q(struct tcf_block *block) in tcf_block_q()
[all …]
Dsch_generic.h214 struct tcf_block * (*tcf_block)(struct Qdisc *sch, member
386 struct tcf_block *block;
397 struct tcf_block { struct
434 static inline bool lockdep_tcf_chain_is_locked(struct tcf_block *chain) in lockdep_tcf_chain_is_locked() argument
/Linux-v5.4/net/sched/
Dcls_api.c60 struct tcf_block *block = chain->block; in tcf_proto_signal_destroying()
99 struct tcf_block *block = chain->block; in tcf_proto_signal_destroyed()
368 static struct tcf_chain *tcf_chain_create(struct tcf_block *block, in tcf_chain_create()
399 struct tcf_block *block = chain->block; in tcf_chain0_head_change()
414 struct tcf_block *block = chain->block; in tcf_chain_detach()
429 static void tcf_block_destroy(struct tcf_block *block) in tcf_block_destroy()
438 struct tcf_block *block = chain->block; in tcf_chain_destroy()
463 static struct tcf_chain *tcf_chain_lookup(struct tcf_block *block, in tcf_chain_lookup()
480 static struct tcf_chain *__tcf_chain_get(struct tcf_block *block, in __tcf_chain_get()
520 static struct tcf_chain *tcf_chain_get(struct tcf_block *block, u32 chain_index, in tcf_chain_get()
[all …]
Dsch_ingress.c18 struct tcf_block *block;
47 static struct tcf_block *ingress_tcf_block(struct Qdisc *sch, unsigned long cl, in ingress_tcf_block()
121 .tcf_block = ingress_tcf_block,
140 struct tcf_block *ingress_block;
141 struct tcf_block *egress_block;
165 static struct tcf_block *clsact_tcf_block(struct Qdisc *sch, unsigned long cl, in clsact_tcf_block()
254 .tcf_block = clsact_tcf_block,
Dcls_matchall.c72 struct tcf_block *block = tp->chain->block; in mall_destroy_hw_filter()
88 struct tcf_block *block = tp->chain->block; in mall_replace_hw_filter()
289 struct tcf_block *block = tp->chain->block; in mall_reoffload()
331 struct tcf_block *block = tp->chain->block; in mall_stats_hw_filter()
Dsch_multiq.c24 struct tcf_block *block;
370 static struct tcf_block *multiq_tcf_block(struct Qdisc *sch, unsigned long cl, in multiq_tcf_block()
385 .tcf_block = multiq_tcf_block,
Dsch_prio.c24 struct tcf_block *block;
387 static struct tcf_block *prio_tcf_block(struct Qdisc *sch, unsigned long cl, in prio_tcf_block()
402 .tcf_block = prio_tcf_block,
Dsch_drr.c35 struct tcf_block *block;
173 static struct tcf_block *drr_tcf_block(struct Qdisc *sch, unsigned long cl, in drr_tcf_block()
471 .tcf_block = drr_tcf_block,
Dsch_dsmark.c48 struct tcf_block *block;
191 static struct tcf_block *dsmark_tcf_block(struct Qdisc *sch, unsigned long cl, in dsmark_tcf_block()
487 .tcf_block = dsmark_tcf_block,
Dcls_bpf.c148 struct tcf_block *block = tp->chain->block; in cls_bpf_offload_cmd()
229 struct tcf_block *block = tp->chain->block; in cls_bpf_offload_update_stats()
664 struct tcf_block *block = tp->chain->block; in cls_bpf_reoffload()
Dsch_atm.c48 struct tcf_block *block;
365 static struct tcf_block *atm_tc_tcf_block(struct Qdisc *sch, unsigned long cl, in atm_tc_tcf_block()
674 .tcf_block = atm_tc_tcf_block,
Dsch_sfb.c55 struct tcf_block *block;
669 static struct tcf_block *sfb_tcf_block(struct Qdisc *sch, unsigned long cl, in sfb_tcf_block()
693 .tcf_block = sfb_tcf_block,
Dcls_u32.c321 struct tcf_block *block = tp->chain->block; in tc_u_common_ptr()
474 struct tcf_block *block = tp->chain->block; in u32_clear_hw_hnode()
489 struct tcf_block *block = tp->chain->block; in u32_replace_hw_hnode()
518 struct tcf_block *block = tp->chain->block; in u32_remove_hw_knode()
533 struct tcf_block *block = tp->chain->block; in u32_replace_hw_knode()
1177 struct tcf_block *block = tp->chain->block; in u32_reoffload_knode()
Dsch_fq_codel.c53 struct tcf_block *block;
598 static struct tcf_block *fq_codel_tcf_block(struct Qdisc *sch, unsigned long cl, in fq_codel_tcf_block()
687 .tcf_block = fq_codel_tcf_block,
Dsch_sfq.c125 struct tcf_block *block;
836 static struct tcf_block *sfq_tcf_block(struct Qdisc *sch, unsigned long cl, in sfq_tcf_block()
898 .tcf_block = sfq_tcf_block,
Dsch_htb.c104 struct tcf_block *block;
155 struct tcf_block *block;
1499 static struct tcf_block *htb_tcf_block(struct Qdisc *sch, unsigned long arg, in htb_tcf_block()
1567 .tcf_block = htb_tcf_block,
Dsch_qfq.c181 struct tcf_block *block;
556 static struct tcf_block *qfq_tcf_block(struct Qdisc *sch, unsigned long cl, in qfq_tcf_block()
1491 .tcf_block = qfq_tcf_block,
Dcls_flower.c412 struct tcf_block *block = tp->chain->block; in fl_hw_destroy_filter()
428 struct tcf_block *block = tp->chain->block; in fl_hw_replace_filter()
475 struct tcf_block *block = tp->chain->block; in fl_hw_update_stats()
1775 struct tcf_block *block = tp->chain->block; in fl_reoffload()
1863 struct tcf_block *block = chain->block; in fl_hw_create_tmplt()
1889 struct tcf_block *block = chain->block; in fl_hw_destroy_tmplt()
Dsch_hfsc.c118 struct tcf_block *block;
1241 static struct tcf_block *hfsc_tcf_block(struct Qdisc *sch, unsigned long arg, in hfsc_tcf_block()
1655 .tcf_block = hfsc_tcf_block,
Dsch_api.c155 if (cops->tcf_block && !(cops->bind_tcf && cops->unbind_tcf)) in register_qdisc()
1916 struct tcf_block *block; in tc_bind_tclass()
1923 if (!cops->tcf_block) in tc_bind_tclass()
1925 block = cops->tcf_block(q, cl, NULL); in tc_bind_tclass()
Dsch_cbq.c125 struct tcf_block *block;
1716 static struct tcf_block *cbq_tcf_block(struct Qdisc *sch, unsigned long arg, in cbq_tcf_block()
1783 .tcf_block = cbq_tcf_block,
Dsch_cake.c202 struct tcf_block *block;
2927 static struct tcf_block *cake_tcf_block(struct Qdisc *sch, unsigned long cl, in cake_tcf_block()
3047 .tcf_block = cake_tcf_block,