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

Lines Matching defs:pai

480 #define pai_to_pvh(pai)		(&pv_head_table[pai])
481 #define lock_pvh_pai(pai) bit_lock(pai, (void *)pv_lock_table)
482 #define unlock_pvh_pai(pai) bit_unlock(pai, (void *)pv_lock_table)
1499 int pai;
1510 pai = ppn_to_pai(pn);
1511 if (!managed_page(pai))
1932 int pai;
1967 pai = pa_index(pa);
1969 if (!managed_page(pai)) {
1999 pai = pa_index(pa);
2001 LOCK_PVH(pai);
2005 UNLOCK_PVH(pai);
2016 pmap_phys_attributes[pai] |=
2028 ppnum_t ppn = (ppnum_t)pai;
2030 pv_h = pai_to_pvh(pai);
2092 UNLOCK_PVH(pai);
2269 int pai;
2279 pai = ppn_to_pai(pn);
2281 if (!managed_page(pai)) {
2306 pv_h = pai_to_pvh(pai);
2308 LOCK_PVH(pai);
2344 pmap_phys_attributes[pai] |= *pte & (PHYS_MODIFIED|PHYS_REFERENCED);
2423 UNLOCK_PVH(pai);
2574 register int pai;
2637 pai = pa_index(old_pa);
2646 if ((0 != old_pa) && managed_page(pai)) {
2647 LOCK_PVH(pai);
2651 UNLOCK_PVH(pai); /* some other path beat us to it */
2698 UNLOCK_PVH(pai);
2735 if (managed_page(pai)) {
2754 pmap_phys_attributes[pai] |= oattr;
2763 pv_h = pai_to_pvh(pai);
2841 UNLOCK_PVH(pai);
2845 pai = pa_index(pa); /* now working with new incoming phys page */
2846 if (managed_page(pai)) {
2852 pv_h = pai_to_pvh(pai);
2854 LOCK_PVH(pai);
2882 UNLOCK_PVH(pai);
2954 if (managed_page(pai)) {
2955 UNLOCK_PVH(pai);
3541 int pai;
3549 pai = ppn_to_pai(pn);
3551 if (!managed_page(pai)) {
3561 pv_h = pai_to_pvh(pai);
3563 LOCK_PVH(pai);
3604 pmap_phys_attributes[pai] &= ~bits;
3606 UNLOCK_PVH(pai);
3624 int pai;
3633 pai = ppn_to_pai(pn);
3635 if (!managed_page(pai)) {
3649 if ( (pmap_phys_attributes[pai] & bits) == bits)
3652 pv_h = pai_to_pvh(pai);
3654 LOCK_PVH(pai);
3656 attributes = pmap_phys_attributes[pai] & bits;
3697 UNLOCK_PVH(pai);
3709 int pai;
3716 pai = ppn_to_pai(pn);
3718 if (!managed_page(pai)) {
3725 LOCK_PVH(pai);
3727 pmap_phys_attributes[pai] |= bits;
3729 UNLOCK_PVH(pai);
3893 int pai;
3896 pai = pa_index(pa);
3897 pv_h = pai_to_pvh(pai);
3899 attr = pmap_phys_attributes[pai];