Searched refs:kstats (Results 1 – 3 of 3) sorted by relevance
111 ip_vs_read_cpu_stats(&s->kstats, s->cpustats); in estimation_timer()114 rate = (s->kstats.conns - e->last_conns) << 9; in estimation_timer()115 e->last_conns = s->kstats.conns; in estimation_timer()118 rate = (s->kstats.inpkts - e->last_inpkts) << 9; in estimation_timer()119 e->last_inpkts = s->kstats.inpkts; in estimation_timer()122 rate = (s->kstats.outpkts - e->last_outpkts) << 9; in estimation_timer()123 e->last_outpkts = s->kstats.outpkts; in estimation_timer()127 rate = (s->kstats.inbytes - e->last_inbytes) << 4; in estimation_timer()128 e->last_inbytes = s->kstats.inbytes; in estimation_timer()131 rate = (s->kstats.outbytes - e->last_outbytes) << 4; in estimation_timer()[all …]
817 #define IP_VS_SHOW_STATS_COUNTER(c) dst->c = src->kstats.c - src->kstats0.c in ip_vs_copy_stats()854 #define IP_VS_ZERO_STATS_COUNTER(c) stats->kstats0.c = stats->kstats.c in ip_vs_zero_stats()2284 struct ip_vs_kstats kstats; in ip_vs_stats_percpu_show() local2313 ip_vs_copy_stats(&kstats, tot_stats); in ip_vs_stats_percpu_show()2316 (unsigned long long)kstats.conns, in ip_vs_stats_percpu_show()2317 (unsigned long long)kstats.inpkts, in ip_vs_stats_percpu_show()2318 (unsigned long long)kstats.outpkts, in ip_vs_stats_percpu_show()2319 (unsigned long long)kstats.inbytes, in ip_vs_stats_percpu_show()2320 (unsigned long long)kstats.outbytes); in ip_vs_stats_percpu_show()2326 kstats.cps, in ip_vs_stats_percpu_show()[all …]
401 struct ip_vs_kstats kstats; /* kernel statistics */ member