Home
last modified time | relevance | path

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

/xen-4.10.0-shim-comet/xen/arch/x86/mm/hap/
A Dhap.c289 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()
/xen-4.10.0-shim-comet/xen/include/asm-x86/
A Dmm.h263 #define PGC_count_mask ((1UL<<PGC_count_width)-1) macro
433 ASSERT(((_p)->count_info & PGC_count_mask) != 0); \
/xen-4.10.0-shim-comet/xen/arch/x86/mm/
A Dp2m-pod.c774 (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()
A Dp2m.c1365 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()
/xen-4.10.0-shim-comet/xen/arch/x86/mm/shadow/
A Dprivate.h561 ASSERT(!(sp->count_info & PGC_count_mask)); in sh_put_ref()
815 return ( (count & PGC_count_mask) == in sh_check_page_has_no_refs()
A Dcommon.c1506 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()
A Dmulti.c4307 if ( ((sp->count_info & PGC_count_mask) != 0) in sh_rm_write_access_from_sl1p()
/xen-4.10.0-shim-comet/xen/include/asm-arm/
A Dmm.h125 #define PGC_count_mask ((1UL<<PGC_count_width)-1) macro
/xen-4.10.0-shim-comet/xen/arch/arm/
A Dmm.c1350 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()
/xen-4.10.0-shim-comet/xen/arch/x86/
A Dmm.c815 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()
/xen-4.10.0-shim-comet/xen/common/
A Dxenoprof.c152 if ( (page->count_info & (PGC_allocated|PGC_count_mask)) != 0 ) in share_xenoprof_page_with_guest()
A Dgrant_table.c2088 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