Lines Matching refs:free_pages_map
1035 static struct memory_bitmap *free_pages_map; variable
1044 if (free_pages_map) in swsusp_set_page_free()
1045 memory_bm_set_bit(free_pages_map, page_to_pfn(page)); in swsusp_set_page_free()
1050 return free_pages_map ? in swsusp_page_is_free()
1051 memory_bm_test_bit(free_pages_map, page_to_pfn(page)) : 0; in swsusp_page_is_free()
1056 if (free_pages_map) in swsusp_unset_page_free()
1057 memory_bm_clear_bit(free_pages_map, page_to_pfn(page)); in swsusp_unset_page_free()
1126 if (forbidden_pages_map && free_pages_map) in create_basic_memory_bitmaps()
1129 BUG_ON(forbidden_pages_map || free_pages_map); in create_basic_memory_bitmaps()
1148 free_pages_map = bm2; in create_basic_memory_bitmaps()
1175 if (WARN_ON(!(forbidden_pages_map && free_pages_map))) in free_basic_memory_bitmaps()
1179 bm2 = free_pages_map; in free_basic_memory_bitmaps()
1181 free_pages_map = NULL; in free_basic_memory_bitmaps()
1200 struct memory_bitmap *bm = free_pages_map; in clear_or_poison_free_pages()
1203 if (WARN_ON(!(free_pages_map))) in clear_or_poison_free_pages()
1599 if (!forbidden_pages_map || !free_pages_map) in swsusp_free()
1603 memory_bm_position_reset(free_pages_map); in swsusp_free()
1606 fr_pfn = memory_bm_next_pfn(free_pages_map); in swsusp_free()
1617 fr_pfn = memory_bm_next_pfn(free_pages_map); in swsusp_free()
1624 memory_bm_clear_current(free_pages_map); in swsusp_free()
2312 memory_bm_position_reset(free_pages_map); in mark_unsafe_pages()
2313 pfn = memory_bm_next_pfn(free_pages_map); in mark_unsafe_pages()
2315 memory_bm_clear_current(free_pages_map); in mark_unsafe_pages()
2316 pfn = memory_bm_next_pfn(free_pages_map); in mark_unsafe_pages()
2320 duplicate_memory_bitmap(free_pages_map, bm); in mark_unsafe_pages()