Lines Matching refs:zero_bm
1526 struct memory_bitmap *zero_bm) in copy_data_pages() argument
1549 memory_bm_set_bit(zero_bm, pfn); in copy_data_pages()
1587 static struct memory_bitmap zero_bm; variable
1852 error = memory_bm_create(&zero_bm, GFP_IMAGE, PG_ANY); in hibernate_preallocate_memory()
2140 nr_copy_pages = copy_data_pages(©_bm, &orig_bm, &zero_bm); in swsusp_save()
2212 struct memory_bitmap *zero_bm) in pack_pfns() argument
2220 if (memory_bm_test_bit(zero_bm, buf[j])) in pack_pfns()
2263 pack_pfns(buffer, &orig_bm, &zero_bm); in snapshot_read_next()
2366 struct memory_bitmap *zero_bm) in unpack_orig_pfns() argument
2381 memory_bm_set_bit(zero_bm, decoded_pfn); in unpack_orig_pfns()
2626 struct memory_bitmap *zero_bm) in prepare_image() argument
2652 duplicate_memory_bitmap(&tmp, zero_bm); in prepare_image()
2653 memory_bm_free(zero_bm, PG_UNSAFE_KEEP); in prepare_image()
2656 error = memory_bm_create(zero_bm, GFP_ATOMIC, PG_SAFE); in prepare_image()
2660 duplicate_memory_bitmap(zero_bm, &tmp); in prepare_image()
2805 error = memory_bm_create(&zero_bm, GFP_ATOMIC, PG_ANY); in snapshot_write_next()
2813 error = unpack_orig_pfns(buffer, ©_bm, &zero_bm); in snapshot_write_next()
2818 error = prepare_image(&orig_bm, ©_bm, &zero_bm); in snapshot_write_next()
2824 memory_bm_position_reset(&zero_bm); in snapshot_write_next()
2844 memory_bm_test_bit(&zero_bm, memory_bm_get_current(&orig_bm))) { in snapshot_write_next()