Lines Matching refs:forbidden_pages_map
983 static struct memory_bitmap *forbidden_pages_map; variable
1013 if (forbidden_pages_map) in swsusp_set_page_forbidden()
1014 memory_bm_set_bit(forbidden_pages_map, page_to_pfn(page)); in swsusp_set_page_forbidden()
1019 return forbidden_pages_map ? in swsusp_page_is_forbidden()
1020 memory_bm_test_bit(forbidden_pages_map, page_to_pfn(page)) : 0; in swsusp_page_is_forbidden()
1025 if (forbidden_pages_map) in swsusp_unset_page_forbidden()
1026 memory_bm_clear_bit(forbidden_pages_map, page_to_pfn(page)); in swsusp_unset_page_forbidden()
1077 if (forbidden_pages_map && free_pages_map) in create_basic_memory_bitmaps()
1080 BUG_ON(forbidden_pages_map || free_pages_map); in create_basic_memory_bitmaps()
1098 forbidden_pages_map = bm1; in create_basic_memory_bitmaps()
1100 mark_nosave_pages(forbidden_pages_map); in create_basic_memory_bitmaps()
1126 if (WARN_ON(!(forbidden_pages_map && free_pages_map))) in free_basic_memory_bitmaps()
1129 bm1 = forbidden_pages_map; in free_basic_memory_bitmaps()
1131 forbidden_pages_map = NULL; in free_basic_memory_bitmaps()
1462 if (!forbidden_pages_map || !free_pages_map) in swsusp_free()
1465 memory_bm_position_reset(forbidden_pages_map); in swsusp_free()
1470 fb_pfn = memory_bm_next_pfn(forbidden_pages_map); in swsusp_free()
1478 fb_pfn = memory_bm_next_pfn(forbidden_pages_map); in swsusp_free()
1486 memory_bm_clear_current(forbidden_pages_map); in swsusp_free()