Lines Matching refs:unpaged_pagetable
2935 v->arch.guest_table = d->arch.paging.shadow.unpaged_pagetable; in sh_update_paging_modes()
3161 d->arch.paging.shadow.unpaged_pagetable = pagetable_from_page(pg); in shadow_enable()
3187 struct page_info *unpaged_pagetable = NULL; in shadow_teardown() local
3257 if ( !pagetable_is_null(d->arch.paging.shadow.unpaged_pagetable) ) in shadow_teardown()
3263 unpaged_pagetable = in shadow_teardown()
3264 pagetable_get_page(d->arch.paging.shadow.unpaged_pagetable); in shadow_teardown()
3265 d->arch.paging.shadow.unpaged_pagetable = pagetable_null(); in shadow_teardown()
3284 if ( unpaged_pagetable ) in shadow_teardown()
3286 if ( page_get_owner(unpaged_pagetable) == d && in shadow_teardown()
3287 (unpaged_pagetable->count_info & PGC_count_mask) == 1 ) in shadow_teardown()
3289 unpaged_pagetable->count_info &= ~PGC_count_mask; in shadow_teardown()
3290 page_set_owner(unpaged_pagetable, NULL); in shadow_teardown()
3293 else if ( !page_get_owner(unpaged_pagetable) && in shadow_teardown()
3294 !(unpaged_pagetable->count_info & PGC_count_mask) ) in shadow_teardown()
3296 d->domain_id, mfn_x(page_to_mfn(unpaged_pagetable)), in shadow_teardown()
3297 unpaged_pagetable->count_info, in shadow_teardown()
3298 unpaged_pagetable->u.inuse.type_info); in shadow_teardown()
3299 shadow_free_p2m_page(d, unpaged_pagetable); in shadow_teardown()