Home
last modified time | relevance | path

Searched refs:P_REF (Results 1 – 12 of 12) sorted by relevance

/titanic_44/usr/src/uts/common/vm/
H A Dhat.h469 #define P_REF 0x2 /* the referenced bit */ macro
474 #define hat_isref(pp) (hat_page_getattr(pp, P_REF))
479 #define hat_setref(pp) (hat_page_setattr(pp, P_REF))
480 #define hat_setrefmod(pp) (hat_page_setattr(pp, P_REF|P_MOD))
483 #define hat_clrref(pp) (hat_page_clrattr(pp, P_REF))
484 #define hat_clrrefmod(pp) (hat_page_clrattr(pp, P_REF|P_MOD))
H A Dvm_pvn.c487 if (!(ppattr & (P_REF | P_MOD))) { in pvn_write_done()
506 P_REF | P_MOD); in pvn_write_done()
866 P_REF); 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.c917 page_set_props(newpp, P_REF); in page_lookup_create()
2486 page_set_props(pp, P_REF); in page_create_va()
3047 page_set_props(pp, P_REF); in page_reclaim()
3189 ASSERT(hat_page_getattr(pp, P_MOD | P_REF | P_RO) == 0); in page_destroy_free()
4936 ppattr = hat_page_getattr(targ, (P_MOD | P_REF | P_RO)); in do_page_relocate()
6069 ASSERT((flags & ~(P_MOD | P_REF | P_RO)) == 0); in page_set_props()
6137 return (hat_page_getattr(pp, P_REF)); in page_isref()
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.c2621 P_REF | P_MOD); in segvn_softunlock()
2625 hat_setstat(seg->s_as, adr, PAGESIZE, P_REF); in segvn_softunlock()
9071 PAGESIZE, P_REF | P_MOD); in segvn_pagelock()
9074 PAGESIZE, P_REF); in segvn_pagelock()
/titanic_44/usr/src/uts/common/os/
H A Dvm_pageout.c1023 if (ppattr & P_REF) { in checkpage()
1062 ppattr = hat_page_getattr(pp, P_MOD | P_REF); in checkpage()
1108 ppattr = hat_page_getattr(pp, P_MOD | P_REF); in checkpage()
1109 if ((ppattr & P_REF) || ((ppattr & P_MOD) && pp->p_vnode)) in checkpage()
/titanic_44/usr/src/uts/sfmmu/vm/
H A Dhat_sfmmu.h115 #define PP_GENERIC_ATTR(pp) ((pp)->p_nrm & (P_MOD | P_REF | P_RO))
117 #define PP_ISREF(pp) ((pp)->p_nrm & P_REF)
128 #define PP_SETREF(pp) ((pp)->p_nrm |= P_REF)
129 #define PP_SETREFMOD(pp) ((pp)->p_nrm |= (P_REF|P_MOD))
131 #define PP_SETREFRO(pp) ((pp)->p_nrm |= (P_REF|P_RO))
140 #define PP_CLRREF(pp) ((pp)->p_nrm &= ~P_REF)
141 #define PP_CLRREFMOD(pp) ((pp)->p_nrm &= ~(P_REF|P_MOD))
H A Dhat_sfmmu.c6491 rm = P_REF; in sfmmu_ttesync()
6538 if (((rm & P_REF) != 0 && !PP_ISREF(pp)) || in sfmmu_ttesync()
7524 hat_page_setattr(pp, P_REF); in hat_pagesync()
7577 hat_page_setattr(save_pp, P_REF); in hat_pagesync()
7824 ASSERT(!(flag & ~(P_MOD | P_REF | P_RO))); in hat_page_setattr()
7866 ASSERT(!(flag & ~(P_MOD | P_REF | P_RO))); in hat_page_clrattr()
7896 ASSERT(!(flag & ~(P_MOD | P_REF | P_RO))); in hat_page_getattr()
/titanic_44/usr/src/uts/i86pc/vm/
H A Dhat_i86.c203 #define PP_ISREF(pp) PP_GETRM(pp, P_REF)
208 #define PP_SETREF(pp) PP_SETRM(pp, P_REF)
213 #define PP_CLRREF(pp) PP_CLRRM(pp, P_REF)
215 #define PP_CLRALL(pp) PP_CLRRM(pp, P_MOD | P_REF | P_RO)
1255 rm |= P_REF; in hati_sync_pte_to_page()
3288 ASSERT(!(flag & ~(P_MOD | P_REF | P_RO))); in hat_page_clrattr()
3670 uchar_t nrmbits = P_REF|P_MOD|P_RO; in hat_pagesync()
4117 rm |= P_REF; in hati_update_pte()
H A Dvm_machdep.c2883 page_set_props(pp, P_REF); in page_get_contigpages()
3480 page_set_props(pp, P_REF); in page_create_io()
3616 page_set_props(pp, P_REF); in page_create_io()