Lines Matching refs:memory_bitmap

305 struct memory_bitmap {  struct
476 static void memory_bm_position_reset(struct memory_bitmap *bm) in memory_bm_position_reset()
486 static void memory_bm_free(struct memory_bitmap *bm, int clear_nosave_free);
571 memory_bm_create(struct memory_bitmap *bm, gfp_t gfp_mask, int safe_needed) in memory_bm_create()
612 static void memory_bm_free(struct memory_bitmap *bm, int clear_nosave_free) in memory_bm_free()
634 static int memory_bm_find_bit(struct memory_bitmap *bm, unsigned long pfn, in memory_bm_find_bit()
694 static void memory_bm_set_bit(struct memory_bitmap *bm, unsigned long pfn) in memory_bm_set_bit()
705 static int mem_bm_set_bit_check(struct memory_bitmap *bm, unsigned long pfn) in mem_bm_set_bit_check()
718 static void memory_bm_clear_bit(struct memory_bitmap *bm, unsigned long pfn) in memory_bm_clear_bit()
729 static void memory_bm_clear_current(struct memory_bitmap *bm) in memory_bm_clear_current()
737 static int memory_bm_test_bit(struct memory_bitmap *bm, unsigned long pfn) in memory_bm_test_bit()
748 static bool memory_bm_pfn_present(struct memory_bitmap *bm, unsigned long pfn) in memory_bm_pfn_present()
766 static bool rtree_next_node(struct memory_bitmap *bm) in rtree_next_node()
802 static unsigned long memory_bm_next_pfn(struct memory_bitmap *bm) in memory_bm_next_pfn()
879 static struct memory_bitmap *forbidden_pages_map;
882 static struct memory_bitmap *free_pages_map;
930 static void mark_nosave_pages(struct memory_bitmap *bm) in mark_nosave_pages()
968 struct memory_bitmap *bm1, *bm2; in create_basic_memory_bitmaps()
976 bm1 = kzalloc(sizeof(struct memory_bitmap), GFP_KERNEL); in create_basic_memory_bitmaps()
984 bm2 = kzalloc(sizeof(struct memory_bitmap), GFP_KERNEL); in create_basic_memory_bitmaps()
1018 struct memory_bitmap *bm1, *bm2; in free_basic_memory_bitmaps()
1269 copy_data_pages(struct memory_bitmap *copy_bm, struct memory_bitmap *orig_bm) in copy_data_pages()
1306 static struct memory_bitmap orig_bm;
1315 static struct memory_bitmap copy_bm;
1771 alloc_highmem_pages(struct memory_bitmap *bm, unsigned int nr_highmem) in alloc_highmem_pages()
1791 alloc_highmem_pages(struct memory_bitmap *bm, unsigned int n) { return 0; } in alloc_highmem_pages()
1807 swsusp_alloc(struct memory_bitmap *orig_bm, struct memory_bitmap *copy_bm, in swsusp_alloc()
1926 pack_pfns(unsigned long *buf, struct memory_bitmap *bm) in pack_pfns()
2008 static int mark_unsafe_pages(struct memory_bitmap *bm) in mark_unsafe_pages()
2039 duplicate_memory_bitmap(struct memory_bitmap *dst, struct memory_bitmap *src) in duplicate_memory_bitmap()
2087 static int unpack_orig_pfns(unsigned long *buf, struct memory_bitmap *bm) in unpack_orig_pfns()
2136 static unsigned int count_highmem_image_pages(struct memory_bitmap *bm) in count_highmem_image_pages()
2166 static struct memory_bitmap *safe_highmem_bm;
2169 prepare_highmem_image(struct memory_bitmap *bm, unsigned int *nr_highmem_p) in prepare_highmem_image()
2298 count_highmem_image_pages(struct memory_bitmap *bm) { return 0; } in count_highmem_image_pages()
2301 prepare_highmem_image(struct memory_bitmap *bm, unsigned int *nr_highmem_p) in prepare_highmem_image()
2334 prepare_image(struct memory_bitmap *new_bm, struct memory_bitmap *bm) in prepare_image()
2417 static void *get_buffer(struct memory_bitmap *bm, struct chain_allocator *ca) in get_buffer()