Lines Matching defs:dirty
54 u_int32_t clean, dirty, i, need_clean, total, dtmp, wrote;
71 * Loop through the caches counting total/dirty buffers.
79 for (ret = 0, i = dirty = total = 0; i < mp->nreg; ++i) {
83 dirty += dtmp;
87 * If there are sufficient clean buffers, no buffers or no dirty
90 if (total == 0 || dirty == 0)
94 * The total number of pages is an exact number, but the dirty page
96 * even possible the dirty page count ends up larger than the total
99 clean = total > dirty ? total - dirty : 0;