Home
last modified time | relevance | path

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

/Linux-v5.10/net/netfilter/ipvs/
Dip_vs_est.c108 ip_vs_read_cpu_stats(&s->kstats, s->cpustats); in estimation_timer()
111 rate = (s->kstats.conns - e->last_conns) << 9; in estimation_timer()
112 e->last_conns = s->kstats.conns; in estimation_timer()
115 rate = (s->kstats.inpkts - e->last_inpkts) << 9; in estimation_timer()
116 e->last_inpkts = s->kstats.inpkts; in estimation_timer()
119 rate = (s->kstats.outpkts - e->last_outpkts) << 9; in estimation_timer()
120 e->last_outpkts = s->kstats.outpkts; in estimation_timer()
124 rate = (s->kstats.inbytes - e->last_inbytes) << 4; in estimation_timer()
125 e->last_inbytes = s->kstats.inbytes; in estimation_timer()
128 rate = (s->kstats.outbytes - e->last_outbytes) << 4; in estimation_timer()
[all …]
Dip_vs_ctl.c816 #define IP_VS_SHOW_STATS_COUNTER(c) dst->c = src->kstats.c - src->kstats0.c in ip_vs_copy_stats()
853 #define IP_VS_ZERO_STATS_COUNTER(c) stats->kstats0.c = stats->kstats.c in ip_vs_zero_stats()
2282 struct ip_vs_kstats kstats; in ip_vs_stats_percpu_show() local
2311 ip_vs_copy_stats(&kstats, tot_stats); in ip_vs_stats_percpu_show()
2314 (unsigned long long)kstats.conns, in ip_vs_stats_percpu_show()
2315 (unsigned long long)kstats.inpkts, in ip_vs_stats_percpu_show()
2316 (unsigned long long)kstats.outpkts, in ip_vs_stats_percpu_show()
2317 (unsigned long long)kstats.inbytes, in ip_vs_stats_percpu_show()
2318 (unsigned long long)kstats.outbytes); in ip_vs_stats_percpu_show()
2324 kstats.cps, in ip_vs_stats_percpu_show()
[all …]
/Linux-v5.10/drivers/gpu/drm/i915/
Di915_debugfs.c302 struct file_stats kstats = {}; in print_context_stats() local
321 ce->state->obj, &kstats); in print_context_stats()
322 per_file_stats(0, ce->ring->vma->obj, &kstats); in print_context_stats()
358 print_file_stats(m, "[k]contexts", kstats); in print_context_stats()
/Linux-v5.10/include/net/
Dip_vs.h401 struct ip_vs_kstats kstats; /* kernel statistics */ member