Lines Matching refs:orig_bm
1009 copy_data_pages(struct memory_bitmap *copy_bm, struct memory_bitmap *orig_bm)
1021 memory_bm_set_bit(orig_bm, pfn);
1023 memory_bm_position_reset(orig_bm);
1026 pfn = memory_bm_next_pfn(orig_bm);
1046 static struct memory_bitmap orig_bm;
1051 * duplicated in @orig_bm and it is released. On highmem systems it is next
1285 error = memory_bm_create(&orig_bm, GFP_IMAGE, PG_ANY);
1512 swsusp_alloc(struct memory_bitmap *orig_bm, struct memory_bitmap *copy_bm,
1561 if (swsusp_alloc(&orig_bm, ©_bm, nr_pages, nr_highmem)) {
1570 copy_data_pages(©_bm, &orig_bm);
1680 memory_bm_position_reset(&orig_bm);
1684 pack_pfns(buffer, &orig_bm);
2209 error = prepare_image(&orig_bm, ©_bm);
2214 memory_bm_position_reset(&orig_bm);
2216 handle->buffer = get_buffer(&orig_bm, &ca);
2223 handle->buffer = get_buffer(&orig_bm, &ca);
2246 memory_bm_free(&orig_bm, PG_UNSAFE_CLEAR);