Home
last modified time | relevance | path

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

/net/core/
Dgen_estimator.c126 struct net_rate_estimator __rcu **rate_est, in gen_new_estimator() argument
172 old = rcu_dereference_protected(*rate_est, 1); in gen_new_estimator()
183 rcu_assign_pointer(*rate_est, est); in gen_new_estimator()
199 void gen_kill_estimator(struct net_rate_estimator __rcu **rate_est) in gen_kill_estimator() argument
203 est = xchg((__force struct net_rate_estimator **)rate_est, NULL); in gen_kill_estimator()
227 struct net_rate_estimator __rcu **rate_est, in gen_replace_estimator() argument
231 return gen_new_estimator(bstats, cpu_bstats, rate_est, in gen_replace_estimator()
242 bool gen_estimator_active(struct net_rate_estimator __rcu **rate_est) in gen_estimator_active() argument
244 return !!rcu_access_pointer(*rate_est); in gen_estimator_active()
248 bool gen_estimator_read(struct net_rate_estimator __rcu **rate_est, in gen_estimator_read() argument
[all …]
Dgen_stats.c250 struct net_rate_estimator __rcu **rate_est) in gnet_stats_copy_rate_est() argument
256 if (!gen_estimator_read(rate_est, &sample)) in gnet_stats_copy_rate_est()
/net/sched/
Dsch_drr.c24 struct net_rate_estimator __rcu *rate_est; member
87 &cl->rate_est, in drr_change_class()
120 err = gen_replace_estimator(&cl->bstats, NULL, &cl->rate_est, in drr_change_class()
144 gen_kill_estimator(&cl->rate_est); in drr_destroy_class()
271 gnet_stats_copy_rate_est(d, &cl->rate_est) < 0 || in drr_dump_class_stats()
Dsch_qfq.c136 struct net_rate_estimator __rcu *rate_est; member
458 &cl->rate_est, in qfq_change_class()
484 &cl->rate_est, in qfq_change_class()
503 gen_kill_estimator(&cl->rate_est); in qfq_change_class()
531 gen_kill_estimator(&cl->rate_est); in qfq_destroy_class()
649 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
974 &cl->rate_est, in hfsc_change_class()
1043 err = gen_new_estimator(&cl->bstats, NULL, &cl->rate_est, in hfsc_change_class()
1101 gen_kill_estimator(&cl->rate_est); in hfsc_destroy_class()
1345 gnet_stats_copy_rate_est(d, &cl->rate_est) < 0 || in hfsc_dump_class_stats()
Dsch_htb.c111 struct net_rate_estimator __rcu *rate_est; member
1143 gnet_stats_copy_rate_est(d, &cl->rate_est) < 0 || in htb_dump_class_stats()
1216 gen_kill_estimator(&cl->rate_est); in htb_destroy_class()
1381 &cl->rate_est, in htb_change_class()
1443 &cl->rate_est, in htb_change_class()
Dsch_api.c937 gnet_stats_copy_rate_est(&d, &q->rate_est) < 0 || in tc_fill_qdisc()
1286 &sch->rate_est, in qdisc_create()
1361 &sch->rate_est, in qdisc_change()
Dsch_generic.c1004 gen_kill_estimator(&qdisc->rate_est); in qdisc_destroy()
/net/netfilter/
Dxt_rateest.c22 gen_estimator_read(&info->est1->rate_est, &sample); in xt_rateest_mt()
36 gen_estimator_read(&info->est2->rate_est, &sample); in xt_rateest_mt()
Dxt_RATEEST.c82 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()