Lines Matching defs:mddev
176 struct mddev *mddev; /* the md device that the bitmap is for */ member
241 static bool bitmap_enabled(struct mddev *mddev) in bitmap_enabled()
355 static int read_sb_page(struct mddev *mddev, loff_t offset, in read_sb_page()
377 static struct md_rdev *next_active_rdev(struct md_rdev *rdev, struct mddev *mddev) in next_active_rdev()
439 struct mddev *mddev = bitmap->mddev; in __write_sb_page() local
494 struct mddev *mddev = bitmap->mddev; in write_sb_page() local
1303 static void bitmap_unplug(struct mddev *mddev, bool sync) in bitmap_unplug()
1332 struct mddev *mddev = bitmap->mddev; in md_bitmap_init_from_disk() local
1452 static void bitmap_write_all(struct mddev *mddev) in bitmap_write_all()
1492 static void mddev_set_timeout(struct mddev *mddev, unsigned long timeout, in mddev_set_timeout()
1514 static void bitmap_daemon_work(struct mddev *mddev) in bitmap_daemon_work()
1685 static void bitmap_start_write(struct mddev *mddev, sector_t offset, in bitmap_start_write()
1739 static void bitmap_end_write(struct mddev *mddev, sector_t offset, in bitmap_end_write()
1818 static bool bitmap_start_sync(struct mddev *mddev, sector_t offset, in bitmap_start_sync()
1873 static void bitmap_end_sync(struct mddev *mddev, sector_t offset, in bitmap_end_sync()
1879 static void bitmap_close_sync(struct mddev *mddev) in bitmap_close_sync()
1898 static void bitmap_cond_end_sync(struct mddev *mddev, sector_t sector, in bitmap_cond_end_sync()
1929 static void bitmap_sync_with_cluster(struct mddev *mddev, in bitmap_sync_with_cluster()
1976 static void bitmap_dirty_bits(struct mddev *mddev, unsigned long s, in bitmap_dirty_bits()
1999 static void bitmap_flush(struct mddev *mddev) in bitmap_flush()
2058 static void bitmap_start_behind_write(struct mddev *mddev) in bitmap_start_behind_write()
2075 static void bitmap_end_behind_write(struct mddev *mddev) in bitmap_end_behind_write()
2089 static void bitmap_wait_behind_writes(struct mddev *mddev) in bitmap_wait_behind_writes()
2103 static void bitmap_destroy(struct mddev *mddev) in bitmap_destroy()
2129 static struct bitmap *__bitmap_create(struct mddev *mddev, int slot) in __bitmap_create()
2217 static int bitmap_create(struct mddev *mddev) in bitmap_create()
2228 static int bitmap_load(struct mddev *mddev) in bitmap_load()
2286 static void *bitmap_get_from_slot(struct mddev *mddev, int slot) in bitmap_get_from_slot()
2309 static int bitmap_copy_from_slot(struct mddev *mddev, int slot, sector_t *low, in bitmap_copy_from_slot()
2596 static int bitmap_resize(struct mddev *mddev, sector_t blocks, int chunksize, in bitmap_resize()
2608 location_show(struct mddev *mddev, char *page) in location_show()
2622 location_store(struct mddev *mddev, const char *buf, size_t len) in location_store()
2716 space_show(struct mddev *mddev, char *page) in space_show()
2722 space_store(struct mddev *mddev, const char *buf, size_t len) in space_store()
2750 timeout_show(struct mddev *mddev, char *page) in timeout_show()
2764 timeout_store(struct mddev *mddev, const char *buf, size_t len) in timeout_store()
2794 backlog_show(struct mddev *mddev, char *page) in backlog_show()
2800 backlog_store(struct mddev *mddev, const char *buf, size_t len) in backlog_store()
2854 chunksize_show(struct mddev *mddev, char *page) in chunksize_show()
2860 chunksize_store(struct mddev *mddev, const char *buf, size_t len) in chunksize_store()
2883 static ssize_t metadata_show(struct mddev *mddev, char *page) in metadata_show()
2891 static ssize_t metadata_store(struct mddev *mddev, const char *buf, size_t len) in metadata_store()
2910 static ssize_t can_clear_show(struct mddev *mddev, char *page) in can_clear_show()
2926 static ssize_t can_clear_store(struct mddev *mddev, const char *buf, size_t len) in can_clear_store()
2952 behind_writes_used_show(struct mddev *mddev, char *page) in behind_writes_used_show()
2969 behind_writes_used_reset(struct mddev *mddev, const char *buf, size_t len) in behind_writes_used_reset()
3031 void mddev_set_bitmap_ops(struct mddev *mddev) in mddev_set_bitmap_ops()