Lines Matching defs:bitmap
35 static inline char *bmname(struct bitmap *bitmap) in bmname()
50 static int md_bitmap_checkpage(struct bitmap_counts *bitmap, in md_bitmap_checkpage()
112 static void md_bitmap_checkfree(struct bitmap_counts *bitmap, unsigned long page) in md_bitmap_checkfree()
224 static int __write_sb_page(struct md_rdev *rdev, struct bitmap *bitmap, in __write_sb_page()
280 static void write_sb_page(struct bitmap *bitmap, unsigned long pg_index, in write_sb_page()
300 static void write_file_page(struct bitmap *bitmap, struct page *page, int wait) in write_file_page()
319 struct bitmap *bitmap = bh->b_private; in end_bitmap_write() local
352 struct bitmap *bitmap, unsigned long count, struct page *page) in read_file_page()
414 static void write_file_page(struct bitmap *bitmap, struct page *page, int wait) in write_file_page()
418 struct bitmap *bitmap, unsigned long count, struct page *page) in read_file_page()
435 static void filemap_write_page(struct bitmap *bitmap, unsigned long pg_index, in filemap_write_page()
457 static void md_bitmap_wait_writes(struct bitmap *bitmap) in md_bitmap_wait_writes()
475 void md_bitmap_update_sb(struct bitmap *bitmap) in md_bitmap_update_sb()
516 void md_bitmap_print_sb(struct bitmap *bitmap) in md_bitmap_print_sb()
555 static int md_bitmap_new_disk_sb(struct bitmap *bitmap) in md_bitmap_new_disk_sb()
614 static int md_bitmap_read_sb(struct bitmap *bitmap) in md_bitmap_read_sb()
893 static void md_bitmap_file_kick(struct bitmap *bitmap) in md_bitmap_file_kick()
915 static inline void set_page_attr(struct bitmap *bitmap, int pnum, in set_page_attr()
921 static inline void clear_page_attr(struct bitmap *bitmap, int pnum, in clear_page_attr()
927 static inline int test_page_attr(struct bitmap *bitmap, int pnum, in test_page_attr()
933 static inline int test_and_clear_page_attr(struct bitmap *bitmap, int pnum, in test_and_clear_page_attr()
946 static void md_bitmap_file_set_bit(struct bitmap *bitmap, sector_t block) in md_bitmap_file_set_bit()
977 static void md_bitmap_file_clear_bit(struct bitmap *bitmap, sector_t block) in md_bitmap_file_clear_bit()
1007 static int md_bitmap_file_test_bit(struct bitmap *bitmap, sector_t block) in md_bitmap_file_test_bit()
1031 void md_bitmap_unplug(struct bitmap *bitmap) in md_bitmap_unplug()
1068 struct bitmap *bitmap; member
1081 void md_bitmap_unplug_async(struct bitmap *bitmap) in md_bitmap_unplug_async()
1109 static int md_bitmap_init_from_disk(struct bitmap *bitmap, sector_t start) in md_bitmap_init_from_disk()
1231 void md_bitmap_write_all(struct bitmap *bitmap) in md_bitmap_write_all()
1250 static void md_bitmap_count_page(struct bitmap_counts *bitmap, in md_bitmap_count_page()
1259 static void md_bitmap_set_pending(struct bitmap_counts *bitmap, sector_t offset) in md_bitmap_set_pending()
1297 struct bitmap *bitmap; in md_bitmap_daemon_work() local
1418 static bitmap_counter_t *md_bitmap_get_counter(struct bitmap_counts *bitmap, in md_bitmap_get_counter()
1468 int md_bitmap_startwrite(struct bitmap *bitmap, sector_t offset, in md_bitmap_startwrite()
1521 void md_bitmap_endwrite(struct bitmap *bitmap, sector_t offset, in md_bitmap_endwrite()
1567 static int __bitmap_start_sync(struct bitmap *bitmap, sector_t offset, sector_t *blocks, in __bitmap_start_sync()
1595 int md_bitmap_start_sync(struct bitmap *bitmap, sector_t offset, sector_t *blocks, in md_bitmap_start_sync()
1619 void md_bitmap_end_sync(struct bitmap *bitmap, sector_t offset, sector_t *blocks, int aborted) in md_bitmap_end_sync()
1650 void md_bitmap_close_sync(struct bitmap *bitmap) in md_bitmap_close_sync()
1667 void md_bitmap_cond_end_sync(struct bitmap *bitmap, sector_t sector, bool force) in md_bitmap_cond_end_sync()
1701 struct bitmap *bitmap = mddev->bitmap; in md_bitmap_sync_with_cluster() local
1718 static void md_bitmap_set_memory_bits(struct bitmap *bitmap, sector_t offset, int needed) in md_bitmap_set_memory_bits()
1745 void md_bitmap_dirty_bits(struct bitmap *bitmap, unsigned long s, unsigned long e) in md_bitmap_dirty_bits()
1767 struct bitmap *bitmap = mddev->bitmap; in md_bitmap_flush() local
1791 void md_bitmap_free(struct bitmap *bitmap) in md_bitmap_free()
1829 struct bitmap *bitmap = mddev->bitmap; in md_bitmap_start_behind_write() local
1847 struct bitmap *bitmap = mddev->bitmap; in md_bitmap_end_behind_write() local
1862 struct bitmap *bitmap = mddev->bitmap; in md_bitmap_wait_behind_writes() local
1876 struct bitmap *bitmap = mddev->bitmap; in md_bitmap_destroy() local
1902 struct bitmap *bitmap; in md_bitmap_create() local
1992 struct bitmap *bitmap = mddev->bitmap; in md_bitmap_load() local
2049 struct bitmap *bitmap; in get_bitmap_from_slot() local
2076 struct bitmap *bitmap; in md_bitmap_copy_from_slot() local
2115 int md_bitmap_get_stats(struct bitmap *bitmap, struct md_bitmap_stats *stats) in md_bitmap_get_stats()
2137 int md_bitmap_resize(struct bitmap *bitmap, sector_t blocks, in md_bitmap_resize()
2424 struct bitmap *bitmap; in location_store() local