Lines Matching refs:mp
979 register mapping_t *mp;
1003 mp = mapping_find(map->pmap, cva, &nextva, 0);
1005 if (mp) break; /* Got it */
1022 if (mpNormal != (mp->mpFlags & mpType)) {
1024 mapping_drop_busy(mp); /* Un-pin host mapping */
1029 physent = mapping_phys_lookup(mp->mpPAddr, &pindex);
1031 mapping_drop_busy(mp);
1041 hw_add_map_gv(map->pmap, pmap, gva, mflags, mp->mpPAddr);
1044 mapping_drop_busy(mp); /* Un-pin host mapping */
1049 mp = mapping_find(map->pmap, cva, &nextva, 0); /* Find the mapping for this address */
1051 if(mp) break; /* We found it */
1065 if((mp->mpFlags & mpType) != mpNormal) { /* If this is a block, a nest, or some other special thing, we can't map it */
1066 mapping_drop_busy(mp); /* We have everything we need from the mapping */
1071 ova = mapping_make(pmap, ava, mp->mpPAddr, 0, 1, prot); /* Enter the mapping into the pmap */
1076 mapping_drop_busy(mp); /* We have everything we need from the mapping */
1239 register mapping_t *mp;
1250 mp = mapping_find(pmap, gva, &nextva, 0); /* Find guest mapping for this virtual address */
1252 if(!mp) return -1; /* Not mapped, return -1 */
1254 pa = mp->mpPAddr; /* Remember the physical page address */
1256 mapping_drop_busy(mp); /* Go ahead and relase the mapping now */