• Home
  • Raw
  • Download

Lines Matching refs:copy_bm

1475 static unsigned long copy_data_pages(struct memory_bitmap *copy_bm,  in copy_data_pages()  argument
1493 memory_bm_position_reset(copy_bm); in copy_data_pages()
1494 copy_pfn = memory_bm_next_pfn(copy_bm); in copy_data_pages()
1505 copy_pfn = memory_bm_next_pfn(copy_bm); in copy_data_pages()
1535 static struct memory_bitmap copy_bm; variable
1613 memory_bm_set_bit(&copy_bm, page_to_pfn(page)); in preallocate_image_pages()
1704 memory_bm_position_reset(&copy_bm); in free_unnecessary_pages()
1707 unsigned long pfn = memory_bm_next_pfn(&copy_bm); in free_unnecessary_pages()
1721 memory_bm_clear_bit(&copy_bm, pfn); in free_unnecessary_pages()
1797 error = memory_bm_create(&copy_bm, GFP_IMAGE, PG_ANY); in hibernate_preallocate_memory()
2035 static int swsusp_alloc(struct memory_bitmap *copy_bm, in swsusp_alloc() argument
2043 nr_pages += alloc_highmem_pages(copy_bm, nr_highmem); in swsusp_alloc()
2054 memory_bm_set_bit(copy_bm, page_to_pfn(page)); in swsusp_alloc()
2081 if (swsusp_alloc(&copy_bm, nr_pages, nr_highmem)) { in swsusp_save()
2091 nr_copy_pages = copy_data_pages(&copy_bm, &orig_bm, &zero_bm); in swsusp_save()
2212 memory_bm_position_reset(&copy_bm); in snapshot_read_next()
2219 page = pfn_to_page(memory_bm_next_pfn(&copy_bm)); in snapshot_read_next()
2753 error = memory_bm_create(&copy_bm, GFP_ATOMIC, PG_ANY); in snapshot_write_next()
2765 error = unpack_orig_pfns(buffer, &copy_bm, &zero_bm); in snapshot_write_next()
2770 error = prepare_image(&orig_bm, &copy_bm, &zero_bm); in snapshot_write_next()