Home
last modified time | relevance | path

Searched refs:tcx_entry (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/include/net/
Dtcx.h13 struct tcx_entry { struct
34 static inline struct tcx_entry *tcx_entry(struct bpf_mprog_entry *entry) in tcx_entry() argument
38 return container_of(bundle, struct tcx_entry, bundle); in tcx_entry()
80 struct tcx_entry *tcx = kzalloc_noprof(sizeof(*tcx), GFP_KERNEL); in tcx_entry_create_noprof()
92 kfree_rcu(tcx_entry(entry), rcu); in tcx_entry_free()
131 tcx_entry(entry)->miniq_active++; in tcx_miniq_inc()
137 tcx_entry(entry)->miniq_active--; in tcx_miniq_dec()
143 return bpf_mprog_total(entry) || tcx_entry(entry)->miniq_active; in tcx_entry_is_active()
/linux-6.12.1/net/sched/
Dsch_ingress.c95 mini_qdisc_pair_init(&q->miniqp, sch, &tcx_entry(entry)->miniq); in ingress_init()
261 mini_qdisc_pair_init(&q->miniqp_ingress, sch, &tcx_entry(entry)->miniq); in clsact_init()
280 mini_qdisc_pair_init(&q->miniqp_egress, sch, &tcx_entry(entry)->miniq); in clsact_init()
/linux-6.12.1/kernel/bpf/
Dtcx.c106 active = tcx_entry(entry)->miniq_active; in tcx_uninstall()
/linux-6.12.1/net/core/
Ddev.c3988 static int tc_run(struct tcx_entry *entry, struct sk_buff *skb, in tc_run()
4084 sch_ret = tc_run(tcx_entry(entry), skb, &drop_reason); in sch_handle_ingress()
4143 sch_ret = tc_run(tcx_entry(entry), skb, &drop_reason); in sch_handle_egress()