Lines Matching refs:nr_copy_pages
1429 static unsigned int nr_copy_pages; variable
1494 nr_copy_pages = 0; in swsusp_free()
2003 nr_copy_pages = nr_pages; in swsusp_save()
2037 return nr_copy_pages + nr_meta_pages + 1; in snapshot_get_image_size()
2044 info->image_pages = nr_copy_pages; in init_header()
2090 if (handle->cur > nr_meta_pages + nr_copy_pages) in snapshot_read_next()
2196 nr_copy_pages = info->image_pages; in load_header()
2488 nr_pages = nr_copy_pages - nr_highmem - allocated_unsafe_pages; in prepare_image()
2501 nr_pages = nr_copy_pages - nr_highmem - allocated_unsafe_pages; in prepare_image()
2590 if (handle->cur > 1 && handle->cur > nr_meta_pages + nr_copy_pages) in snapshot_write_next()
2616 error = page_key_alloc(nr_copy_pages); in snapshot_write_next()
2670 if (handle->cur > 1 && handle->cur > nr_meta_pages + nr_copy_pages) { in snapshot_write_finalize()
2678 return !(!nr_copy_pages || !last_highmem_page_copied() || in snapshot_image_loaded()
2679 handle->cur <= nr_meta_pages + nr_copy_pages); in snapshot_image_loaded()