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

Lines Matching refs:mp

71 void db_dumpmapping(struct mapping *mp); 					/* Dump out a mapping */
281 mapping_t *mp;
299 mp = hw_find_map(pmap, (addr64_t)addr, &lnextva); /* Try to find the mapping for this address */
300 if((unsigned int)mp == mapRtBadLk) { /* Did we lock up ok? */
305 if(!mp) { /* Did we find one? */
310 mapping_drop_busy(mp); /* The mapping shouldn't be changing */
312 db_dumpmapping(mp); /* Dump it all out */
473 void db_dumpmapping(struct mapping *mp) { /* Dump out a mapping */
478 db_printf("Dump of mapping block: %08X, pmap: %08X (%016llX)\n", mp, pmapTrans[mp->mpSpace].pmapVAddr,
479 pmapTrans[mp->mpSpace].pmapPAddr); /* Header */
480 db_printf(" mpFlags: %08X\n", mp->mpFlags);
481 db_printf(" mpSpace: %04X\n", mp->mpSpace);
482 db_printf(" mpBSize: %04X\n", mp->u.mpBSize);
483 db_printf(" mpPte: %08X\n", mp->mpPte);
484 db_printf(" mpPAddr: %08X\n", mp->mpPAddr);
485 db_printf(" mpVAddr: %016llX\n", mp->mpVAddr);
486 db_printf(" mpAlias: %016llX\n", mp->mpAlias);
487 db_printf(" mpList00: %016llX\n", mp->mpList0);
489 for(i = 1; i < (mp->mpFlags & mpLists); i++) { /* Dump out secondary physical skip lists */
490 db_printf(" mpList%02d: %016llX\n", i, mp->mpList[i - 1]);
578 mapping_t *mp, *mpv;
867 mapping_t *mp;
976 mp = hw_find_map(pmap, llva, &lnextva); /* Try to find the mapping for this address */
977 // db_printf("%08X - %017llX\n", mp, llva);
978 if((unsigned int)mp == mapRtBadLk) { /* Did we lock up ok? */
983 if(!mp) { /* Did we find one? */
989 if((mp->mpFlags & 0xFF000000) > 0x01000000) { /* Is busy count too high? */
994 if((mp->mpFlags & mpType) == mpBlock) { /* Is this a block map? */
1005 if(mp->mpPte != slotoff) { /* See if mapping PTEG offset is us */
1011 wimgkk = (unsigned int)mp->mpVAddr; /* Get last half of vaddr where keys, etc are */
1018 aoff = (ppnum_t)((llva >> 12) - (mp->mpVAddr >> 12)); /* Get the offset from vaddr */
1019 pa = aoff + mp->mpPAddr; /* Get the physical page number we expect */
1025 mapping_drop_busy(mp); /* We're done with the mapping */