Lines Matching refs:forbidden_pages_map
1032 static struct memory_bitmap *forbidden_pages_map; variable
1062 if (forbidden_pages_map) in swsusp_set_page_forbidden()
1063 memory_bm_set_bit(forbidden_pages_map, page_to_pfn(page)); in swsusp_set_page_forbidden()
1068 return forbidden_pages_map ? in swsusp_page_is_forbidden()
1069 memory_bm_test_bit(forbidden_pages_map, page_to_pfn(page)) : 0; in swsusp_page_is_forbidden()
1074 if (forbidden_pages_map) in swsusp_unset_page_forbidden()
1075 memory_bm_clear_bit(forbidden_pages_map, page_to_pfn(page)); in swsusp_unset_page_forbidden()
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()
1147 forbidden_pages_map = bm1; in create_basic_memory_bitmaps()
1149 mark_nosave_pages(forbidden_pages_map); in create_basic_memory_bitmaps()
1175 if (WARN_ON(!(forbidden_pages_map && free_pages_map))) in free_basic_memory_bitmaps()
1178 bm1 = forbidden_pages_map; in free_basic_memory_bitmaps()
1180 forbidden_pages_map = NULL; in free_basic_memory_bitmaps()
1599 if (!forbidden_pages_map || !free_pages_map) in swsusp_free()
1602 memory_bm_position_reset(forbidden_pages_map); in swsusp_free()
1607 fb_pfn = memory_bm_next_pfn(forbidden_pages_map); in swsusp_free()
1615 fb_pfn = memory_bm_next_pfn(forbidden_pages_map); in swsusp_free()
1623 memory_bm_clear_current(forbidden_pages_map); in swsusp_free()