• Home
  • Raw
  • Download

Lines Matching refs:memory_bitmap

411 struct memory_bitmap {  struct
586 static void memory_bm_position_reset(struct memory_bitmap *bm) in memory_bm_position_reset()
597 static void memory_bm_free(struct memory_bitmap *bm, int clear_nosave_free);
682 static int memory_bm_create(struct memory_bitmap *bm, gfp_t gfp_mask, in memory_bm_create()
725 static void memory_bm_free(struct memory_bitmap *bm, int clear_nosave_free) in memory_bm_free()
746 static int memory_bm_find_bit(struct memory_bitmap *bm, unsigned long pfn, in memory_bm_find_bit()
813 static void memory_bm_set_bit(struct memory_bitmap *bm, unsigned long pfn) in memory_bm_set_bit()
824 static int mem_bm_set_bit_check(struct memory_bitmap *bm, unsigned long pfn) in mem_bm_set_bit_check()
837 static void memory_bm_clear_bit(struct memory_bitmap *bm, unsigned long pfn) in memory_bm_clear_bit()
848 static void memory_bm_clear_current(struct memory_bitmap *bm) in memory_bm_clear_current()
856 static unsigned long memory_bm_get_current(struct memory_bitmap *bm) in memory_bm_get_current()
861 static int memory_bm_test_bit(struct memory_bitmap *bm, unsigned long pfn) in memory_bm_test_bit()
872 static bool memory_bm_pfn_present(struct memory_bitmap *bm, unsigned long pfn) in memory_bm_pfn_present()
890 static bool rtree_next_node(struct memory_bitmap *bm) in rtree_next_node()
927 static unsigned long memory_bm_next_pfn(struct memory_bitmap *bm) in memory_bm_next_pfn()
972 static void memory_bm_recycle(struct memory_bitmap *bm) in memory_bm_recycle()
1030 static struct memory_bitmap *forbidden_pages_map;
1033 static struct memory_bitmap *free_pages_map;
1083 static void mark_nosave_pages(struct memory_bitmap *bm) in mark_nosave_pages()
1121 struct memory_bitmap *bm1, *bm2; in create_basic_memory_bitmaps()
1129 bm1 = kzalloc(sizeof(struct memory_bitmap), GFP_KERNEL); in create_basic_memory_bitmaps()
1137 bm2 = kzalloc(sizeof(struct memory_bitmap), GFP_KERNEL); in create_basic_memory_bitmaps()
1171 struct memory_bitmap *bm1, *bm2; in free_basic_memory_bitmaps()
1198 struct memory_bitmap *bm = free_pages_map; in clear_or_poison_free_pages()
1475 static unsigned long copy_data_pages(struct memory_bitmap *copy_bm, in copy_data_pages()
1476 struct memory_bitmap *orig_bm, in copy_data_pages()
1477 struct memory_bitmap *zero_bm) in copy_data_pages()
1526 static struct memory_bitmap orig_bm;
1535 static struct memory_bitmap copy_bm;
1538 static struct memory_bitmap zero_bm;
2000 static inline unsigned int alloc_highmem_pages(struct memory_bitmap *bm, in alloc_highmem_pages()
2020 static inline unsigned int alloc_highmem_pages(struct memory_bitmap *bm, in alloc_highmem_pages()
2035 static int swsusp_alloc(struct memory_bitmap *copy_bm, in swsusp_alloc()
2163 static inline void pack_pfns(unsigned long *buf, struct memory_bitmap *bm, in pack_pfns()
2164 struct memory_bitmap *zero_bm) in pack_pfns()
2240 static void duplicate_memory_bitmap(struct memory_bitmap *dst, in duplicate_memory_bitmap()
2241 struct memory_bitmap *src) in duplicate_memory_bitmap()
2259 static void mark_unsafe_pages(struct memory_bitmap *bm) in mark_unsafe_pages()
2317 static int unpack_orig_pfns(unsigned long *buf, struct memory_bitmap *bm, in unpack_orig_pfns()
2318 struct memory_bitmap *zero_bm) in unpack_orig_pfns()
2373 static unsigned int count_highmem_image_pages(struct memory_bitmap *bm) in count_highmem_image_pages()
2391 static struct memory_bitmap *safe_highmem_bm;
2406 static int prepare_highmem_image(struct memory_bitmap *bm, in prepare_highmem_image()
2540 static unsigned int count_highmem_image_pages(struct memory_bitmap *bm) { return 0; } in count_highmem_image_pages()
2542 static inline int prepare_highmem_image(struct memory_bitmap *bm, in prepare_highmem_image()
2577 static int prepare_image(struct memory_bitmap *new_bm, struct memory_bitmap *bm, in prepare_image()
2578 struct memory_bitmap *zero_bm) in prepare_image()
2581 struct memory_bitmap tmp; in prepare_image()
2673 static void *get_buffer(struct memory_bitmap *bm, struct chain_allocator *ca) in get_buffer()