Lines Matching defs:refmod_state
880 int refmod_state = 0;
1656 refmod_state = pmap_disconnect(m->phys_page);
1657 if (refmod_state & VM_MEM_MODIFIED) {
1763 refmod_state = -1;
1766 refmod_state = pmap_get_refmod(m->phys_page);
1768 if (refmod_state & VM_MEM_REFERENCED)
1770 if (refmod_state & VM_MEM_MODIFIED)
1806 if ((refmod_state == -1) && !m->dirty && m->pmapped) {
1807 refmod_state = pmap_get_refmod(m->phys_page);
1808 if (refmod_state & VM_MEM_MODIFIED)
1902 refmod_state = pmap_disconnect(m->phys_page);
1904 if (refmod_state & VM_MEM_MODIFIED)
1906 if (refmod_state & VM_MEM_REFERENCED) {
2610 int refmod_state = 0;
2798 refmod_state = pmap_get_refmod(dst_page->phys_page);
2800 refmod_state = 0;
2802 if ( (refmod_state & VM_MEM_REFERENCED) && dst_page->inactive ) {
2824 if (dst_page->dirty || dst_page->precious || (refmod_state & VM_MEM_MODIFIED))
2837 if ( !(refmod_state & VM_MEM_REFERENCED) &&
2838 ((refmod_state & VM_MEM_MODIFIED) || dst_page->dirty || dst_page->precious) ) {
2943 hw_dirty = refmod_state & VM_MEM_MODIFIED;
3239 refmod_state = pmap_disconnect(dst_page->phys_page);
3241 refmod_state = pmap_get_refmod(dst_page->phys_page);
3243 refmod_state = 0;
3245 hw_dirty = refmod_state & VM_MEM_MODIFIED;