Lines Matching defs:pp
842 register struct phys_entry *pp;
850 pp = mapping_phys_lookup(pa, &pindex); /* Get physical entry */
851 if (pp == 0) return; /* Leave if not in physical RAM */
855 mp = hw_purge_phys(pp); /* Toss a map */
867 panic("pmap_remove_some_phys: hw_purge_phys failed - pp = %p, pmap = %p, code = %p\n",
868 pp, pmap, mp); /* Handle failure with our usual lack of tact */
871 mp = hw_purge_space(pp, pmap); /* Toss a map */
881 panic("pmap_remove_some_phys: hw_purge_phys failed - pp = %p, pmap = %p, code = %p\n",
882 pp, pmap, mp); /* Handle failure with our usual lack of tact */
948 register struct phys_entry *pp;
967 pp = mapping_phys_lookup(pa, &pindex); /* Get physical entry */
968 if (pp == 0) return; /* Leave if not in physical RAM */
973 mp = hw_purge_phys(pp); /* Toss a map */
984 default: panic("pmap_page_protect: hw_purge_phys failed - pp = %p, code = %p\n",
985 pp, mp); /* Handle failure with our usual lack of tact */
1017 register struct phys_entry *pp;
1021 pp = mapping_phys_lookup(pa, &pindex); /* Get physical entry */
1022 if (pp == 0) return (0); /* Return null ref and chg if not in physical RAM */
1024 mp = hw_purge_phys(pp); /* Disconnect a mapping */
1036 default: panic("hw_purge_phys: hw_purge_phys failed - pp = %p, code = %p\n",
1037 pp, mp); /* Handle failure with our usual lack of tact */
1310 struct phys_entry * pp;
1313 if ((pp = pmap_find_physentry(pgn))) {
1317 if (pp->ppLink & ppG) flags |= VM_MEM_GUARDED; /* Add in guarded if it is */
1318 if (pp->ppLink & ppI) flags |= VM_MEM_NOT_CACHEABLE; /* Add in cache inhibited if so */
1335 kern_return_t pmap_attribute_cache_sync(ppnum_t pp, vm_size_t size,
1346 sync_ppage(pp + i); /* Go flush data cache and invalidate icache */
1595 struct phys_entry *pp;
1598 pp = mapping_phys_lookup(pa, &pindex); /* Get physical entry */
1599 if (pp == 0) return FALSE; /* If there isn't one, show no mapping... */
1601 if(pp->ppLink & ~(ppLock | ppFlags)) return FALSE; /* We have at least one mapping */