Home
last modified time | relevance | path

Searched refs:PGC_count_mask (Results 1 – 12 of 12) sorted by relevance

/xen/xen/arch/x86/mm/
A Dmem_paging.c246 if ( (page->count_info & (PGC_count_mask | PGC_allocated)) != in nominate()
305 if ( (page->count_info & (PGC_count_mask | PGC_allocated)) != in evict()
A Dp2m-pod.c755 (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()
/xen/xen/include/asm-x86/
A Dmm.h86 #define PGC_count_mask ((1UL<<PGC_count_width)-1) macro
450 ASSERT(((_p)->count_info & PGC_count_mask) != 0); \
/xen/xen/arch/x86/mm/hap/
A Dhap.c283 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()
/xen/xen/arch/x86/mm/shadow/
A Dcommon.c1240 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()
A Dprivate.h544 ASSERT(!(sp->count_info & PGC_count_mask)); in sh_put_ref()
809 return ( (count & PGC_count_mask) == in sh_check_page_has_no_refs()
A Dmulti.c4180 if ( ((sp->count_info & PGC_count_mask) != 0) in sh_rm_write_access_from_sl1p()
/xen/xen/include/asm-arm/
A Dmm.h128 #define PGC_count_mask ((1UL<<PGC_count_width)-1) macro
/xen/xen/arch/arm/
A Dmm.c1531 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()
/xen/xen/arch/x86/
A Dmm.c783 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()
/xen/xen/include/xen/
A Dmm.h697 BUG_ON((page->count_info & (PGC_xen_heap | PGC_count_mask)) <= 1); in put_page_alloc_ref()
/xen/xen/common/
A Dxenoprof.c193 if ( (page->count_info & (PGC_allocated|PGC_count_mask)) != 0 ) in share_xenoprof_page_with_guest()

Completed in 42 milliseconds