• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/osfmk/vm/

Lines Matching defs:dirty

460 		assert((m->dirty) || (m->precious) ||
495 * Since the page is left "dirty" but "not modifed", we
500 m->dirty = TRUE;
502 m->dirty = FALSE;
504 if (m->dirty) {
533 /* We do not re-set m->dirty ! */
538 /* will take care of resetting dirty. We clear the */
553 * Set the dirty state according to whether or not the page was
559 * consulted if m->dirty is false.
562 m->dirty = pmap_is_modified(m->phys_page);
564 if (m->dirty) vm_pageout_cluster_dirtied++;
568 m->dirty = 0;
595 * Purpose: setup a page to be cleaned (made non-dirty), but not
626 m->dirty = TRUE;
683 assert(m->dirty);
691 if (m->absent || m->error || m->restart || (!m->dirty && !m->precious)) {
718 m->dirty = TRUE;
780 assert(m->busy && (m->dirty || m->precious) && (m->wire_count == 0));
852 * vm_pageout_scan does the dirty work for the pageout daemon.
942 * aren't vm-privileged. If we kept sending dirty pages to them,
1304 * allowable time... we need to move some clean pages or dirty
1649 /* If the object is empty, the page must be reclaimed even if dirty or used. */
1658 m->dirty = TRUE;
1661 if (m->dirty || m->precious) {
1760 * First, update the reference and dirty bits
1771 m->dirty = TRUE;
1804 * the dirty bit.
1806 if ((refmod_state == -1) && !m->dirty && m->pmapped) {
1809 m->dirty = TRUE;
1823 * m->dirty is up to date courtesy of the
1829 * m->reference and m->dirty
1831 * if it's dirty or precious we need to
1838 if (m->dirty || m->precious) {
1886 * need to re-evaluate m->dirty since the pmap_disconnect
1898 * pmap_disconnect(). m->dirty and/or m->reference could
1905 m->dirty = TRUE;
1933 if (!m->dirty && !m->precious) {
1941 * if the page was clean then). With the dirty page
2570 * pages is done, the dirty bit will be set for each one.
2602 boolean_t dirty;
2821 * then we only need to check for the page being dirty or
2824 if (dst_page->dirty || dst_page->precious || (refmod_state & VM_MEM_MODIFIED))
2831 * does it have to be dirty to be returned, but it also
2838 ((refmod_state & VM_MEM_MODIFIED) || dst_page->dirty || dst_page->precious) ) {
2928 if ((dst_page->dirty || (dst_page->object->internal && dst_page->precious)) && !dst_page->list_req_pending) {
2944 dirty = hw_dirty ? TRUE : dst_page->dirty;
2984 dst_page->dirty = dirty;
2986 if (!dirty)
3246 dirty = hw_dirty ? TRUE : dst_page->dirty;
3281 * the pages that are dirty before
3284 * contents of all pages marked dirty
3288 dst_page->dirty = dirty;
3290 if (!dirty)
3325 user_page_list[entry].dirty = dst_page->dirty;
4088 m->dirty = TRUE;
4090 m->dirty = FALSE;
4095 * This page is no longer dirty
4130 m->dirty = FALSE;
4136 * This page is no longer dirty
4184 m->dirty = FALSE;
4190 * This page is no longer dirty
4202 m->dirty = TRUE;
4204 if (m->dirty) {
4236 if (page_list[entry].dirty) {
4247 m->dirty = pmap_is_modified(m->phys_page);
4249 if (m->dirty) vm_pageout_cluster_dirtied++;
4253 m->dirty = FALSE;
4259 * This page is no longer dirty
4302 m->dirty = TRUE;
5019 low_page->dirty = dst_page->dirty;
5024 low_page->dirty = TRUE;
5066 dst_page->dirty = TRUE;
5075 user_page_list[entry].dirty = dst_page->dirty;
5721 assert(page->dirty || page->precious);
5931 * the "dirty" pages.
5935 page->dirty = FALSE;
5939 * This page is no longer dirty
6167 if(m->dirty) dpages++;
6184 assert(m->dirty);
6198 if(m->dirty) dpages++;
6220 if(m->dirty) dpages++;
6309 iprintf("used %5d clean %5d dirty %5d\n",