/kernel/linux/linux-5.10/net/core/ |
H A D | gen_estimator.c | 110 * @rate_est: rate estimator statistics 115 * Creates a new rate estimator with &bstats as source and &rate_est 119 * &rate_est with the statistics lock grabbed during this period. 126 struct net_rate_estimator __rcu **rate_est, in gen_new_estimator() 172 old = rcu_dereference_protected(*rate_est, 1); in gen_new_estimator() 183 rcu_assign_pointer(*rate_est, est); in gen_new_estimator() 194 * @rate_est: rate 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() 215 * @rate_est 124 gen_new_estimator(struct gnet_stats_basic_packed *bstats, struct gnet_stats_basic_cpu __percpu *cpu_bstats, struct net_rate_estimator __rcu **rate_est, spinlock_t *lock, seqcount_t *running, struct nlattr *opt) gen_new_estimator() argument 225 gen_replace_estimator(struct gnet_stats_basic_packed *bstats, struct gnet_stats_basic_cpu __percpu *cpu_bstats, struct net_rate_estimator __rcu **rate_est, spinlock_t *lock, seqcount_t *running, struct nlattr *opt) gen_replace_estimator() argument 242 gen_estimator_active(struct net_rate_estimator __rcu **rate_est) gen_estimator_active() argument 248 gen_estimator_read(struct net_rate_estimator __rcu **rate_est, struct gnet_stats_rate_est64 *sample) gen_estimator_read() argument [all...] |
H A D | gen_stats.c | 244 * @rate_est: rate estimator 254 struct net_rate_estimator __rcu **rate_est) in gnet_stats_copy_rate_est() 260 if (!gen_estimator_read(rate_est, &sample)) in gnet_stats_copy_rate_est() 253 gnet_stats_copy_rate_est(struct gnet_dump *d, struct net_rate_estimator __rcu **rate_est) gnet_stats_copy_rate_est() argument
|
/kernel/linux/linux-6.6/net/core/ |
H A D | gen_estimator.c | 114 * @rate_est: rate estimator statistics 121 * Creates a new rate estimator with &bstats as source and &rate_est 125 * &rate_est with the statistics lock grabbed during this period. 132 struct net_rate_estimator __rcu **rate_est, in gen_new_estimator() 178 old = rcu_dereference_protected(*rate_est, 1); in gen_new_estimator() 189 rcu_assign_pointer(*rate_est, est); in gen_new_estimator() 200 * @rate_est: rate estimator 205 void gen_kill_estimator(struct net_rate_estimator __rcu **rate_est) in gen_kill_estimator() argument 209 est = xchg((__force struct net_rate_estimator **)rate_est, NULL); in gen_kill_estimator() 221 * @rate_est 130 gen_new_estimator(struct gnet_stats_basic_sync *bstats, struct gnet_stats_basic_sync __percpu *cpu_bstats, struct net_rate_estimator __rcu **rate_est, spinlock_t *lock, bool running, struct nlattr *opt) gen_new_estimator() argument 233 gen_replace_estimator(struct gnet_stats_basic_sync *bstats, struct gnet_stats_basic_sync __percpu *cpu_bstats, struct net_rate_estimator __rcu **rate_est, spinlock_t *lock, bool running, struct nlattr *opt) gen_replace_estimator() argument 250 gen_estimator_active(struct net_rate_estimator __rcu **rate_est) gen_estimator_active() argument 256 gen_estimator_read(struct net_rate_estimator __rcu **rate_est, struct gnet_stats_rate_est64 *sample) gen_estimator_read() argument [all...] |
H A D | gen_stats.c | 299 * @rate_est: rate estimator 309 struct net_rate_estimator __rcu **rate_est) in gnet_stats_copy_rate_est() 315 if (!gen_estimator_read(rate_est, &sample)) in gnet_stats_copy_rate_est() 308 gnet_stats_copy_rate_est(struct gnet_dump *d, struct net_rate_estimator __rcu **rate_est) gnet_stats_copy_rate_est() argument
|
/kernel/linux/linux-5.10/net/sched/ |
H A D | sch_drr.c | 24 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()
|
H A D | sch_qfq.c | 137 struct net_rate_estimator __rcu *rate_est; member 462 &cl->rate_est, in qfq_change_class() 488 &cl->rate_est, in qfq_change_class() 507 gen_kill_estimator(&cl->rate_est); in qfq_change_class() 535 gen_kill_estimator(&cl->rate_est); in qfq_destroy_class() 653 gnet_stats_copy_rate_est(d, &cl->rate_est) < 0 || in qfq_dump_class_stats()
|
H A D | sch_htb.c | 111 struct net_rate_estimator __rcu *rate_est; member 1141 gnet_stats_copy_rate_est(d, &cl->rate_est) < 0 || in htb_dump_class_stats() 1214 gen_kill_estimator(&cl->rate_est); in htb_destroy_class() 1379 &cl->rate_est, in htb_change_class() 1441 &cl->rate_est, in htb_change_class()
|
H A D | sch_hfsc.c | 116 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()
|
H A D | sch_cbq.c | 121 struct net_rate_estimator __rcu *rate_est; member 1388 gnet_stats_copy_rate_est(d, &cl->rate_est) < 0 || in cbq_dump_class_stats() 1441 gen_kill_estimator(&cl->rate_est); in cbq_destroy_class() 1519 &cl->rate_est, in cbq_change_class() 1620 err = gen_new_estimator(&cl->bstats, NULL, &cl->rate_est, in cbq_change_class()
|
H A D | sch_api.c | 947 gnet_stats_copy_rate_est(&d, &q->rate_est) < 0 || in tc_fill_qdisc() 1295 &sch->rate_est, in qdisc_create() 1371 &sch->rate_est, in qdisc_change()
|
H A D | sch_generic.c | 994 gen_kill_estimator(&qdisc->rate_est); in qdisc_destroy()
|
/kernel/linux/linux-6.6/net/sched/ |
H A D | sch_drr.c | 23 struct net_rate_estimator __rcu *rate_est; member 86 &cl->rate_est, in drr_change_class() 119 err = gen_replace_estimator(&cl->bstats, NULL, &cl->rate_est, in drr_change_class() 141 gen_kill_estimator(&cl->rate_est); in drr_destroy_class() 270 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 461 &cl->rate_est, in qfq_change_class() 488 &cl->rate_est, in qfq_change_class() 507 gen_kill_estimator(&cl->rate_est); in qfq_change_class() 535 gen_kill_estimator(&cl->rate_est); in qfq_destroy_class() 655 gnet_stats_copy_rate_est(d, &cl->rate_est) < 0 || in qfq_dump_class_stats()
|
H A D | sch_htb.c | 110 struct net_rate_estimator __rcu *rate_est; member 1361 gnet_stats_copy_rate_est(d, &cl->rate_est) < 0 || in htb_dump_class_stats() 1616 gen_kill_estimator(&cl->rate_est); in htb_destroy_class() 1872 &cl->rate_est, in htb_change_class() 2002 &cl->rate_est, in htb_change_class() 2079 gen_kill_estimator(&cl->rate_est); in htb_change_class()
|
H A D | sch_hfsc.c | 116 struct net_rate_estimator __rcu *rate_est; member 973 &cl->rate_est, in hfsc_change_class() 1042 err = gen_new_estimator(&cl->bstats, NULL, &cl->rate_est, in hfsc_change_class() 1098 gen_kill_estimator(&cl->rate_est); in hfsc_destroy_class() 1346 gnet_stats_copy_rate_est(d, &cl->rate_est) < 0 || in hfsc_dump_class_stats()
|
H A D | sch_api.c | 975 gnet_stats_copy_rate_est(&d, &q->rate_est) < 0 || in tc_fill_qdisc() 1340 &sch->rate_est, in qdisc_create() 1409 &sch->rate_est, in qdisc_change()
|
/kernel/linux/linux-5.10/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() 157 ret = gen_new_estimator(&est->bstats, NULL, &est->rate_est, in xt_rateest_tg_checkentry()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/include/net/netfilter/ |
H A D | xt_rateest.h | 21 struct net_rate_estimator __rcu *rate_est; member
|
/kernel/linux/linux-6.6/include/net/netfilter/ |
H A D | xt_rateest.h | 21 struct net_rate_estimator __rcu *rate_est; member
|
/kernel/linux/linux-6.6/include/net/ |
H A D | gen_stats.h | 72 struct net_rate_estimator __rcu **rate_est,
|
/kernel/linux/linux-5.10/include/net/ |
H A D | gen_stats.h | 71 struct net_rate_estimator __rcu **rate_est,
|
H A D | sch_generic.h | 92 struct net_rate_estimator __rcu *rate_est; member
|