Home
last modified time | relevance | path

Searched refs:count_info (Results 1 – 23 of 23) sorted by relevance

/xen/xen/common/
A Dpage_alloc.c1015 pg[i].count_info = PGC_state_inuse | (pg[i].count_info & PGC_need_scrub); in alloc_heap_pages()
1412 pg[i].count_info = (pg[i].count_info & PGC_broken) | in free_heap_pages()
1522 unsigned long nx, x, y = pg->count_info; in mark_page_offline()
1698 y = pg->count_info; in online_page()
1752 if ( pg->count_info & PGC_broken ) in query_page_offline()
2205 pg[i].count_info |= PGC_xen_heap; in alloc_xenheap_pages()
2223 pg[i].count_info &= ~PGC_xen_heap; in free_xenheap_pages()
2288 if ( pg[0].count_info & PGC_extra ) in assign_pages()
2315 pg[i].count_info = in assign_pages()
2362 ASSERT(!pg[i].count_info); in alloc_domheap_pages()
[all …]
A Dxenoprof.c193 if ( (page->count_info & (PGC_allocated|PGC_count_mask)) != 0 ) in share_xenoprof_page_with_guest()
196 d->domain_id, mfn_x(mfn_add(mfn, i)), page->count_info); in share_xenoprof_page_with_guest()
A Dtrace.c275 ASSERT(!(mfn_to_page(_mfn(mfn))->count_info & PGC_allocated)); in alloc_trace_bufs()
A Dkexec.c798 VMCOREINFO_OFFSET(page_info, count_info); in crash_save_vmcoreinfo()
A Dgrant_table.c1791 if ( pg->count_info & ~PGC_xen_heap ) in gnttab_unpopulate_status_frames()
1797 pg->count_info, i, gfn_x(gfn)); in gnttab_unpopulate_status_frames()
1803 set_bit(_PGC_allocated, &pg->count_info); in gnttab_unpopulate_status_frames()
/xen/xen/arch/x86/mm/shadow/
A Dprivate.h296 if ( !(pg->count_info & PGC_page_table) ) in sh_page_has_multiple_shadows()
308 return (p->count_info & PGC_page_table) in page_is_out_of_sync()
319 return (p->count_info & PGC_page_table) in page_oos_may_write()
488 && (page->count_info & PGC_page_table) ) in sh_mfn_is_a_page_table()
544 ASSERT(!(sp->count_info & PGC_count_mask)); in sh_put_ref()
808 unsigned long count = read_atomic(&page->count_info); in sh_check_page_has_no_refs()
A Dcommon.c187 if ( !(pg->count_info & PGC_page_table) ) in sh_oos_audit()
748 clear_bit(_PGC_page_table, &page->count_info); in shadow_demote()
779 if ( !(page->count_info & PGC_page_table) ) in sh_validate_guest_entry()
1253 if ( owner || (pg->count_info & PGC_count_mask) ) in shadow_free_p2m_page()
1259 pg->count_info, pg->u.inuse.type_info); in shadow_free_p2m_page()
1260 pg->count_info &= ~PGC_count_mask; in shadow_free_p2m_page()
2236 if ( (pg->count_info & PGC_page_table) == 0 ) in sh_remove_shadows()
2303 if ( !(page->count_info & PGC_page_table) ) in shadow_prepare_page_type_change()
2651 pg->count_info = 1; in shadow_enable()
2692 pg->count_info &= ~PGC_count_mask; in shadow_enable()
[all …]
A Dmulti.c4180 if ( ((sp->count_info & PGC_count_mask) != 0) in sh_rm_write_access_from_sl1p()
/xen/xen/include/asm-x86/
A Dmm.h79 #define page_state_is(pg, st) (((pg)->count_info&PGC_state) == PGC_state_##st)
146 unsigned long count_info; member
302 #define is_xen_heap_page(page) ((page)->count_info & PGC_xen_heap)
450 ASSERT(((_p)->count_info & PGC_count_mask) != 0); \
/xen/xen/include/asm-arm/
A Dmm.h35 unsigned long count_info; member
121 #define page_state_is(pg, st) (((pg)->count_info&PGC_state) == PGC_state_##st)
152 #define is_xen_heap_page(page) ((page)->count_info & PGC_xen_heap)
/xen/xen/arch/x86/mm/
A Dp2m-pod.c753 !(page->count_info & PGC_allocated) || in p2m_pod_zero_check_superpage()
754 (page->count_info & PGC_page_table) || in p2m_pod_zero_check_superpage()
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()
894 (pg->count_info & PGC_allocated) && in p2m_pod_zero_check()
895 !(pg->count_info & PGC_page_table) && in p2m_pod_zero_check()
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()
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 Dmem_sharing.c669 if ( page->count_info != (PGC_allocated | (2 + expected_refcnt)) ) in page_make_sharable()
774 mfn_x(page_to_mfn(page)), page->count_info, in debug_mfn()
/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()
311 pg->count_info, pg->u.inuse.type_info); in hap_free_p2m_page()
313 pg->count_info &= ~PGC_count_mask; in hap_free_p2m_page()
/xen/xen/arch/x86/pv/
A Ddom0_build.c63 page->count_info = PGC_allocated | 3; in mark_pv_pt_pages_rdonly()
71 page->count_info += 1; in mark_pv_pt_pages_rdonly()
143 page->count_info = PGC_allocated | 2; in setup_pv_physmap()
176 page->count_info = PGC_allocated | 2; in setup_pv_physmap()
202 page->count_info = PGC_allocated | 2; in setup_pv_physmap()
/xen/xen/arch/arm/
A Dmm.c1393 ASSERT((page->count_info & ~PGC_xen_heap) == 0); in share_xen_page_with_guest()
1398 page->count_info |= PGC_allocated | 1; in share_xen_page_with_guest()
1522 unsigned long x, y = page->count_info; in page_get_owner_and_reference()
1534 while ( (y = cmpxchg(&page->count_info, x, x + 1)) != x ); in page_get_owner_and_reference()
1544 unsigned long nx, x, y = page->count_info; in put_page()
1551 while ( unlikely((y = cmpxchg(&page->count_info, x, nx)) != x) ); in put_page()
/xen/xen/arch/x86/
A Dmm.c494 ASSERT((page->count_info & ~PGC_xen_heap) == 0); in share_xen_page_with_guest()
579 if ( !(page->count_info & PGC_page_table) || in set_tlbflush_timestamp()
1013 unsigned long x, nx, y = page->count_info; in get_page_from_l1e()
2467 page->count_info &= ~PGC_cacheattr_mask; in cleanup_page_mappings()
2518 unsigned long nx, x, y = page->count_info; in put_page()
2540 unsigned long x, y = page->count_info; in page_get_owner_and_reference()
2593 unsigned long x, nx, y = page->count_info; in get_page_light()
2600 y = cmpxchg(&page->count_info, x, nx); in get_page_light()
2639 page->count_info); in validate_page()
4307 y = page->count_info; in steal_page()
[all …]
A Dtboot.c194 if ( page->count_info & PGC_page_table ) in update_pagetable_mac()
A Ddomain.c230 page->count_info, page->u.inuse.type_info); in dump_pageframe_info()
244 page->count_info, page->u.inuse.type_info); in dump_pageframe_info()
251 page->count_info, page->u.inuse.type_info); in dump_pageframe_info()
A Ddomctl.c426 if ( page->count_info & PGC_broken ) in arch_do_domctl()
/xen/xen/include/xen/
A Dmm.h290 return is_xen_heap_page(page) || (page->count_info & PGC_extra); in is_special_page()
695 if ( test_and_clear_bit(_PGC_allocated, &page->count_info) ) in put_page_alloc_ref()
697 BUG_ON((page->count_info & (PGC_xen_heap | PGC_count_mask)) <= 1); in put_page_alloc_ref()
A Dsched.h536 if ( pg->count_info & PGC_extra ) in page_to_list()
/xen/xen/arch/x86/x86_64/
A Dmm.c1283 pg->count_info = PGC_state_inuse; in transfer_pages_to_heap()

Completed in 76 milliseconds