Lines Matching defs:mddev

164 	struct mddev *mddev; /* the md device that the bitmap is for */  member
229 static bool bitmap_enabled(struct mddev *mddev) in bitmap_enabled()
343 static int read_sb_page(struct mddev *mddev, loff_t offset, in read_sb_page()
365 static struct md_rdev *next_active_rdev(struct md_rdev *rdev, struct mddev *mddev) in next_active_rdev()
427 struct mddev *mddev = bitmap->mddev; in __write_sb_page() local
482 struct mddev *mddev = bitmap->mddev; in write_sb_page() local
1291 static void bitmap_unplug(struct mddev *mddev, bool sync) in bitmap_unplug()
1320 struct mddev *mddev = bitmap->mddev; in md_bitmap_init_from_disk() local
1440 static void bitmap_write_all(struct mddev *mddev) in bitmap_write_all()
1480 static void mddev_set_timeout(struct mddev *mddev, unsigned long timeout, in mddev_set_timeout()
1502 static void bitmap_daemon_work(struct mddev *mddev) in bitmap_daemon_work()
1673 static int bitmap_startwrite(struct mddev *mddev, sector_t offset, in bitmap_startwrite()
1728 static void bitmap_endwrite(struct mddev *mddev, sector_t offset, in bitmap_endwrite()
1807 static bool bitmap_start_sync(struct mddev *mddev, sector_t offset, in bitmap_start_sync()
1862 static void bitmap_end_sync(struct mddev *mddev, sector_t offset, in bitmap_end_sync()
1868 static void bitmap_close_sync(struct mddev *mddev) in bitmap_close_sync()
1887 static void bitmap_cond_end_sync(struct mddev *mddev, sector_t sector, in bitmap_cond_end_sync()
1918 static void bitmap_sync_with_cluster(struct mddev *mddev, in bitmap_sync_with_cluster()
1965 static void bitmap_dirty_bits(struct mddev *mddev, unsigned long s, in bitmap_dirty_bits()
1988 static void bitmap_flush(struct mddev *mddev) in bitmap_flush()
2047 static void bitmap_start_behind_write(struct mddev *mddev) in bitmap_start_behind_write()
2064 static void bitmap_end_behind_write(struct mddev *mddev) in bitmap_end_behind_write()
2078 static void bitmap_wait_behind_writes(struct mddev *mddev) in bitmap_wait_behind_writes()
2092 static void bitmap_destroy(struct mddev *mddev) in bitmap_destroy()
2118 static struct bitmap *__bitmap_create(struct mddev *mddev, int slot) in __bitmap_create()
2206 static int bitmap_create(struct mddev *mddev, int slot) in bitmap_create()
2217 static int bitmap_load(struct mddev *mddev) in bitmap_load()
2275 static void *bitmap_get_from_slot(struct mddev *mddev, int slot) in bitmap_get_from_slot()
2298 static int bitmap_copy_from_slot(struct mddev *mddev, int slot, sector_t *low, in bitmap_copy_from_slot()
2586 static int bitmap_resize(struct mddev *mddev, sector_t blocks, int chunksize, in bitmap_resize()
2598 location_show(struct mddev *mddev, char *page) in location_show()
2612 location_store(struct mddev *mddev, const char *buf, size_t len) in location_store()
2706 space_show(struct mddev *mddev, char *page) in space_show()
2712 space_store(struct mddev *mddev, const char *buf, size_t len) in space_store()
2740 timeout_show(struct mddev *mddev, char *page) in timeout_show()
2754 timeout_store(struct mddev *mddev, const char *buf, size_t len) in timeout_store()
2784 backlog_show(struct mddev *mddev, char *page) in backlog_show()
2790 backlog_store(struct mddev *mddev, const char *buf, size_t len) in backlog_store()
2844 chunksize_show(struct mddev *mddev, char *page) in chunksize_show()
2850 chunksize_store(struct mddev *mddev, const char *buf, size_t len) in chunksize_store()
2873 static ssize_t metadata_show(struct mddev *mddev, char *page) in metadata_show()
2881 static ssize_t metadata_store(struct mddev *mddev, const char *buf, size_t len) in metadata_store()
2900 static ssize_t can_clear_show(struct mddev *mddev, char *page) in can_clear_show()
2916 static ssize_t can_clear_store(struct mddev *mddev, const char *buf, size_t len) in can_clear_store()
2942 behind_writes_used_show(struct mddev *mddev, char *page) in behind_writes_used_show()
2959 behind_writes_used_reset(struct mddev *mddev, const char *buf, size_t len) in behind_writes_used_reset()
3021 void mddev_set_bitmap_ops(struct mddev *mddev) in mddev_set_bitmap_ops()