Searched refs:PGC_count_mask (Results 1 – 12 of 12) sorted by relevance
289 ASSERT(!page_get_owner(pg) && !(pg->count_info & PGC_count_mask)); in hap_alloc_p2m_page()311 if ( owner || (pg->count_info & PGC_count_mask) ) in hap_free_p2m_page()318 pg->count_info &= ~PGC_count_mask; in hap_free_p2m_page()
263 #define PGC_count_mask ((1UL<<PGC_count_width)-1) macro433 ASSERT(((_p)->count_info & PGC_count_mask) != 0); \
774 (page->count_info & PGC_count_mask) > max_ref ) in p2m_pod_zero_check_superpage()810 if ( (mfn_to_page(mfn)->count_info & PGC_count_mask) > 1 ) in p2m_pod_zero_check_superpage()908 ((pg->count_info & PGC_count_mask) <= max_ref) ) in p2m_pod_zero_check()944 if ( (mfn_to_page(mfns[i])->count_info & PGC_count_mask) > 1 ) in p2m_pod_zero_check()
1365 if ( (page->count_info & (PGC_count_mask | PGC_allocated)) != in p2m_mem_paging_nominate()1426 if ( (page->count_info & (PGC_count_mask | PGC_allocated)) != in p2m_mem_paging_evict()
561 ASSERT(!(sp->count_info & PGC_count_mask)); in sh_put_ref()815 return ( (count & PGC_count_mask) == in sh_check_page_has_no_refs()
1506 ASSERT(!page_get_owner(pg) && !(pg->count_info & PGC_count_mask)); in shadow_alloc_p2m_page()1519 if ( owner || (pg->count_info & PGC_count_mask) ) in shadow_free_p2m_page()1525 pg->count_info &= ~PGC_count_mask; in shadow_free_p2m_page()1877 BUG_ON( (sp->count_info & PGC_count_mask )!= 0 ) ; in sh_hash_audit_bucket()2604 && (page->count_info & PGC_count_mask) <= 3 in sh_remove_all_mappings()3173 pg->count_info &= ~PGC_count_mask; in shadow_enable()3287 (unpaged_pagetable->count_info & PGC_count_mask) == 1 ) in shadow_teardown()3289 unpaged_pagetable->count_info &= ~PGC_count_mask; in shadow_teardown()3294 !(unpaged_pagetable->count_info & PGC_count_mask) ) in shadow_teardown()
4307 if ( ((sp->count_info & PGC_count_mask) != 0) in sh_rm_write_access_from_sl1p()
125 #define PGC_count_mask ((1UL<<PGC_count_width)-1) macro
1350 if ( unlikely(((x + 1) & PGC_count_mask) <= 1) ) in page_get_owner_and_reference()1366 ASSERT((y & PGC_count_mask) != 0); in put_page()1372 if ( unlikely((nx & PGC_count_mask) == 0) ) in put_page()
815 ASSERT((page->count_info & PGC_count_mask) != 0); in is_iomem_page()2205 ASSERT((y & PGC_count_mask) != 0); in put_page()2211 if ( unlikely((nx & PGC_count_mask) == 0) ) in put_page()2234 if ( unlikely(((x + 2) & PGC_count_mask) <= 2) ) in page_get_owner_and_reference()2281 BUG_ON(!(x & PGC_count_mask)); /* Not allocated? */ in get_page_light()2282 BUG_ON(!(nx & PGC_count_mask)); /* Overflow? */ in get_page_light()3856 if ( (x & (PGC_count_mask|PGC_allocated)) != (1 | PGC_allocated) ) in steal_page()3858 y = cmpxchg(&page->count_info, x, x & ~PGC_count_mask); in steal_page()3877 BUG_ON((x & (PGC_count_mask|PGC_allocated)) != PGC_allocated); in steal_page()
152 if ( (page->count_info & (PGC_allocated|PGC_count_mask)) != 0 ) in share_xenoprof_page_with_guest()
2088 page->count_info &= ~(PGC_count_mask|PGC_allocated); in gnttab_transfer()2111 page->count_info &= ~(PGC_count_mask|PGC_allocated); in gnttab_transfer()
Completed in 49 milliseconds