• Home
  • Raw
  • Download

Lines Matching defs:mddev

102 static bool md_is_rdwr(struct mddev *mddev)  in md_is_rdwr()
130 static inline int speed_min(struct mddev *mddev) in speed_min()
136 static inline int speed_max(struct mddev *mddev) in speed_max()
151 static void rdevs_uninit_serial(struct mddev *mddev) in rdevs_uninit_serial()
187 static int rdevs_init_serial(struct mddev *mddev) in rdevs_init_serial()
222 void mddev_create_serial_pool(struct mddev *mddev, struct md_rdev *rdev, in mddev_create_serial_pool()
266 void mddev_destroy_serial_pool(struct mddev *mddev, struct md_rdev *rdev, in mddev_destroy_serial_pool()
368 void md_new_event(struct mddev *mddev) in md_new_event()
411 static bool is_suspended(struct mddev *mddev, struct bio *bio) in is_suspended()
426 void md_handle_request(struct mddev *mddev, struct bio *bio) in md_handle_request()
460 struct mddev *mddev = bio->bi_bdev->bd_disk->private_data; in md_submit_bio() local
497 void mddev_suspend(struct mddev *mddev) in mddev_suspend()
518 void mddev_resume(struct mddev *mddev) in mddev_resume()
541 struct mddev *mddev = rdev->mddev; in md_end_flush() local
557 struct mddev *mddev = container_of(ws, struct mddev, flush_work); in submit_flushes() local
592 struct mddev *mddev = container_of(ws, struct mddev, flush_work); in md_submit_flush_data() local
622 bool md_flush_request(struct mddev *mddev, struct bio *bio) in md_flush_request()
658 static inline struct mddev *mddev_get(struct mddev *mddev) in mddev_get()
666 static void mddev_put(struct mddev *mddev) in mddev_put()
689 void mddev_init(struct mddev *mddev) in mddev_init()
716 struct mddev *mddev; in mddev_find_locked() local
748 struct mddev *mddev; in mddev_find() local
806 void mddev_unlock(struct mddev *mddev) in mddev_unlock()
857 struct md_rdev *md_find_rdev_nr_rcu(struct mddev *mddev, int nr) in md_find_rdev_nr_rcu()
869 static struct md_rdev *find_rdev(struct mddev *mddev, dev_t dev) in find_rdev()
880 struct md_rdev *md_find_rdev_rcu(struct mddev *mddev, dev_t dev) in md_find_rdev_rcu()
939 struct mddev *mddev = rdev->mddev; in super_written() local
961 void md_super_write(struct mddev *mddev, struct md_rdev *rdev, in md_super_write()
999 int md_super_wait(struct mddev *mddev) in md_super_wait()
1183 int md_check_no_bitmap(struct mddev *mddev) in md_check_no_bitmap()
1306 static int super_90_validate(struct mddev *mddev, struct md_rdev *freshest, struct md_rdev *rdev) in super_90_validate()
1435 static void super_90_sync(struct mddev *mddev, struct md_rdev *rdev) in super_90_sync()
1821 static int super_1_validate(struct mddev *mddev, struct md_rdev *freshest, struct md_rdev *rdev) in super_1_validate()
2026 static void super_1_sync(struct mddev *mddev, struct md_rdev *rdev) in super_1_sync()
2316 static void sync_super(struct mddev *mddev, struct md_rdev *rdev) in sync_super()
2362 int md_integrity_register(struct mddev *mddev) in md_integrity_register()
2417 int md_integrity_add_rdev(struct md_rdev *rdev, struct mddev *mddev) in md_integrity_add_rdev()
2446 static int bind_rdev_to_array(struct md_rdev *rdev, struct mddev *mddev) in bind_rdev_to_array()
2617 static void export_array(struct mddev *mddev) in export_array()
2630 static bool set_in_sync(struct mddev *mddev) in set_in_sync()
2657 static void sync_sbs(struct mddev *mddev, int nospares) in sync_sbs()
2680 static bool does_sb_need_changing(struct mddev *mddev) in does_sb_need_changing()
2721 void md_update_sb(struct mddev *mddev, int force_change) in md_update_sb()
2917 struct mddev *mddev = rdev->mddev; in add_bound_rdev() local
3035 struct mddev *mddev = rdev->mddev; in state_store() local
3350 struct mddev *mddev = rdev->mddev; in new_offset_store() local
3470 struct mddev *mddev; in rdev_size_store() local
3688 struct mddev *mddev = rdev->mddev; in rdev_attr_store() local
3818 static int analyze_sbs(struct mddev *mddev) in analyze_sbs()
3920 safe_delay_show(struct mddev *mddev, char *page) in safe_delay_show()
3927 safe_delay_store(struct mddev *mddev, const char *cbuf, size_t len) in safe_delay_store()
3956 level_show(struct mddev *mddev, char *page) in level_show()
3975 level_store(struct mddev *mddev, const char *buf, size_t len) in level_store()
4182 layout_show(struct mddev *mddev, char *page) in layout_show()
4193 layout_store(struct mddev *mddev, const char *buf, size_t len) in layout_store()
4228 raid_disks_show(struct mddev *mddev, char *page) in raid_disks_show()
4242 raid_disks_store(struct mddev *mddev, const char *buf, size_t len) in raid_disks_store()
4283 uuid_show(struct mddev *mddev, char *page) in uuid_show()
4291 chunk_size_show(struct mddev *mddev, char *page) in chunk_size_show()
4302 chunk_size_store(struct mddev *mddev, const char *buf, size_t len) in chunk_size_store()
4337 resync_start_show(struct mddev *mddev, char *page) in resync_start_show()
4345 resync_start_store(struct mddev *mddev, const char *buf, size_t len) in resync_start_store()
4434 array_state_show(struct mddev *mddev, char *page) in array_state_show()
4477 array_state_store(struct mddev *mddev, const char *buf, size_t len) in array_state_store()
4592 max_corrected_read_errors_show(struct mddev *mddev, char *page) { in max_corrected_read_errors_show()
4598 max_corrected_read_errors_store(struct mddev *mddev, const char *buf, size_t len) in max_corrected_read_errors_store()
4617 null_show(struct mddev *mddev, char *page) in null_show()
4623 static void flush_rdev_wq(struct mddev *mddev) in flush_rdev_wq()
4637 new_dev_store(struct mddev *mddev, const char *buf, size_t len) in new_dev_store()
4702 bitmap_store(struct mddev *mddev, const char *buf, size_t len) in bitmap_store()
4736 size_show(struct mddev *mddev, char *page) in size_show()
4745 size_store(struct mddev *mddev, const char *buf, size_t len) in size_store()
4784 metadata_show(struct mddev *mddev, char *page) in metadata_show()
4796 metadata_store(struct mddev *mddev, const char *buf, size_t len) in metadata_store()
4862 action_show(struct mddev *mddev, char *page) in action_show()
4888 action_store(struct mddev *mddev, const char *page, size_t len) in action_store()
4969 last_sync_action_show(struct mddev *mddev, char *page) in last_sync_action_show()
4977 mismatch_cnt_show(struct mddev *mddev, char *page) in mismatch_cnt_show()
4987 sync_min_show(struct mddev *mddev, char *page) in sync_min_show()
4994 sync_min_store(struct mddev *mddev, const char *buf, size_t len) in sync_min_store()
5016 sync_max_show(struct mddev *mddev, char *page) in sync_max_show()
5023 sync_max_store(struct mddev *mddev, const char *buf, size_t len) in sync_max_store()
5045 degraded_show(struct mddev *mddev, char *page) in degraded_show()
5052 sync_force_parallel_show(struct mddev *mddev, char *page) in sync_force_parallel_show()
5058 sync_force_parallel_store(struct mddev *mddev, const char *buf, size_t len) in sync_force_parallel_store()
5082 sync_speed_show(struct mddev *mddev, char *page) in sync_speed_show()
5097 sync_completed_show(struct mddev *mddev, char *page) in sync_completed_show()
5122 min_sync_show(struct mddev *mddev, char *page) in min_sync_show()
5128 min_sync_store(struct mddev *mddev, const char *buf, size_t len) in min_sync_store()
5158 max_sync_show(struct mddev *mddev, char *page) in max_sync_show()
5167 max_sync_store(struct mddev *mddev, const char *buf, size_t len) in max_sync_store()
5210 suspend_lo_show(struct mddev *mddev, char *page) in suspend_lo_show()
5216 suspend_lo_store(struct mddev *mddev, const char *buf, size_t len) in suspend_lo_store()
5247 suspend_hi_show(struct mddev *mddev, char *page) in suspend_hi_show()
5253 suspend_hi_store(struct mddev *mddev, const char *buf, size_t len) in suspend_hi_store()
5284 reshape_position_show(struct mddev *mddev, char *page) in reshape_position_show()
5294 reshape_position_store(struct mddev *mddev, const char *buf, size_t len) in reshape_position_store()
5330 reshape_direction_show(struct mddev *mddev, char *page) in reshape_direction_show()
5337 reshape_direction_store(struct mddev *mddev, const char *buf, size_t len) in reshape_direction_store()
5371 array_size_show(struct mddev *mddev, char *page) in array_size_show()
5381 array_size_store(struct mddev *mddev, const char *buf, size_t len) in array_size_store()
5427 consistency_policy_show(struct mddev *mddev, char *page) in consistency_policy_show()
5450 consistency_policy_store(struct mddev *mddev, const char *buf, size_t len) in consistency_policy_store()
5472 static ssize_t fail_last_dev_show(struct mddev *mddev, char *page) in fail_last_dev_show()
5482 fail_last_dev_store(struct mddev *mddev, const char *buf, size_t len) in fail_last_dev_store()
5500 static ssize_t serialize_policy_show(struct mddev *mddev, char *page) in serialize_policy_show()
5513 serialize_policy_store(struct mddev *mddev, const char *buf, size_t len) in serialize_policy_store()
5599 struct mddev *mddev = container_of(kobj, struct mddev, kobj); in md_attr_show() local
5622 struct mddev *mddev = container_of(kobj, struct mddev, kobj); in md_attr_store() local
5643 struct mddev *mddev = container_of(ko, struct mddev, kobj); in md_free() local
5675 struct mddev *mddev = container_of(ws, struct mddev, del_work); in mddev_delayed_delete() local
5684 int mddev_init_writes_pending(struct mddev *mddev) in mddev_init_writes_pending()
5709 struct mddev *mddev; in md_alloc() local
5846 struct mddev *mddev = from_timer(mddev, t, safemode_timer); in md_safemode_timeout() local
5857 int md_run(struct mddev *mddev) in md_run()
6127 int do_md_run(struct mddev *mddev) in do_md_run()
6162 int md_start(struct mddev *mddev) in md_start()
6177 static int restart_array(struct mddev *mddev) in restart_array()
6219 static void md_clean(struct mddev *mddev) in md_clean()
6268 static void __md_stop_writes(struct mddev *mddev) in __md_stop_writes()
6299 void md_stop_writes(struct mddev *mddev) in md_stop_writes()
6307 static void mddev_detach(struct mddev *mddev) in mddev_detach()
6319 static void __md_stop(struct mddev *mddev) in __md_stop()
6338 void md_stop(struct mddev *mddev) in md_stop()
6353 static int md_set_readonly(struct mddev *mddev, struct block_device *bdev) in md_set_readonly()
6417 static int do_md_stop(struct mddev *mddev, int mode, in do_md_stop()
6505 static void autorun_array(struct mddev *mddev) in autorun_array()
6543 struct mddev *mddev; in autorun_devices() local
6631 static int get_array_info(struct mddev *mddev, void __user *arg) in get_array_info()
6691 static int get_bitmap_file(struct mddev *mddev, void __user * arg) in get_bitmap_file()
6723 static int get_disk_info(struct mddev *mddev, void __user * arg) in get_disk_info()
6763 int md_add_new_disk(struct mddev *mddev, struct mdu_disk_info_s *info) in md_add_new_disk()
6970 static int hot_remove_disk(struct mddev *mddev, dev_t dev) in hot_remove_disk()
7012 static int hot_add_disk(struct mddev *mddev, dev_t dev) in hot_add_disk()
7084 static int set_bitmap_file(struct mddev *mddev, int fd) in set_bitmap_file()
7181 int md_set_array_info(struct mddev *mddev, struct mdu_array_info_s *info) in md_set_array_info()
7255 void md_set_array_sectors(struct mddev *mddev, sector_t array_sectors) in md_set_array_sectors()
7266 static int update_size(struct mddev *mddev, sector_t num_sectors) in update_size()
7310 static int update_raid_disks(struct mddev *mddev, int raid_disks) in update_raid_disks()
7359 static int update_array_info(struct mddev *mddev, mdu_array_info_t *info) in update_array_info()
7486 static int set_disk_faulty(struct mddev *mddev, dev_t dev) in set_disk_faulty()
7515 struct mddev *mddev = bdev->bd_disk->private_data; in md_getgeo() local
7552 struct mddev *mddev = NULL; in md_ioctl() local
7829 struct mddev *mddev = bdev->bd_disk->private_data; in md_set_read_only() local
7863 struct mddev *mddev = mddev_find(bdev->bd_dev); in md_open() local
7903 struct mddev *mddev = disk->private_data; in md_release() local
7912 struct mddev *mddev = disk->private_data; in md_check_events() local
7990 struct mddev *mddev, const char *name) in md_register_thread()
8038 void md_error(struct mddev *mddev, struct md_rdev *rdev) in md_error()
8085 static int status_resync(struct seq_file *seq, struct mddev *mddev) in status_resync()
8217 struct mddev *mddev; in md_seq_start() local
8246 struct mddev *next_mddev, *mddev = v; in md_seq_next() local
8273 struct mddev *mddev = v; in md_seq_stop() local
8281 struct mddev *mddev = v; in md_seq_show() local
8470 int md_setup_cluster(struct mddev *mddev, int nodes) in md_setup_cluster()
8490 void md_cluster_stop(struct mddev *mddev) in md_cluster_stop()
8498 static int is_mddev_idle(struct mddev *mddev, int init) in is_mddev_idle()
8541 void md_done_sync(struct mddev *mddev, int blocks, int ok) in md_done_sync()
8562 bool md_write_start(struct mddev *mddev, struct bio *bi) in md_write_start()
8619 void md_write_inc(struct mddev *mddev, struct bio *bi) in md_write_inc()
8628 void md_write_end(struct mddev *mddev) in md_write_end()
8646 void md_submit_discard_bio(struct mddev *mddev, struct md_rdev *rdev, in md_submit_discard_bio()
8665 int acct_bioset_init(struct mddev *mddev) in acct_bioset_init()
8676 void acct_bioset_exit(struct mddev *mddev) in acct_bioset_exit()
8699 void md_account_bio(struct mddev *mddev, struct bio **bio) in md_account_bio()
8724 void md_allow_write(struct mddev *mddev) in md_allow_write()
8757 struct mddev *mddev = thread->mddev; in md_do_sync() local
9174 static int remove_and_add_spares(struct mddev *mddev, in remove_and_add_spares()
9269 struct mddev *mddev = container_of(ws, struct mddev, del_work); in md_start_sync() local
9316 void md_check_recovery(struct mddev *mddev) in md_check_recovery()
9495 void md_reap_sync_thread(struct mddev *mddev) in md_reap_sync_thread()
9558 void md_wait_for_blocked_rdev(struct md_rdev *rdev, struct mddev *mddev) in md_wait_for_blocked_rdev()
9569 void md_finish_reshape(struct mddev *mddev) in md_finish_reshape()
9590 struct mddev *mddev = rdev->mddev; in rdev_set_badblocks() local
9630 struct mddev *mddev; in md_notify_reboot() local
9711 static void check_sb_changes(struct mddev *mddev, struct md_rdev *rdev) in check_sb_changes()
9810 static int read_rdev(struct mddev *mddev, struct md_rdev *rdev) in read_rdev()
9857 void md_reload_sb(struct mddev *mddev, int nr) in md_reload_sb()
9960 struct mddev *mddev; in md_exit() local