Lines Matching defs:bitmap
33 static inline char *bmname(struct bitmap *bitmap) in bmname()
48 static int bitmap_checkpage(struct bitmap_counts *bitmap, in bitmap_checkpage()
115 static void bitmap_checkfree(struct bitmap_counts *bitmap, unsigned long page) in bitmap_checkfree()
207 static int write_sb_page(struct bitmap *bitmap, struct page *page, int wait) in write_sb_page()
285 static void write_page(struct bitmap *bitmap, struct page *page, int wait) in write_page()
316 struct bitmap *bitmap = bh->b_private; in end_bitmap_write() local
357 struct bitmap *bitmap, in read_page()
422 void bitmap_update_sb(struct bitmap *bitmap) in bitmap_update_sb()
453 void bitmap_print_sb(struct bitmap *bitmap) in bitmap_print_sb()
492 static int bitmap_new_disk_sb(struct bitmap *bitmap) in bitmap_new_disk_sb()
552 static int bitmap_read_sb(struct bitmap *bitmap) in bitmap_read_sb()
840 static void bitmap_file_kick(struct bitmap *bitmap) in bitmap_file_kick()
872 static inline void set_page_attr(struct bitmap *bitmap, int pnum, in set_page_attr()
878 static inline void clear_page_attr(struct bitmap *bitmap, int pnum, in clear_page_attr()
884 static inline int test_page_attr(struct bitmap *bitmap, int pnum, in test_page_attr()
890 static inline int test_and_clear_page_attr(struct bitmap *bitmap, int pnum, in test_and_clear_page_attr()
903 static void bitmap_file_set_bit(struct bitmap *bitmap, sector_t block) in bitmap_file_set_bit()
927 static void bitmap_file_clear_bit(struct bitmap *bitmap, sector_t block) in bitmap_file_clear_bit()
950 static int bitmap_file_test_bit(struct bitmap *bitmap, sector_t block) in bitmap_file_test_bit()
975 void bitmap_unplug(struct bitmap *bitmap) in bitmap_unplug()
1020 static int bitmap_init_from_disk(struct bitmap *bitmap, sector_t start) in bitmap_init_from_disk()
1146 void bitmap_write_all(struct bitmap *bitmap) in bitmap_write_all()
1165 static void bitmap_count_page(struct bitmap_counts *bitmap, in bitmap_count_page()
1174 static void bitmap_set_pending(struct bitmap_counts *bitmap, sector_t offset) in bitmap_set_pending()
1195 struct bitmap *bitmap; in bitmap_daemon_work() local
1314 static bitmap_counter_t *bitmap_get_counter(struct bitmap_counts *bitmap, in bitmap_get_counter()
1356 int bitmap_startwrite(struct bitmap *bitmap, sector_t offset, unsigned long sectors, int behind) in bitmap_startwrite()
1420 void bitmap_endwrite(struct bitmap *bitmap, sector_t offset, unsigned long sectors, in bitmap_endwrite()
1473 static int __bitmap_start_sync(struct bitmap *bitmap, sector_t offset, sector_t *blocks, in __bitmap_start_sync()
1501 int bitmap_start_sync(struct bitmap *bitmap, sector_t offset, sector_t *blocks, in bitmap_start_sync()
1525 void bitmap_end_sync(struct bitmap *bitmap, sector_t offset, sector_t *blocks, int aborted) in bitmap_end_sync()
1556 void bitmap_close_sync(struct bitmap *bitmap) in bitmap_close_sync()
1573 void bitmap_cond_end_sync(struct bitmap *bitmap, sector_t sector, bool force) in bitmap_cond_end_sync()
1603 static void bitmap_set_memory_bits(struct bitmap *bitmap, sector_t offset, int needed) in bitmap_set_memory_bits()
1630 void bitmap_dirty_bits(struct bitmap *bitmap, unsigned long s, unsigned long e) in bitmap_dirty_bits()
1652 struct bitmap *bitmap = mddev->bitmap; in bitmap_flush() local
1674 static void bitmap_free(struct bitmap *bitmap) in bitmap_free()
1708 struct bitmap *bitmap = mddev->bitmap; in bitmap_destroy() local
1733 struct bitmap *bitmap; in bitmap_create() local
1817 struct bitmap *bitmap = mddev->bitmap; in bitmap_load() local
1872 struct bitmap *bitmap = bitmap_create(mddev, slot); in bitmap_copy_from_slot() local
1913 void bitmap_status(struct seq_file *seq, struct bitmap *bitmap) in bitmap_status()
1940 int bitmap_resize(struct bitmap *bitmap, sector_t blocks, in bitmap_resize()
2171 struct bitmap *bitmap; in location_store() local