Lines Matching refs:page
111 hibernate_page_bitmap(hibernate_page_list_t * list, uint32_t page)
118 if ((page >= bitmap->first_page) && (page <= bitmap->last_page))
131 uint32_t bank, page = *pPage;
136 if (page <= bitmap->first_page)
141 if (page <= bitmap->last_page)
152 hibernate_page_bitset(hibernate_page_list_t * list, boolean_t set, uint32_t page)
156 bitmap = hibernate_page_bitmap(list, page);
159 page -= bitmap->first_page;
161 bitmap->bitmap[page >> 5] |= (0x80000000 >> (page & 31));
162 //setbit(page - bitmap->first_page, (int *) &bitmap->bitmap[0]);
164 bitmap->bitmap[page >> 5] &= ~(0x80000000 >> (page & 31));
165 //clrbit(page - bitmap->first_page, (int *) &bitmap->bitmap[0]);
170 hibernate_page_bittst(hibernate_page_list_t * list, uint32_t page)
175 bitmap = hibernate_page_bitmap(list, page);
178 page -= bitmap->first_page;
179 result = (0 != (bitmap->bitmap[page >> 5] & (0x80000000 >> (page & 31))));
184 // count bits clear or set (set == TRUE) starting at page.
186 hibernate_page_bitmap_count(hibernate_bitmap_t * bitmap, uint32_t set, uint32_t page)
193 index = (page - bitmap->first_page) >> 5;
194 bit = (page - bitmap->first_page) & 31;
298 uint32_t page;
423 for (page = 0; page < count; page++, ppnum++)
456 // alloc new buffer page
461 // alloc new copy list page