Lines Matching defs:bm

286 static void memory_bm_position_reset(struct memory_bitmap *bm)  in memory_bm_position_reset()
401 memory_bm_create(struct memory_bitmap *bm, gfp_t gfp_mask, int safe_needed) in memory_bm_create()
460 static void memory_bm_free(struct memory_bitmap *bm, int clear_nosave_free) in memory_bm_free()
478 static int memory_bm_find_bit(struct memory_bitmap *bm, unsigned long pfn, in memory_bm_find_bit()
510 static void memory_bm_set_bit(struct memory_bitmap *bm, unsigned long pfn) in memory_bm_set_bit()
521 static int mem_bm_set_bit_check(struct memory_bitmap *bm, unsigned long pfn) in mem_bm_set_bit_check()
533 static void memory_bm_clear_bit(struct memory_bitmap *bm, unsigned long pfn) in memory_bm_clear_bit()
544 static int memory_bm_test_bit(struct memory_bitmap *bm, unsigned long pfn) in memory_bm_test_bit()
555 static bool memory_bm_pfn_present(struct memory_bitmap *bm, unsigned long pfn) in memory_bm_pfn_present()
572 static unsigned long memory_bm_next_pfn(struct memory_bitmap *bm) in memory_bm_next_pfn()
704 static void mark_nosave_pages(struct memory_bitmap *bm) in mark_nosave_pages()
1512 alloc_highmem_pages(struct memory_bitmap *bm, unsigned int nr_highmem) in alloc_highmem_pages()
1532 alloc_highmem_pages(struct memory_bitmap *bm, unsigned int n) { return 0; } in alloc_highmem_pages()
1667 pack_pfns(unsigned long *buf, struct memory_bitmap *bm) in pack_pfns()
1749 static int mark_unsafe_pages(struct memory_bitmap *bm) in mark_unsafe_pages()
1828 static int unpack_orig_pfns(unsigned long *buf, struct memory_bitmap *bm) in unpack_orig_pfns()
1877 static unsigned int count_highmem_image_pages(struct memory_bitmap *bm) in count_highmem_image_pages()
1910 prepare_highmem_image(struct memory_bitmap *bm, unsigned int *nr_highmem_p) in prepare_highmem_image()
2041 count_highmem_image_pages(struct memory_bitmap *bm) { return 0; } in count_highmem_image_pages()
2044 prepare_highmem_image(struct memory_bitmap *bm, unsigned int *nr_highmem_p) in prepare_highmem_image()
2077 prepare_image(struct memory_bitmap *new_bm, struct memory_bitmap *bm) in prepare_image()
2160 static void *get_buffer(struct memory_bitmap *bm, struct chain_allocator *ca) in get_buffer()