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()
119 static void md_bitmap_checkfree(struct bitmap_counts *bitmap, unsigned long page) in md_bitmap_checkfree()
212 static int write_sb_page(struct bitmap *bitmap, struct page *page, int wait) in write_sb_page()
288 static void write_page(struct bitmap *bitmap, struct page *page, int wait) in write_page()
319 struct bitmap *bitmap = bh->b_private; in end_bitmap_write() local
352 struct bitmap *bitmap, in read_page()
426 static void md_bitmap_wait_writes(struct bitmap *bitmap) in md_bitmap_wait_writes()
444 void md_bitmap_update_sb(struct bitmap *bitmap) in md_bitmap_update_sb()
480 void md_bitmap_print_sb(struct bitmap *bitmap) in md_bitmap_print_sb()
519 static int md_bitmap_new_disk_sb(struct bitmap *bitmap) in md_bitmap_new_disk_sb()
578 static int md_bitmap_read_sb(struct bitmap *bitmap) in md_bitmap_read_sb()
863 static void md_bitmap_file_kick(struct bitmap *bitmap) in md_bitmap_file_kick()
893 static inline void set_page_attr(struct bitmap *bitmap, int pnum, in set_page_attr()
899 static inline void clear_page_attr(struct bitmap *bitmap, int pnum, in clear_page_attr()
905 static inline int test_page_attr(struct bitmap *bitmap, int pnum, in test_page_attr()
911 static inline int test_and_clear_page_attr(struct bitmap *bitmap, int pnum, in test_and_clear_page_attr()
924 static void md_bitmap_file_set_bit(struct bitmap *bitmap, sector_t block) in md_bitmap_file_set_bit()
953 static void md_bitmap_file_clear_bit(struct bitmap *bitmap, sector_t block) in md_bitmap_file_clear_bit()
981 static int md_bitmap_file_test_bit(struct bitmap *bitmap, sector_t block) in md_bitmap_file_test_bit()
1006 void md_bitmap_unplug(struct bitmap *bitmap) in md_bitmap_unplug()
1054 static int md_bitmap_init_from_disk(struct bitmap *bitmap, sector_t start) in md_bitmap_init_from_disk()
1178 void md_bitmap_write_all(struct bitmap *bitmap) in md_bitmap_write_all()
1197 static void md_bitmap_count_page(struct bitmap_counts *bitmap, in md_bitmap_count_page()
1206 static void md_bitmap_set_pending(struct bitmap_counts *bitmap, sector_t offset) in md_bitmap_set_pending()
1227 struct bitmap *bitmap; in md_bitmap_daemon_work() local
1350 static bitmap_counter_t *md_bitmap_get_counter(struct bitmap_counts *bitmap, in md_bitmap_get_counter()
1392 int md_bitmap_startwrite(struct bitmap *bitmap, sector_t offset, unsigned long sectors, int behind) in md_bitmap_startwrite()
1456 void md_bitmap_endwrite(struct bitmap *bitmap, sector_t offset, in md_bitmap_endwrite()
1509 static int __bitmap_start_sync(struct bitmap *bitmap, sector_t offset, sector_t *blocks, in __bitmap_start_sync()
1537 int md_bitmap_start_sync(struct bitmap *bitmap, sector_t offset, sector_t *blocks, in md_bitmap_start_sync()
1561 void md_bitmap_end_sync(struct bitmap *bitmap, sector_t offset, sector_t *blocks, int aborted) in md_bitmap_end_sync()
1592 void md_bitmap_close_sync(struct bitmap *bitmap) in md_bitmap_close_sync()
1609 void md_bitmap_cond_end_sync(struct bitmap *bitmap, sector_t sector, bool force) in md_bitmap_cond_end_sync()
1643 struct bitmap *bitmap = mddev->bitmap; in md_bitmap_sync_with_cluster() local
1660 static void md_bitmap_set_memory_bits(struct bitmap *bitmap, sector_t offset, int needed) in md_bitmap_set_memory_bits()
1687 void md_bitmap_dirty_bits(struct bitmap *bitmap, unsigned long s, unsigned long e) in md_bitmap_dirty_bits()
1709 struct bitmap *bitmap = mddev->bitmap; in md_bitmap_flush() local
1731 void md_bitmap_free(struct bitmap *bitmap) in md_bitmap_free()
1769 struct bitmap *bitmap = mddev->bitmap; in md_bitmap_wait_behind_writes() local
1783 struct bitmap *bitmap = mddev->bitmap; in md_bitmap_destroy() local
1810 struct bitmap *bitmap; in md_bitmap_create() local
1900 struct bitmap *bitmap = mddev->bitmap; in md_bitmap_load() local
1957 struct bitmap *bitmap; in get_bitmap_from_slot() local
1984 struct bitmap *bitmap; in md_bitmap_copy_from_slot() local
2024 void md_bitmap_status(struct seq_file *seq, struct bitmap *bitmap) in md_bitmap_status()
2051 int md_bitmap_resize(struct bitmap *bitmap, sector_t blocks, in md_bitmap_resize()
2334 struct bitmap *bitmap; in location_store() local