Lines Matching refs:lastpage
1117 struct page *page = NULL, *lastpage = NULL;
1152 if (page != lastpage) {
1171 if (lastpage != NULL) {
1172 if (test_page_attr(bitmap, lastpage, BITMAP_PAGE_NEEDWRITE)) {
1173 clear_page_attr(bitmap, lastpage, BITMAP_PAGE_NEEDWRITE);
1175 write_page(bitmap, lastpage, 0);
1177 set_page_attr(bitmap, lastpage, BITMAP_PAGE_NEEDWRITE);
1182 lastpage = page;
1237 if (lastpage != NULL || log != NULL) {
1239 if (test_page_attr(bitmap, lastpage, BITMAP_PAGE_NEEDWRITE)) {
1240 clear_page_attr(bitmap, lastpage, BITMAP_PAGE_NEEDWRITE);
1242 if (lastpage)
1243 write_page(bitmap, lastpage, 0);
1248 set_page_attr(bitmap, lastpage, BITMAP_PAGE_NEEDWRITE);