Home
last modified time | relevance | path

Searched refs:rate_est (Results 1 – 14 of 14) sorted by relevance

/Linux-v4.19/net/core/
Dgen_estimator.c130 struct net_rate_estimator __rcu **rate_est, in gen_new_estimator() argument
173 old = rcu_dereference_protected(*rate_est, 1); in gen_new_estimator()
184 rcu_assign_pointer(*rate_est, est); in gen_new_estimator()
200 void gen_kill_estimator(struct net_rate_estimator __rcu **rate_est) in gen_kill_estimator() argument
204 est = xchg((__force struct net_rate_estimator **)rate_est, NULL); in gen_kill_estimator()
228 struct net_rate_estimator __rcu **rate_est, in gen_replace_estimator() argument
232 return gen_new_estimator(bstats, cpu_bstats, rate_est, in gen_replace_estimator()
243 bool gen_estimator_active(struct net_rate_estimator __rcu **rate_est) in gen_estimator_active() argument
245 return !!rcu_access_pointer(*rate_est); in gen_estimator_active()
249 bool gen_estimator_read(struct net_rate_estimator __rcu **rate_est, in gen_estimator_read() argument
[all …]
Dgen_stats.c219 struct net_rate_estimator __rcu **rate_est) in gnet_stats_copy_rate_est() argument
225 if (!gen_estimator_read(rate_est, &sample)) in gnet_stats_copy_rate_est()
/Linux-v4.19/net/sched/
Dsch_drr.c27 struct net_rate_estimator __rcu *rate_est; member
98 &cl->rate_est, in drr_change_class()
131 err = gen_replace_estimator(&cl->bstats, NULL, &cl->rate_est, in drr_change_class()
155 gen_kill_estimator(&cl->rate_est); in drr_destroy_class()
281 gnet_stats_copy_rate_est(d, &cl->rate_est) < 0 || in drr_dump_class_stats()
Dsch_qfq.c139 struct net_rate_estimator __rcu *rate_est; member
464 &cl->rate_est, in qfq_change_class()
490 &cl->rate_est, in qfq_change_class()
514 gen_kill_estimator(&cl->rate_est); in qfq_change_class()
539 gen_kill_estimator(&cl->rate_est); in qfq_destroy_class()
657 gnet_stats_copy_rate_est(d, &cl->rate_est) < 0 || in qfq_dump_class_stats()
Dsch_hfsc.c116 struct net_rate_estimator __rcu *rate_est; member
975 &cl->rate_est, in hfsc_change_class()
1044 err = gen_new_estimator(&cl->bstats, NULL, &cl->rate_est, in hfsc_change_class()
1096 gen_kill_estimator(&cl->rate_est); in hfsc_destroy_class()
1339 gnet_stats_copy_rate_est(d, &cl->rate_est) < 0 || in hfsc_dump_class_stats()
Dsch_htb.c115 struct net_rate_estimator __rcu *rate_est; member
1156 gnet_stats_copy_rate_est(d, &cl->rate_est) < 0 || in htb_dump_class_stats()
1229 gen_kill_estimator(&cl->rate_est); in htb_destroy_class()
1397 &cl->rate_est, in htb_change_class()
1463 &cl->rate_est, in htb_change_class()
Dsch_cbq.c126 struct net_rate_estimator __rcu *rate_est; member
1370 gnet_stats_copy_rate_est(d, &cl->rate_est) < 0 || in cbq_dump_class_stats()
1423 gen_kill_estimator(&cl->rate_est); in cbq_destroy_class()
1506 &cl->rate_est, in cbq_change_class()
1607 err = gen_new_estimator(&cl->bstats, NULL, &cl->rate_est, in cbq_change_class()
Dsch_api.c859 gnet_stats_copy_rate_est(&d, &q->rate_est) < 0 || in tc_fill_qdisc()
1186 &sch->rate_est, in qdisc_create()
1261 &sch->rate_est, in qdisc_change()
Dsch_generic.c958 gen_kill_estimator(&qdisc->rate_est); in qdisc_destroy()
/Linux-v4.19/net/netfilter/
Dxt_rateest.c25 gen_estimator_read(&info->est1->rate_est, &sample); in xt_rateest_mt()
39 gen_estimator_read(&info->est2->rate_est, &sample); in xt_rateest_mt()
Dxt_RATEEST.c85 gen_kill_estimator(&est->rate_est); in xt_rateest_put()
157 ret = gen_new_estimator(&est->bstats, NULL, &est->rate_est, in xt_rateest_tg_checkentry()
/Linux-v4.19/include/net/netfilter/
Dxt_rateest.h21 struct net_rate_estimator __rcu *rate_est; member
/Linux-v4.19/include/net/
Dgen_stats.h61 struct net_rate_estimator __rcu **rate_est,
Dsch_generic.h88 struct net_rate_estimator __rcu *rate_est; member