Searched refs:PGC_count_mask (Results 1 – 12 of 12) sorted by relevance
246 if ( (page->count_info & (PGC_count_mask | PGC_allocated)) != in nominate()305 if ( (page->count_info & (PGC_count_mask | PGC_allocated)) != in evict()
755 (page->count_info & PGC_count_mask) > max_ref ) in p2m_pod_zero_check_superpage()791 if ( (mfn_to_page(mfn)->count_info & PGC_count_mask) > 1 ) in p2m_pod_zero_check_superpage()896 ((pg->count_info & PGC_count_mask) <= max_ref) ) in p2m_pod_zero_check()924 if ( (mfn_to_page(mfns[i])->count_info & PGC_count_mask) > 1 ) in p2m_pod_zero_check()
86 #define PGC_count_mask ((1UL<<PGC_count_width)-1) macro450 ASSERT(((_p)->count_info & PGC_count_mask) != 0); \
283 ASSERT(!page_get_owner(pg) && !(pg->count_info & PGC_count_mask)); in hap_alloc_p2m_page()305 if ( owner || (pg->count_info & PGC_count_mask) ) in hap_free_p2m_page()313 pg->count_info &= ~PGC_count_mask; in hap_free_p2m_page()
1240 ASSERT(!page_get_owner(pg) && !(pg->count_info & PGC_count_mask)); in shadow_alloc_p2m_page()1253 if ( owner || (pg->count_info & PGC_count_mask) ) in shadow_free_p2m_page()1260 pg->count_info &= ~PGC_count_mask; in shadow_free_p2m_page()1401 BUG_ON( (sp->count_info & PGC_count_mask )!= 0 ) ; in sh_hash_audit_bucket()2096 && (page->count_info & PGC_count_mask) <= 3 in sh_remove_all_mappings()2692 pg->count_info &= ~PGC_count_mask; in shadow_enable()2808 (unpaged_pagetable->count_info & PGC_count_mask) == 1 ) in shadow_teardown()2810 unpaged_pagetable->count_info &= ~PGC_count_mask; in shadow_teardown()2815 !(unpaged_pagetable->count_info & PGC_count_mask) ) in shadow_teardown()
544 ASSERT(!(sp->count_info & PGC_count_mask)); in sh_put_ref()809 return ( (count & PGC_count_mask) == in sh_check_page_has_no_refs()
4180 if ( ((sp->count_info & PGC_count_mask) != 0) in sh_rm_write_access_from_sl1p()
128 #define PGC_count_mask ((1UL<<PGC_count_width)-1) macro
1531 if ( unlikely(((x + 1) & PGC_count_mask) <= 1) ) in page_get_owner_and_reference()1547 ASSERT((y & PGC_count_mask) != 0); in put_page()1553 if ( unlikely((nx & PGC_count_mask) == 0) ) in put_page()
783 ASSERT((page->count_info & PGC_count_mask) != 0); in is_iomem_page()2521 ASSERT((y & PGC_count_mask) != 0); in put_page()2527 if ( unlikely((nx & PGC_count_mask) == 0) ) in put_page()2550 if ( unlikely(((x + 2) & PGC_count_mask) <= 2) ) in page_get_owner_and_reference()2598 BUG_ON(!(x & PGC_count_mask)); /* Not allocated? */ in get_page_light()2599 BUG_ON(!(nx & PGC_count_mask)); /* Overflow? */ in get_page_light()4310 if ( (x & (PGC_count_mask|PGC_allocated)) != (2 | PGC_allocated) ) in steal_page()4312 y = cmpxchg(&page->count_info, x, x & ~(PGC_count_mask|PGC_allocated)); in steal_page()
697 BUG_ON((page->count_info & (PGC_xen_heap | PGC_count_mask)) <= 1); in put_page_alloc_ref()
193 if ( (page->count_info & (PGC_allocated|PGC_count_mask)) != 0 ) in share_xenoprof_page_with_guest()
Completed in 42 milliseconds