| .. | .. |
|---|
| 42 | 42 | struct net_rate_estimator { |
|---|
| 43 | 43 | struct gnet_stats_basic_packed *bstats; |
|---|
| 44 | 44 | spinlock_t *stats_lock; |
|---|
| 45 | | - net_seqlock_t *running; |
|---|
| 45 | + seqcount_t *running; |
|---|
| 46 | 46 | struct gnet_stats_basic_cpu __percpu *cpu_bstats; |
|---|
| 47 | 47 | u8 ewma_log; |
|---|
| 48 | 48 | u8 intvl_log; /* period : (250ms << intvl_log) */ |
|---|
| .. | .. |
|---|
| 125 | 125 | struct gnet_stats_basic_cpu __percpu *cpu_bstats, |
|---|
| 126 | 126 | struct net_rate_estimator __rcu **rate_est, |
|---|
| 127 | 127 | spinlock_t *lock, |
|---|
| 128 | | - net_seqlock_t *running, |
|---|
| 128 | + seqcount_t *running, |
|---|
| 129 | 129 | struct nlattr *opt) |
|---|
| 130 | 130 | { |
|---|
| 131 | 131 | struct gnet_estimator *parm = nla_data(opt); |
|---|
| .. | .. |
|---|
| 226 | 226 | struct gnet_stats_basic_cpu __percpu *cpu_bstats, |
|---|
| 227 | 227 | struct net_rate_estimator __rcu **rate_est, |
|---|
| 228 | 228 | spinlock_t *lock, |
|---|
| 229 | | - net_seqlock_t *running, struct nlattr *opt) |
|---|
| 229 | + seqcount_t *running, struct nlattr *opt) |
|---|
| 230 | 230 | { |
|---|
| 231 | 231 | return gen_new_estimator(bstats, cpu_bstats, rate_est, |
|---|
| 232 | 232 | lock, running, opt); |
|---|