Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/
Dnlmon.c63 const struct pcpu_lstats *nl_stats; in nlmon_get_stats64() local
67 nl_stats = per_cpu_ptr(dev->lstats, i); in nlmon_get_stats64()
70 start = u64_stats_fetch_begin_irq(&nl_stats->syncp); in nlmon_get_stats64()
71 tbytes = nl_stats->bytes; in nlmon_get_stats64()
72 tpackets = nl_stats->packets; in nlmon_get_stats64()
73 } while (u64_stats_fetch_retry_irq(&nl_stats->syncp, start)); in nlmon_get_stats64()
/Linux-v5.4/net/netfilter/ipvs/
Dip_vs_ctl.c2964 struct nlattr *nl_stats = nla_nest_start_noflag(skb, container_type); in ip_vs_genl_fill_stats() local
2966 if (!nl_stats) in ip_vs_genl_fill_stats()
2982 nla_nest_end(skb, nl_stats); in ip_vs_genl_fill_stats()
2987 nla_nest_cancel(skb, nl_stats); in ip_vs_genl_fill_stats()
2994 struct nlattr *nl_stats = nla_nest_start_noflag(skb, container_type); in ip_vs_genl_fill_stats64() local
2996 if (!nl_stats) in ip_vs_genl_fill_stats64()
3020 nla_nest_end(skb, nl_stats); in ip_vs_genl_fill_stats64()
3025 nla_nest_cancel(skb, nl_stats); in ip_vs_genl_fill_stats64()