Lines Matching defs:dirty
336 * Called by vnode_pager() on pageout request of non-dirty page.
361 * If there's a dirty range in the buffer, check to
362 * see if this page intersects with the dirty range.
421 * update buffer's valid/dirty info from UBC
446 /* anything beyond the end of the file is not valid or dirty */
993 * non-needcommit nocache buffer AND no pages are dirty.
1205 /* move to dirty list */
2049 * Flush the buffer if it's dirty.
2097 /* there are also dirty page(s) (or range) in the read range, */
2117 /* buffer's not dirty, so just fetch the whole buffer */
2361 * Write out any dirty range.
2362 * If any dirty pages remain, write them out.
2463 /* sanity check the dirty range */
2471 /* there's a dirty range that needs to be written out */
2477 /* if doff page is dirty, move doff to start of page */
2480 /* try to expand write range to include preceding dirty pages */
2484 /* if dend page is dirty, move dend to start of next page */
2487 /* try to expand write range to include trailing dirty pages */
2501 * compare page mask to nb_dirty; if there are other dirty pages
2512 /* write the whole contiguous dirty range */
2522 * write and push out any dirty pages. Otherwise,
2523 * the write has already been finished and any dirty
2527 if (!error && bp->nb_dirty) /* write out any dirty pages */
2599 /* clear dirty bits for pages we've written */
2625 * For an unstable write, the buffer is still treated as dirty until
2644 * clean list, we have to reassign it back to the dirty one. Ugh.
2647 /* move to dirty list */
2673 /* clear the dirty range */
2683 * write out any pages marked dirty in a buffer
2695 uint32_t dirty = bp->nb_dirty;
2703 /* there are pages marked dirty that need to be written out */
2720 dirty = bp->nb_dirty;
2752 /* clear dirty bits */
2754 dirty &= ~(1 << pg);
2770 bp->nb_dirty = dirty;
3064 int error = 0, retv, wcred_set, flags, dirty;
3144 * We used to check for dirty pages here; if there were any
3148 * Instead of doing that, we now go ahead and commit the dirty
3149 * range, and then leave the buffer around with dirty pages
3224 * blocks dirty, depending on whether the commit
3237 /* move back to dirty list */
3254 /* if block still has dirty pages, we don't want it to */
3256 if (!(dirty = bp->nb_dirty))
3269 if (dirty) {
3283 * Walk through the buffer pool and push any dirty pages
3327 * dirty buffers. Then wait for all writes to complete.
3377 /* buffer is no longer dirty */
3454 /* if we have no dirty blocks, we can clear the modified flag */
3532 /* somehow leaving any dirty data around */
3547 /* check for any dirty data before the EOF */
3549 /* clip dirty range to EOF */
3563 printf("nfs_vinvalbuf: found dirty buffer with no write creds\n");
3569 panic("nfs_vinvalbuf: dirty buffer without upl");
3570 /* gotta write out dirty data before invalidating */
3621 * Flush and invalidate all dirty buffers. If another process is already