Lines Matching defs:mddev
166 struct mddev *mddev; /* the md device that the bitmap is for */ member
231 static bool bitmap_enabled(struct mddev *mddev) in bitmap_enabled()
345 static int read_sb_page(struct mddev *mddev, loff_t offset, in read_sb_page()
367 static struct md_rdev *next_active_rdev(struct md_rdev *rdev, struct mddev *mddev) in next_active_rdev()
429 struct mddev *mddev = bitmap->mddev; in __write_sb_page() local
484 struct mddev *mddev = bitmap->mddev; in write_sb_page() local
1293 static void bitmap_unplug(struct mddev *mddev, bool sync) in bitmap_unplug()
1322 struct mddev *mddev = bitmap->mddev; in md_bitmap_init_from_disk() local
1442 static void bitmap_write_all(struct mddev *mddev) in bitmap_write_all()
1482 static void mddev_set_timeout(struct mddev *mddev, unsigned long timeout, in mddev_set_timeout()
1504 static void bitmap_daemon_work(struct mddev *mddev) in bitmap_daemon_work()
1675 static int bitmap_startwrite(struct mddev *mddev, sector_t offset, in bitmap_startwrite()
1730 static void bitmap_endwrite(struct mddev *mddev, sector_t offset, in bitmap_endwrite()
1809 static bool bitmap_start_sync(struct mddev *mddev, sector_t offset, in bitmap_start_sync()
1864 static void bitmap_end_sync(struct mddev *mddev, sector_t offset, in bitmap_end_sync()
1870 static void bitmap_close_sync(struct mddev *mddev) in bitmap_close_sync()
1889 static void bitmap_cond_end_sync(struct mddev *mddev, sector_t sector, in bitmap_cond_end_sync()
1920 static void bitmap_sync_with_cluster(struct mddev *mddev, in bitmap_sync_with_cluster()
1967 static void bitmap_dirty_bits(struct mddev *mddev, unsigned long s, in bitmap_dirty_bits()
1990 static void bitmap_flush(struct mddev *mddev) in bitmap_flush()
2049 static void bitmap_start_behind_write(struct mddev *mddev) in bitmap_start_behind_write()
2066 static void bitmap_end_behind_write(struct mddev *mddev) in bitmap_end_behind_write()
2080 static void bitmap_wait_behind_writes(struct mddev *mddev) in bitmap_wait_behind_writes()
2094 static void bitmap_destroy(struct mddev *mddev) in bitmap_destroy()
2120 static struct bitmap *__bitmap_create(struct mddev *mddev, int slot) in __bitmap_create()
2208 static int bitmap_create(struct mddev *mddev, int slot) in bitmap_create()
2219 static int bitmap_load(struct mddev *mddev) in bitmap_load()
2277 static void *bitmap_get_from_slot(struct mddev *mddev, int slot) in bitmap_get_from_slot()
2300 static int bitmap_copy_from_slot(struct mddev *mddev, int slot, sector_t *low, in bitmap_copy_from_slot()
2588 static int bitmap_resize(struct mddev *mddev, sector_t blocks, int chunksize, in bitmap_resize()
2600 location_show(struct mddev *mddev, char *page) in location_show()
2614 location_store(struct mddev *mddev, const char *buf, size_t len) in location_store()
2708 space_show(struct mddev *mddev, char *page) in space_show()
2714 space_store(struct mddev *mddev, const char *buf, size_t len) in space_store()
2742 timeout_show(struct mddev *mddev, char *page) in timeout_show()
2756 timeout_store(struct mddev *mddev, const char *buf, size_t len) in timeout_store()
2786 backlog_show(struct mddev *mddev, char *page) in backlog_show()
2792 backlog_store(struct mddev *mddev, const char *buf, size_t len) in backlog_store()
2846 chunksize_show(struct mddev *mddev, char *page) in chunksize_show()
2852 chunksize_store(struct mddev *mddev, const char *buf, size_t len) in chunksize_store()
2875 static ssize_t metadata_show(struct mddev *mddev, char *page) in metadata_show()
2883 static ssize_t metadata_store(struct mddev *mddev, const char *buf, size_t len) in metadata_store()
2902 static ssize_t can_clear_show(struct mddev *mddev, char *page) in can_clear_show()
2918 static ssize_t can_clear_store(struct mddev *mddev, const char *buf, size_t len) in can_clear_store()
2944 behind_writes_used_show(struct mddev *mddev, char *page) in behind_writes_used_show()
2961 behind_writes_used_reset(struct mddev *mddev, const char *buf, size_t len) in behind_writes_used_reset()
3023 void mddev_set_bitmap_ops(struct mddev *mddev) in mddev_set_bitmap_ops()