Lines Matching refs:orig_bm
1269 copy_data_pages(struct memory_bitmap *copy_bm, struct memory_bitmap *orig_bm) in copy_data_pages() argument
1281 memory_bm_set_bit(orig_bm, pfn); in copy_data_pages()
1283 memory_bm_position_reset(orig_bm); in copy_data_pages()
1286 pfn = memory_bm_next_pfn(orig_bm); in copy_data_pages()
1306 static struct memory_bitmap orig_bm; variable
1570 error = memory_bm_create(&orig_bm, GFP_IMAGE, PG_ANY); in hibernate_preallocate_memory()
1807 swsusp_alloc(struct memory_bitmap *orig_bm, struct memory_bitmap *copy_bm, in swsusp_alloc() argument
1853 if (swsusp_alloc(&orig_bm, ©_bm, nr_pages, nr_highmem)) { in swsusp_save()
1862 copy_data_pages(©_bm, &orig_bm); in swsusp_save()
1974 memory_bm_position_reset(&orig_bm); in snapshot_read_next()
1978 pack_pfns(buffer, &orig_bm); in snapshot_read_next()
2509 error = prepare_image(&orig_bm, ©_bm); in snapshot_write_next()
2514 memory_bm_position_reset(&orig_bm); in snapshot_write_next()
2516 handle->buffer = get_buffer(&orig_bm, &ca); in snapshot_write_next()
2525 handle->buffer = get_buffer(&orig_bm, &ca); in snapshot_write_next()
2551 memory_bm_free(&orig_bm, PG_UNSAFE_CLEAR); in snapshot_write_finalize()