| /linux/net/core/ |
| H A D | gen_estimator.c | 134 struct net_rate_estimator __rcu **rate_est, in gen_new_estimator() argument 180 old = rcu_dereference_protected(*rate_est, 1); in gen_new_estimator() 191 rcu_assign_pointer(*rate_est, est); in gen_new_estimator() 207 void gen_kill_estimator(struct net_rate_estimator __rcu **rate_est) in gen_kill_estimator() argument 211 est = unrcu_pointer(xchg(rate_est, NULL)); in gen_kill_estimator() 237 struct net_rate_estimator __rcu **rate_est, in gen_replace_estimator() argument 241 return gen_new_estimator(bstats, cpu_bstats, rate_est, in gen_replace_estimator() 252 bool gen_estimator_active(struct net_rate_estimator __rcu **rate_est) in gen_estimator_active() argument 254 return !!rcu_access_pointer(*rate_est); in gen_estimator_active() 258 bool gen_estimator_read(struct net_rate_estimator __rcu **rate_est, in gen_estimator_read() argument [all …]
|
| H A D | gen_stats.c | 309 struct net_rate_estimator __rcu **rate_est) in gnet_stats_copy_rate_est() argument 315 if (!gen_estimator_read(rate_est, &sample)) in gnet_stats_copy_rate_est()
|
| /linux/net/sched/ |
| H A D | sch_drr.c | 23 struct net_rate_estimator __rcu *rate_est; member 91 &cl->rate_est, in drr_change_class() 125 err = gen_replace_estimator(&cl->bstats, NULL, &cl->rate_est, in drr_change_class() 147 gen_kill_estimator(&cl->rate_est); in drr_destroy_class() 276 gnet_stats_copy_rate_est(d, &cl->rate_est) < 0 || in drr_dump_class_stats()
|
| H A D | sch_qfq.c | 135 struct net_rate_estimator __rcu *rate_est; member 467 &cl->rate_est, in qfq_change_class() 495 &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() 668 gnet_stats_copy_rate_est(d, &cl->rate_est) < 0 || in qfq_dump_class_stats()
|
| H A D | sch_hfsc.c | 116 struct net_rate_estimator __rcu *rate_est; member 966 &cl->rate_est, in hfsc_change_class() 1041 err = gen_new_estimator(&cl->bstats, NULL, &cl->rate_est, in hfsc_change_class() 1097 gen_kill_estimator(&cl->rate_est); in hfsc_destroy_class() 1347 gnet_stats_copy_rate_est(d, &cl->rate_est) < 0 || in hfsc_dump_class_stats()
|
| H A D | sch_htb.c | 110 struct net_rate_estimator __rcu *rate_est; member 1356 gnet_stats_copy_rate_est(d, &cl->rate_est) < 0 || in htb_dump_class_stats() 1610 gen_kill_estimator(&cl->rate_est); in htb_destroy_class() 1862 &cl->rate_est, in htb_change_class() 1987 &cl->rate_est, in htb_change_class() 2064 gen_kill_estimator(&cl->rate_est); in htb_change_class()
|
| H A D | sch_api.c | 961 gnet_stats_copy_rate_est(&d, &q->rate_est) < 0 || in tc_fill_qdisc() 1333 &sch->rate_est, in qdisc_create() 1403 &sch->rate_est, in qdisc_change()
|
| H A D | sch_generic.c | 1071 gen_kill_estimator(&qdisc->rate_est); in __qdisc_destroy()
|
| /linux/net/netfilter/ |
| H A D | xt_rateest.c | 22 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()
|
| H A D | xt_RATEEST.c | 82 gen_kill_estimator(&est->rate_est); in xt_rateest_put() 158 ret = gen_new_estimator(&est->bstats, NULL, &est->rate_est, in xt_rateest_tg_checkentry()
|
| /linux/include/net/netfilter/ |
| H A D | xt_rateest.h | 21 struct net_rate_estimator __rcu *rate_est; member
|
| /linux/include/net/ |
| H A D | gen_stats.h | 72 struct net_rate_estimator __rcu **rate_est,
|
| H A D | sch_generic.h | 102 struct net_rate_estimator __rcu *rate_est; 107 struct net_rate_estimator __rcu *rate_est; global() member
|