| .. | .. |
|---|
| 46 | 46 | struct net_rate_estimator { |
|---|
| 47 | 47 | struct gnet_stats_basic_packed *bstats; |
|---|
| 48 | 48 | spinlock_t *stats_lock; |
|---|
| 49 | | - seqcount_t *running; |
|---|
| 49 | + net_seqlock_t *running; |
|---|
| 50 | 50 | struct gnet_stats_basic_cpu __percpu *cpu_bstats; |
|---|
| 51 | 51 | u8 ewma_log; |
|---|
| 52 | 52 | u8 intvl_log; /* period : (250ms << intvl_log) */ |
|---|
| .. | .. |
|---|
| 129 | 129 | struct gnet_stats_basic_cpu __percpu *cpu_bstats, |
|---|
| 130 | 130 | struct net_rate_estimator __rcu **rate_est, |
|---|
| 131 | 131 | spinlock_t *lock, |
|---|
| 132 | | - seqcount_t *running, |
|---|
| 132 | + net_seqlock_t *running, |
|---|
| 133 | 133 | struct nlattr *opt) |
|---|
| 134 | 134 | { |
|---|
| 135 | 135 | struct gnet_estimator *parm = nla_data(opt); |
|---|
| .. | .. |
|---|
| 230 | 230 | struct gnet_stats_basic_cpu __percpu *cpu_bstats, |
|---|
| 231 | 231 | struct net_rate_estimator __rcu **rate_est, |
|---|
| 232 | 232 | spinlock_t *lock, |
|---|
| 233 | | - seqcount_t *running, struct nlattr *opt) |
|---|
| 233 | + net_seqlock_t *running, struct nlattr *opt) |
|---|
| 234 | 234 | { |
|---|
| 235 | 235 | return gen_new_estimator(bstats, cpu_bstats, rate_est, |
|---|
| 236 | 236 | lock, running, opt); |
|---|