Lines Matching refs:count_info

976         BUG_ON((pg[i].count_info & ~PGC_need_scrub) != PGC_state_free);  in alloc_heap_pages()
979 ASSERT(first_dirty != INVALID_DIRTY_IDX || !(pg[i].count_info & PGC_need_scrub)); in alloc_heap_pages()
982 pg[i].count_info = PGC_state_inuse | (pg[i].count_info & PGC_need_scrub); in alloc_heap_pages()
1005 if ( test_bit(_PGC_need_scrub, &pg[i].count_info) ) in alloc_heap_pages()
1013 pg[i].count_info &= ~PGC_need_scrub; in alloc_heap_pages()
1122 test_bit(_PGC_broken, &cur_head->count_info) ? in reserve_offlined_page()
1259 if ( test_bit(_PGC_need_scrub, &pg[i].count_info) ) in scrub_free_pages()
1267 pg[i].count_info &= ~PGC_need_scrub; in scrub_free_pages()
1370 pg[i].count_info = in free_heap_pages()
1371 ((pg[i].count_info & PGC_broken) | in free_heap_pages()
1388 pg[i].count_info |= PGC_need_scrub; in free_heap_pages()
1471 unsigned long nx, x, y = pg->count_info; in mark_page_offline()
1492 } while ( (y = cmpxchg(&pg->count_info, x, nx)) != x ); in mark_page_offline()
1561 if ( (pg->count_info & PGC_broken) && (owner = page_get_owner(pg)) ) in offline_page()
1647 y = pg->count_info; in online_page()
1674 } while ( (y = cmpxchg(&pg->count_info, x, nx)) != x ); in online_page()
1701 if ( pg->count_info & PGC_broken ) in query_page_offline()
2129 pg[i].count_info |= PGC_xen_heap; in alloc_xenheap_pages()
2147 pg[i].count_info &= ~PGC_xen_heap; in free_xenheap_pages()
2216 ASSERT((pg[i].count_info & ~(PGC_allocated | 1)) == 0); in assign_pages()
2219 pg[i].count_info = PGC_allocated | 1; in assign_pages()
2397 if ( unlikely(pg->count_info & PGC_broken) ) in scrub_one_page()