Lines Matching full:counters

21  * FS Summary Counters
27 * Then we compare what we computed against the in-core counters.
29 * However, the reality is that summary counters are a tricky beast to check.
40 * structures as quickly as it can. We snapshot the percpu counters before and
47 * values, the percpu counters should be fairly close to each other. However,
54 * contents and trust that the incore counters match the ondisk counters. (The
56 * summary counters after checking all AG headers). Do this from the setup
132 /* We must get the incore counters set up before we can proceed. */ in xchk_setup_fscounters()
139 * likelihood of background perturbations to the counters throwing off in xchk_setup_fscounters()
148 * Calculate what the global in-core counters ought to be from the incore
149 * per-AG structure. Callers can compare this to the actual in-core counters
150 * to estimate by how much both in-core and on-disk counters need to be
189 * Per-AG reservations are taken out of the incore counters, in xchk_fscount_aggregate_agcounts()
206 * counters, so leave that out of the computation. in xchk_fscount_aggregate_agcounts()
211 * Delayed allocation reservations are taken out of the incore counters in xchk_fscount_aggregate_agcounts()
230 * counters while we were calculating things. We'll try a few times in xchk_fscount_aggregate_agcounts()
302 /* Check the superblock counters. */
312 /* Snapshot the percpu counters. */ in xchk_fscounters()
331 * something's probably wrong with the counters. in xchk_fscounters()
336 /* Walk the incore AG headers to calculate the expected counters. */ in xchk_fscounters()
343 /* Compare the in-core counters with whatever we counted. */ in xchk_fscounters()