Lines Matching refs:counters
17 // Kernel counters are a facility designed to help field diagnostics and
23 // Currently the only query interface to the counters is the console
24 // k counters command. Issue 'k counters help' to learn what it can do.
26 // Kernel counters public API:
30 // 2- counters start at zero, increment the counter:
34 // Naming the counters
40 // Reading the counters in code
41 // Don't. The counters are mantained in a per-cpu arena and
50 sizeof(((struct percpu){}).counters[0]),
53 // Define the descriptor and reserve the arena space for the counters.
79 return &get_local_percpu()->counters[kcounter_index(var)];