Lines Matching refs:icount
166 fsc->icount = 0;
180 fsc->icount += pag->pagi_count;
218 trace_xchk_fscounters_calc(mp, fsc->icount, fsc->ifree, fsc->fdblocks,
223 if (fsc->icount < fsc->icount_min || fsc->icount > fsc->icount_max ||
229 * If ifree > icount then we probably had some perturbation in the
231 * to maintain ifree <= icount before giving up.
233 if (fsc->ifree > fsc->icount) {
309 int64_t icount, ifree, fdblocks;
313 icount = percpu_counter_sum(&mp->m_icount);
318 if (icount < 0 || ifree < 0 || fdblocks < 0)
321 /* See if icount is obviously wrong. */
322 if (icount < fsc->icount_min || icount > fsc->icount_max)
330 * If ifree exceeds icount by more than the minimum variance then
333 if (ifree > icount && ifree - icount > XCHK_FSCOUNT_MIN_VARIANCE)
344 if (!xchk_fscount_within_range(sc, icount, &mp->m_icount, fsc->icount))