Searched refs:tcx_entry (Results 1 – 4 of 4) sorted by relevance
| /linux/include/net/ |
| H A D | tcx.h | 13 struct tcx_entry { struct 33 static inline struct tcx_entry *tcx_entry(struct bpf_mprog_entry *entry) in tcx_entry() function 37 return container_of(bundle, struct tcx_entry, bundle); in tcx_entry() 79 struct tcx_entry *tcx = kzalloc_noprof(sizeof(*tcx), GFP_KERNEL); in tcx_entry_create_noprof() 91 kfree_rcu(tcx_entry(entry), rcu); in tcx_entry_free() 130 tcx_entry(entry)->miniq_active++; in tcx_miniq_inc() 136 tcx_entry(entry)->miniq_active--; in tcx_miniq_dec() 142 return bpf_mprog_total(entry) || tcx_entry(entry)->miniq_active; in tcx_entry_is_active()
|
| /linux/net/sched/ |
| H A D | sch_ingress.c | 95 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/kernel/bpf/ |
| H A D | tcx.c | 106 active = tcx_entry(entry)->miniq_active; in tcx_uninstall()
|
| /linux/net/core/ |
| H A D | dev.c | 4359 static int tc_run(struct tcx_entry *entry, struct sk_buff *skb, in tc_run() 4458 sch_ret = tc_run(tcx_entry(entry), skb, &drop_reason); in sch_handle_ingress() 4517 sch_ret = tc_run(tcx_entry(entry), skb, &drop_reason); in sch_handle_egress()
|