Home
last modified time | relevance | path

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

/Linux-v4.19/net/netfilter/
Dnf_tables_api.c1350 struct nft_stats __percpu *newstats; in nft_stats_alloc() local
1362 newstats = netdev_alloc_pcpu_stats(struct nft_stats); in nft_stats_alloc()
1363 if (newstats == NULL) in nft_stats_alloc()
1370 stats = this_cpu_ptr(newstats); in nft_stats_alloc()
1375 return newstats; in nft_stats_alloc()
1379 struct nft_stats __percpu *newstats) in nft_chain_stats_replace() argument
1383 if (newstats == NULL) in nft_chain_stats_replace()
1388 rcu_assign_pointer(chain->stats, newstats); in nft_chain_stats_replace()
1392 rcu_assign_pointer(chain->stats, newstats); in nft_chain_stats_replace()