memory_bitmap
static struct memory_bitmap *forbidden_pages_map;
static struct memory_bitmap *free_pages_map;
static void mark_nosave_pages(struct memory_bitmap *bm)
struct memory_bitmap *bm1, *bm2;
bm1 = kzalloc_obj(struct memory_bitmap);
bm2 = kzalloc_obj(struct memory_bitmap);
struct memory_bitmap *bm1, *bm2;
struct memory_bitmap *bm = free_pages_map;
static unsigned long copy_data_pages(struct memory_bitmap *copy_bm,
struct memory_bitmap *orig_bm,
struct memory_bitmap *zero_bm)
static struct memory_bitmap orig_bm;
static struct memory_bitmap copy_bm;
static struct memory_bitmap zero_bm;
static inline unsigned int alloc_highmem_pages(struct memory_bitmap *bm,
static inline unsigned int alloc_highmem_pages(struct memory_bitmap *bm,
static int swsusp_alloc(struct memory_bitmap *copy_bm,
static inline void pack_pfns(unsigned long *buf, struct memory_bitmap *bm,
struct memory_bitmap *zero_bm)
static void duplicate_memory_bitmap(struct memory_bitmap *dst,
struct memory_bitmap *src)
static void mark_unsafe_pages(struct memory_bitmap *bm)
static int unpack_orig_pfns(unsigned long *buf, struct memory_bitmap *bm,
struct memory_bitmap *zero_bm)
static unsigned int count_highmem_image_pages(struct memory_bitmap *bm)
static struct memory_bitmap *safe_highmem_bm;
static int prepare_highmem_image(struct memory_bitmap *bm,
static unsigned int count_highmem_image_pages(struct memory_bitmap *bm) { return 0; }
static inline int prepare_highmem_image(struct memory_bitmap *bm,
static int prepare_image(struct memory_bitmap *new_bm, struct memory_bitmap *bm,
struct memory_bitmap *zero_bm)
struct memory_bitmap tmp;
static void *get_buffer(struct memory_bitmap *bm, struct chain_allocator *ca)
static void memory_bm_position_reset(struct memory_bitmap *bm)
static void memory_bm_free(struct memory_bitmap *bm, int clear_nosave_free);
static int memory_bm_create(struct memory_bitmap *bm, gfp_t gfp_mask,
static void memory_bm_free(struct memory_bitmap *bm, int clear_nosave_free)
static int memory_bm_find_bit(struct memory_bitmap *bm, unsigned long pfn,
static void memory_bm_set_bit(struct memory_bitmap *bm, unsigned long pfn)
static int mem_bm_set_bit_check(struct memory_bitmap *bm, unsigned long pfn)
static void memory_bm_clear_bit(struct memory_bitmap *bm, unsigned long pfn)
static void memory_bm_clear_current(struct memory_bitmap *bm)
static unsigned long memory_bm_get_current(struct memory_bitmap *bm)
static int memory_bm_test_bit(struct memory_bitmap *bm, unsigned long pfn)
static bool memory_bm_pfn_present(struct memory_bitmap *bm, unsigned long pfn)
static bool rtree_next_node(struct memory_bitmap *bm)
static unsigned long memory_bm_next_pfn(struct memory_bitmap *bm)
static void memory_bm_recycle(struct memory_bitmap *bm)