Lines Matching refs:mfn
183 unsigned long mfn; in update_pagetable_mac() local
185 for ( mfn = 0; mfn < max_page; mfn++ ) in update_pagetable_mac()
187 struct page_info *page = mfn_to_page(mfn); in update_pagetable_mac()
189 if ( !mfn_valid(_mfn(mfn)) ) in update_pagetable_mac()
195 void *pg = map_domain_page(_mfn(mfn)); in update_pagetable_mac()
251 static int mfn_in_guarded_stack(unsigned long mfn) in mfn_in_guarded_stack() argument
262 if ( mfn == virt_to_mfn(p) ) in mfn_in_guarded_stack()
272 unsigned long mfn; in tboot_gen_xenheap_integrity() local
277 for ( mfn = 0; mfn < max_page; mfn++ ) in tboot_gen_xenheap_integrity()
279 struct page_info *page = __mfn_to_page(mfn); in tboot_gen_xenheap_integrity()
281 if ( !mfn_valid(_mfn(mfn)) ) in tboot_gen_xenheap_integrity()
283 if ( is_xen_fixed_mfn(mfn) ) in tboot_gen_xenheap_integrity()
285 if ( (mfn >= PFN_DOWN(g_tboot_shared->tboot_base - 3 * PAGE_SIZE)) in tboot_gen_xenheap_integrity()
286 && (mfn < PFN_UP(g_tboot_shared->tboot_base in tboot_gen_xenheap_integrity()
295 if ( mfn_in_guarded_stack(mfn) ) in tboot_gen_xenheap_integrity()
298 pg = mfn_to_virt(mfn); in tboot_gen_xenheap_integrity()