Home
last modified time | relevance | path

Searched refs:P_MOD (Results 1 – 13 of 13) sorted by relevance

/illumos-gate/usr/src/uts/common/vm/
H A Dhat.h468 #define P_MOD 0x1 /* the modified bit */ macro
473 #define hat_ismod(pp) (hat_page_getattr(pp, P_MOD))
477 #define hat_setmod(pp) (hat_page_setattr(pp, P_MOD))
478 #define hat_setmod_only(pp) (hat_page_setattr(pp, P_MOD|P_NSH))
480 #define hat_setrefmod(pp) (hat_page_setattr(pp, P_REF|P_MOD))
482 #define hat_clrmod(pp) (hat_page_clrattr(pp, P_MOD))
484 #define hat_clrrefmod(pp) (hat_page_clrattr(pp, P_REF|P_MOD))
H A Dvm_pvn.c486 if (!(ppattr & (P_REF | P_MOD))) { in pvn_write_done()
505 P_REF | P_MOD); in pvn_write_done()
857 attr = hat_page_getattr(chk, P_MOD | in pvn_vplist_dirty()
859 if ((attr & P_MOD) == 0) in pvn_vplist_dirty()
H A Dvpm.c879 (rw == S_WRITE && hat_page_getattr(pp, P_MOD | P_REF) in vpm_map_pages()
880 != (P_MOD | P_REF))) { in vpm_map_pages()
H A Dhat_refmod.c156 ASSERT((rmbits & ~(P_MOD|P_REF)) == 0); in hat_setstat()
H A Dvm_page.c3199 ASSERT(hat_page_getattr(pp, P_MOD | P_REF | P_RO) == 0); in page_destroy_free()
4397 HAT_SYNC_DONTZERO | HAT_SYNC_STOPON_MOD) & P_MOD)) { in page_busy()
4513 & P_MOD); in page_invalidate_pages()
4962 ppattr = hat_page_getattr(targ, (P_MOD | P_REF | P_RO)); in do_page_relocate()
6103 ASSERT((flags & ~(P_MOD | P_REF | P_RO)) == 0); in page_set_props()
6177 return (hat_page_getattr(pp, P_MOD)); in page_ismod()
H A Dseg_map.c1859 hat_page_getattr(pp, P_MOD | P_REF) != in segmap_getmapflt()
1860 (P_MOD | P_REF)) { in segmap_getmapflt()
H A Dseg_vn.c2627 P_REF | P_MOD); in segvn_softunlock()
9061 PAGESIZE, P_REF | P_MOD); in segvn_pagelock()
/illumos-gate/usr/src/uts/common/os/
H A Dvm_pageout.c1543 ppattr = hat_page_getattr(pp, P_MOD | P_REF); in checkpage()
1552 if ((ppattr & P_MOD) && pp->p_vnode != NULL) { in checkpage()
1587 ppattr = hat_page_getattr(pp, P_MOD | P_REF); in checkpage()
1588 if ((ppattr & P_REF) || ((ppattr & P_MOD) && pp->p_vnode != NULL)) { in checkpage()
H A Dbio.c1969 if (ppattr & P_MOD) in biomodified()
/illumos-gate/usr/src/uts/sfmmu/vm/
H A Dhat_sfmmu.h115 #define PP_GENERIC_ATTR(pp) ((pp)->p_nrm & (P_MOD | P_REF | P_RO))
116 #define PP_ISMOD(pp) ((pp)->p_nrm & P_MOD)
127 #define PP_SETMOD(pp) ((pp)->p_nrm |= P_MOD)
129 #define PP_SETREFMOD(pp) ((pp)->p_nrm |= (P_REF|P_MOD))
139 #define PP_CLRMOD(pp) ((pp)->p_nrm &= ~P_MOD)
141 #define PP_CLRREFMOD(pp) ((pp)->p_nrm &= ~(P_REF|P_MOD))
H A Dhat_sfmmu.c6387 rm |= P_MOD; in sfmmu_ttesync()
6432 ((rm & P_MOD) != 0 && !PP_ISMOD(pp))) in sfmmu_ttesync()
7685 ASSERT(!(flag & ~(P_MOD | P_REF | P_RO))); in hat_page_setattr()
7693 if ((flag & P_MOD) != 0 && vp != NULL && IS_VMODSORT(vp) && in hat_page_setattr()
7727 ASSERT(!(flag & ~(P_MOD | P_REF | P_RO))); in hat_page_clrattr()
7742 if ((flag & P_MOD) != 0 && vp != NULL && IS_VMODSORT(vp)) { in hat_page_clrattr()
7757 ASSERT(!(flag & ~(P_MOD | P_REF | P_RO))); in hat_page_getattr()
/illumos-gate/usr/src/uts/i86pc/vm/
H A Dhat_i86.c386 #define PP_ISMOD(pp) PP_GETRM(pp, P_MOD)
391 #define PP_SETMOD(pp) PP_SETRM(pp, P_MOD)
396 #define PP_CLRMOD(pp) PP_CLRRM(pp, P_MOD)
399 #define PP_CLRALL(pp) PP_CLRRM(pp, P_MOD | P_REF | P_RO)
1767 rm |= P_MOD; in hati_sync_pte_to_page()
3742 if ((flag & P_MOD) != 0 && vp != NULL && IS_VMODSORT(vp) && in hat_page_setattr()
3773 ASSERT(!(flag & ~(P_MOD | P_REF | P_RO))); in hat_page_clrattr()
3785 if ((flag & P_MOD) != 0 && vp != NULL && IS_VMODSORT(vp)) { in hat_page_clrattr()
4153 uchar_t nrmbits = P_REF|P_MOD|P_RO; in hat_pagesync()
4596 rm |= P_MOD; in hati_update_pte()
/illumos-gate/usr/src/uts/common/fs/
H A Dfsflush.c289 HAT_SYNC_DONTZERO | HAT_SYNC_STOPON_MOD) & P_MOD; in fsflush_do_pages()