Lines Matching refs:p2m
1018 struct p2m_domain *p2m = p2m_get_hostp2m(cd); in mem_sharing_add_to_physmap() local
1055 ret = p2m_set_entry(p2m, _gfn(cgfn), smfn, PAGE_ORDER_4K, in mem_sharing_add_to_physmap()
1216 struct p2m_domain *p2m = p2m_get_hostp2m(d); in relinquish_shared_pages() local
1219 if ( p2m == NULL ) in relinquish_shared_pages()
1222 p2m_lock(p2m); in relinquish_shared_pages()
1223 for ( gfn = p2m->next_shared_gfn_to_relinquish; in relinquish_shared_pages()
1224 gfn <= p2m->max_mapped_pfn; gfn++ ) in relinquish_shared_pages()
1233 mfn = p2m->get_entry(p2m, _gfn(gfn), &t, &a, 0, NULL, NULL); in relinquish_shared_pages()
1242 set_rc = p2m->set_entry(p2m, _gfn(gfn), _mfn(0), PAGE_ORDER_4K, in relinquish_shared_pages()
1255 p2m->next_shared_gfn_to_relinquish = gfn + 1; in relinquish_shared_pages()
1263 p2m_unlock(p2m); in relinquish_shared_pages()