Lines Matching defs:physent
252 phys_entry_t *physent = mapping_phys_lookup(pgaddr, &idx);
253 /* Get physent for our physical page */
254 if (!physent) { /* No physent, could be in I/O area, so exit */
259 mp = hw_scrub_guest(physent, pmap); /* Attempt to scrub a guest mapping */
266 panic("mapping_remove: hw_scrub_guest failed - physent = %p, code = %p\n",
267 physent, mp); /* Cry havoc, cry wrack,
305 * If there is any physical page that is not found in the physent table, the mapping is forced to be a
306 * block mapping of length 1. This keeps us from trying to update a physent during later mapping use,
317 phys_entry_t *physent;
347 physent = mapping_phys_lookup(pa, &pindex); /* Get physical entry */
348 if(!physent) { /* Did we find the physical page? */
349 mflags |= mpBlock; /* Force this to a block if no physent */
353 else pattr = ((physent->ppLink & (ppI | ppG)) >> 60); /* Get the default attributes from physent */
540 phys_entry_t *physent;
542 physent = mapping_phys_lookup(pa, &pindex); /* Get physical entry */
543 if(!physent) { /* Did we find the physical page? */
547 hw_walk_phys(physent, hwpNoop, hwpSPrtMap, hwpNoop,
564 phys_entry_t *physent;
566 physent = mapping_phys_lookup(pa, &pindex); /* Get physical entry */
567 if(!physent) { /* Did we find the physical page? */
571 hw_walk_phys(physent, hwpNoop, hwpCCngMap, hwpCCngPhy,
587 phys_entry_t *physent;
589 physent = mapping_phys_lookup(pa, &pindex); /* Get physical entry */
590 if(!physent) { /* Did we find the physical page? */
594 hw_walk_phys(physent, hwpNoop, hwpSCngMap, hwpSCngPhy,
610 phys_entry_t *physent;
612 physent = mapping_phys_lookup(pa, &pindex); /* Get physical entry */
613 if(!physent) { /* Did we find the physical page? */
617 hw_walk_phys(physent, hwpNoop, hwpCRefMap, hwpCRefPhy,
633 phys_entry_t *physent;
635 physent = mapping_phys_lookup(pa, &pindex); /* Get physical entry */
636 if(!physent) { /* Did we find the physical page? */
640 hw_walk_phys(physent, hwpNoop, hwpSRefMap, hwpSRefPhy,
656 phys_entry_t *physent;
658 physent = mapping_phys_lookup(pa, &pindex); /* Get physical entry */
659 if(!physent) { /* Did we find the physical page? */
663 rc = hw_walk_phys(physent, hwpTCngPhy, hwpTCngMap, hwpNoop,
679 phys_entry_t *physent;
681 physent = mapping_phys_lookup(pa, &pindex); /* Get physical entry */
682 if(!physent) { /* Did we find the physical page? */
686 rc = hw_walk_phys(physent, hwpTRefPhy, hwpTRefMap, hwpNoop,
702 phys_entry_t *physent;
704 physent = mapping_phys_lookup(pa, &pindex); /* Get physical entry */
705 if (!physent) { /* Did we find the physical page? */
709 rc = hw_walk_phys(physent, hwpTRefCngPhy, hwpTRefCngMap, hwpNoop,
728 phys_entry_t *physent;
731 physent = mapping_phys_lookup(pa, &pindex); /* Get physical entry */
732 if(!physent) { /* Did we find the physical page? */
738 hw_walk_phys(physent, hwpNoop, hwpCRefCngMap, hwpCRefCngPhy,
764 return &pmap_mem_regions[i].mrPhysTab[pp - pmap_mem_regions[i].mrStart]; /* Return the physent pointer */
1501 phys_entry_t *physent;
1504 physent = mapping_phys_lookup(pa, &pindex); /* Get physical entry */
1505 if(!physent) { /* Did we find the physical page? */
1511 mp = hw_find_space(physent, pmap->space); /* Go find the first mapping to the page from the requested pmap */
1605 phys_entry_t *physent;
1703 physent = mapping_phys_lookup(sink >> 12, &pindex); /* Get physical entry for sink */
1704 if(physent) mapping_set_mod((ppnum_t)(sink >> 12)); /* Make sure we know that it is modified */
1707 physent = mapping_phys_lookup(source >> 12, &pindex); /* Get physical entry for source */
1708 if(physent) mapping_set_ref((ppnum_t)(source >> 12)); /* Make sure we know that it is modified */
1768 phys_entry_t *physent;
1770 physent = mapping_phys_lookup(pa, &pindex); /* Get physical entry */
1771 if(!physent) return; /* Did we find the physical page? */
1773 if(!(physent->ppLink & ~(ppLock | ppFlags))) return; /* No one else is here */
1775 panic("mapping_phys_unused: physical page (%08X) in use, physent = %p\n", pa, physent);