Home
last modified time | relevance | path

Searched refs:mddev (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/md/
H A Dmd.c98 static int remove_and_add_spares(struct mddev *mddev,
100 static void mddev_detach(struct mddev *mddev);
101 static void export_rdev(struct md_rdev *rdev, struct mddev *mddev);
124 * a) if mddev is idle, then no limit;
125 * b) if mddev is busy handling normal IO, then limit inflight sync IO
137 static int speed_min(struct mddev *mddev) in speed_min() argument
143 speed_max(struct mddev * mddev) speed_max() argument
149 sync_io_depth(struct mddev * mddev) sync_io_depth() argument
164 rdevs_uninit_serial(struct mddev * mddev) rdevs_uninit_serial() argument
200 rdevs_init_serial(struct mddev * mddev) rdevs_init_serial() argument
235 mddev_create_serial_pool(struct mddev * mddev,struct md_rdev * rdev) mddev_create_serial_pool() argument
271 mddev_destroy_serial_pool(struct mddev * mddev,struct md_rdev * rdev) mddev_destroy_serial_pool() argument
370 is_md_suspended(struct mddev * mddev) is_md_suspended() argument
381 is_suspended(struct mddev * mddev,struct bio * bio) is_suspended() argument
396 md_handle_request(struct mddev * mddev,struct bio * bio) md_handle_request() argument
433 struct mddev *mddev = bio->bi_bdev->bd_disk->private_data; md_submit_bio() local
466 mddev_suspend(struct mddev * mddev,bool interruptible) mddev_suspend() argument
518 __mddev_resume(struct mddev * mddev,bool recovery_needed) __mddev_resume() argument
543 mddev_resume(struct mddev * mddev) mddev_resume() argument
550 mddev_set_closing_and_sync_blockdev(struct mddev * mddev,int opener_num) mddev_set_closing_and_sync_blockdev() argument
587 md_flush_request(struct mddev * mddev,struct bio * bio) md_flush_request() argument
622 mddev_get(struct mddev * mddev) mddev_get() argument
634 __mddev_put(struct mddev * mddev) __mddev_put() argument
653 mddev_put_locked(struct mddev * mddev) mddev_put_locked() argument
659 mddev_put(struct mddev * mddev) mddev_put() argument
673 struct mddev *mddev = container_of(ref, struct mddev, active_io); active_io_release() local
680 mddev_set_bitmap_ops(struct mddev * mddev) mddev_set_bitmap_ops() argument
723 mddev_clear_bitmap_ops(struct mddev * mddev) mddev_clear_bitmap_ops() argument
732 mddev_init(struct mddev * mddev) mddev_init() argument
805 mddev_destroy(struct mddev * mddev) mddev_destroy() argument
817 struct mddev *mddev; mddev_find_locked() local
895 mddev_free(struct mddev * mddev) mddev_free() argument
907 mddev_unlock(struct mddev * mddev) mddev_unlock() argument
982 md_find_rdev_nr_rcu(struct mddev * mddev,int nr) md_find_rdev_nr_rcu() argument
994 find_rdev(struct mddev * mddev,dev_t dev) find_rdev() argument
1005 md_find_rdev_rcu(struct mddev * mddev,dev_t dev) md_find_rdev_rcu() argument
1087 struct mddev *mddev = rdev->mddev; super_written() local
1125 md_write_metadata(struct mddev * mddev,struct md_rdev * rdev,sector_t sector,int size,struct page * page,unsigned int offset) md_write_metadata() argument
1159 md_super_wait(struct mddev * mddev) md_super_wait() argument
1339 md_check_no_bitmap(struct mddev * mddev) md_check_no_bitmap() argument
1451 md_bitmap_events_cleared(struct mddev * mddev) md_bitmap_events_cleared() argument
1470 super_90_validate(struct mddev * mddev,struct md_rdev * freshest,struct md_rdev * rdev) super_90_validate() argument
1596 super_90_sync(struct mddev * mddev,struct md_rdev * rdev) super_90_sync() argument
1978 super_1_validate(struct mddev * mddev,struct md_rdev * freshest,struct md_rdev * rdev) super_1_validate() argument
2184 super_1_sync(struct mddev * mddev,struct md_rdev * rdev) super_1_sync() argument
2424 struct mddev *mddev = rdev->mddev; super_1_allow_new_offset() local
2481 sync_super(struct mddev * mddev,struct md_rdev * rdev) sync_super() argument
2527 md_integrity_register(struct mddev * mddev) md_integrity_register() argument
2545 bind_rdev_to_array(struct md_rdev * rdev,struct mddev * mddev) bind_rdev_to_array() argument
2637 export_rdev(struct md_rdev * rdev,struct mddev * mddev) export_rdev() argument
2652 struct mddev *mddev = rdev->mddev; md_kick_rdev_from_array() local
2678 export_array(struct mddev * mddev) export_array() argument
2691 set_in_sync(struct mddev * mddev) set_in_sync() argument
2718 sync_sbs(struct mddev * mddev,int nospares) sync_sbs() argument
2741 does_sb_need_changing(struct mddev * mddev) does_sb_need_changing() argument
2782 md_update_sb(struct mddev * mddev,int force_change) md_update_sb() argument
2972 struct mddev *mddev = rdev->mddev; add_bound_rdev() local
3085 struct mddev *mddev = rdev->mddev; state_store() local
3395 struct mddev *mddev = rdev->mddev; new_offset_store() local
3460 struct mddev *mddev; md_rdev_overlaps() local
3731 struct mddev *mddev = READ_ONCE(rdev->mddev); rdev_attr_store() local
3885 analyze_sbs(struct mddev * mddev) analyze_sbs() argument
3978 safe_delay_show(struct mddev * mddev,char * page) safe_delay_show() argument
3985 safe_delay_store(struct mddev * mddev,const char * cbuf,size_t len) safe_delay_store() argument
4014 level_show(struct mddev * mddev,char * page) level_show() argument
4033 level_store(struct mddev * mddev,const char * buf,size_t len) level_store() argument
4232 new_level_show(struct mddev * mddev,char * page) new_level_show() argument
4238 new_level_store(struct mddev * mddev,const char * buf,size_t len) new_level_store() argument
4260 bitmap_type_show(struct mddev * mddev,char * page) bitmap_type_show() argument
4288 bitmap_type_store(struct mddev * mddev,const char * buf,size_t len) bitmap_type_store() argument
4340 layout_show(struct mddev * mddev,char * page) layout_show() argument
4351 layout_store(struct mddev * mddev,const char * buf,size_t len) layout_store() argument
4386 raid_disks_show(struct mddev * mddev,char * page) raid_disks_show() argument
4400 raid_disks_store(struct mddev * mddev,const char * buf,size_t len) raid_disks_store() argument
4441 uuid_show(struct mddev * mddev,char * page) uuid_show() argument
4449 chunk_size_show(struct mddev * mddev,char * page) chunk_size_show() argument
4460 chunk_size_store(struct mddev * mddev,const char * buf,size_t len) chunk_size_store() argument
4495 resync_start_show(struct mddev * mddev,char * page) resync_start_show() argument
4503 resync_start_store(struct mddev * mddev,const char * buf,size_t len) resync_start_store() argument
4592 array_state_show(struct mddev * mddev,char * page) array_state_show() argument
4635 array_state_store(struct mddev * mddev,const char * buf,size_t len) array_state_store() argument
4769 max_corrected_read_errors_show(struct mddev * mddev,char * page) max_corrected_read_errors_show() argument
4775 max_corrected_read_errors_store(struct mddev * mddev,const char * buf,size_t len) max_corrected_read_errors_store() argument
4794 null_show(struct mddev * mddev,char * page) null_show() argument
4800 new_dev_store(struct mddev * mddev,const char * buf,size_t len) new_dev_store() argument
4864 bitmap_store(struct mddev * mddev,const char * buf,size_t len) bitmap_store() argument
4907 size_show(struct mddev * mddev,char * page) size_show() argument
4916 size_store(struct mddev * mddev,const char * buf,size_t len) size_store() argument
4955 metadata_show(struct mddev * mddev,char * page) metadata_show() argument
4967 metadata_store(struct mddev * mddev,const char * buf,size_t len) metadata_store() argument
5041 md_get_active_sync_action(struct mddev * mddev) md_get_active_sync_action() argument
5064 md_sync_action(struct mddev * mddev) md_sync_action() argument
5144 action_show(struct mddev * mddev,char * page) action_show() argument
5158 stop_sync_thread(struct mddev * mddev,bool locked) stop_sync_thread() argument
5188 md_idle_sync_thread(struct mddev * mddev) md_idle_sync_thread() argument
5197 md_frozen_sync_thread(struct mddev * mddev) md_frozen_sync_thread() argument
5206 md_unfrozen_sync_thread(struct mddev * mddev) md_unfrozen_sync_thread() argument
5217 mddev_start_reshape(struct mddev * mddev) mddev_start_reshape() argument
5245 action_store(struct mddev * mddev,const char * page,size_t len) action_store() argument
5344 last_sync_action_show(struct mddev * mddev,char * page) last_sync_action_show() argument
5353 mismatch_cnt_show(struct mddev * mddev,char * page) mismatch_cnt_show() argument
5363 sync_min_show(struct mddev * mddev,char * page) sync_min_show() argument
5370 sync_min_store(struct mddev * mddev,const char * buf,size_t len) sync_min_store() argument
5392 sync_max_show(struct mddev * mddev,char * page) sync_max_show() argument
5399 sync_max_store(struct mddev * mddev,const char * buf,size_t len) sync_max_store() argument
5421 sync_io_depth_show(struct mddev * mddev,char * page) sync_io_depth_show() argument
5428 sync_io_depth_store(struct mddev * mddev,const char * buf,size_t len) sync_io_depth_store() argument
5450 degraded_show(struct mddev * mddev,char * page) degraded_show() argument
5457 sync_force_parallel_show(struct mddev * mddev,char * page) sync_force_parallel_show() argument
5463 sync_force_parallel_store(struct mddev * mddev,const char * buf,size_t len) sync_force_parallel_store() argument
5487 sync_speed_show(struct mddev * mddev,char * page) sync_speed_show() argument
5502 sync_completed_show(struct mddev * mddev,char * page) sync_completed_show() argument
5527 min_sync_show(struct mddev * mddev,char * page) min_sync_show() argument
5533 min_sync_store(struct mddev * mddev,const char * buf,size_t len) min_sync_store() argument
5563 max_sync_show(struct mddev * mddev,char * page) max_sync_show() argument
5572 max_sync_store(struct mddev * mddev,const char * buf,size_t len) max_sync_store() argument
5615 suspend_lo_show(struct mddev * mddev,char * page) suspend_lo_show() argument
5622 suspend_lo_store(struct mddev * mddev,const char * buf,size_t len) suspend_lo_store() argument
5646 suspend_hi_show(struct mddev * mddev,char * page) suspend_hi_show() argument
5653 suspend_hi_store(struct mddev * mddev,const char * buf,size_t len) suspend_hi_store() argument
5677 reshape_position_show(struct mddev * mddev,char * page) reshape_position_show() argument
5687 reshape_position_store(struct mddev * mddev,const char * buf,size_t len) reshape_position_store() argument
5723 reshape_direction_show(struct mddev * mddev,char * page) reshape_direction_show() argument
5730 reshape_direction_store(struct mddev * mddev,const char * buf,size_t len) reshape_direction_store() argument
5764 array_size_show(struct mddev * mddev,char * page) array_size_show() argument
5774 array_size_store(struct mddev * mddev,const char * buf,size_t len) array_size_store() argument
5820 consistency_policy_show(struct mddev * mddev,char * page) consistency_policy_show() argument
5843 consistency_policy_store(struct mddev * mddev,const char * buf,size_t len) consistency_policy_store() argument
5865 fail_last_dev_show(struct mddev * mddev,char * page) fail_last_dev_show() argument
5875 fail_last_dev_store(struct mddev * mddev,const char * buf,size_t len) fail_last_dev_store() argument
5893 serialize_policy_show(struct mddev * mddev,char * page) serialize_policy_show() argument
5906 serialize_policy_store(struct mddev * mddev,const char * buf,size_t len) serialize_policy_store() argument
5941 mddev_set_logical_block_size(struct mddev * mddev,unsigned int lbs) mddev_set_logical_block_size() argument
5968 lbs_show(struct mddev * mddev,char * page) lbs_show() argument
5974 lbs_store(struct mddev * mddev,const char * buf,size_t len) lbs_store() argument
6085 struct mddev *mddev = container_of(kobj, struct mddev, kobj); md_attr_show() local
6107 struct mddev *mddev = container_of(kobj, struct mddev, kobj); md_attr_store() local
6138 struct mddev *mddev = container_of(ko, struct mddev, kobj); md_kobj_release() local
6163 mddev_stack_rdev_limits(struct mddev * mddev,struct queue_limits * lim,unsigned int flags) mddev_stack_rdev_limits() argument
6212 mddev_stack_new_rdev(struct mddev * mddev,struct md_rdev * rdev) mddev_stack_new_rdev() argument
6242 mddev_update_io_opt(struct mddev * mddev,unsigned int nr_stripes) mddev_update_io_opt() argument
6261 struct mddev *mddev = container_of(ws, struct mddev, del_work); mddev_delayed_delete() local
6286 struct mddev *mddev; md_alloc() local
6386 struct mddev *mddev = md_alloc(dev, name); md_alloc_and_put() local
6436 struct mddev *mddev = timer_container_of(mddev, t, safemode_timer); md_safemode_timeout() local
6447 md_bitmap_create(struct mddev * mddev) md_bitmap_create() argument
6458 md_bitmap_destroy(struct mddev * mddev) md_bitmap_destroy() argument
6467 md_run(struct mddev * mddev) md_run() argument
6690 do_md_run(struct mddev * mddev) do_md_run() argument
6727 md_start(struct mddev * mddev) md_start() argument
6741 restart_array(struct mddev * mddev) restart_array() argument
6782 md_clean(struct mddev * mddev) md_clean() argument
6847 __md_stop_writes(struct mddev * mddev) __md_stop_writes() argument
6872 md_stop_writes(struct mddev * mddev) md_stop_writes() argument
6882 mddev_detach(struct mddev * mddev) mddev_detach() argument
6897 __md_stop(struct mddev * mddev) __md_stop() argument
6913 md_stop(struct mddev * mddev) md_stop() argument
6927 md_set_readonly(struct mddev * mddev) md_set_readonly() argument
6975 do_md_stop(struct mddev * mddev,int mode) do_md_stop() argument
7047 autorun_array(struct mddev * mddev) autorun_array() argument
7084 struct mddev *mddev; autorun_devices() local
7170 get_array_info(struct mddev * mddev,void __user * arg) get_array_info() argument
7230 get_bitmap_file(struct mddev * mddev,void __user * arg) get_bitmap_file() argument
7262 get_disk_info(struct mddev * mddev,void __user * arg) get_disk_info() argument
7302 md_add_new_disk(struct mddev * mddev,struct mdu_disk_info_s * info) md_add_new_disk() argument
7507 hot_remove_disk(struct mddev * mddev,dev_t dev) hot_remove_disk() argument
7545 hot_add_disk(struct mddev * mddev,dev_t dev) hot_add_disk() argument
7615 set_bitmap_file(struct mddev * mddev,int fd) set_bitmap_file() argument
7717 md_set_array_info(struct mddev * mddev,struct mdu_array_info_s * info) md_set_array_info() argument
7791 md_set_array_sectors(struct mddev * mddev,sector_t array_sectors) md_set_array_sectors() argument
7802 update_size(struct mddev * mddev,sector_t num_sectors) update_size() argument
7844 update_raid_disks(struct mddev * mddev,int raid_disks) update_raid_disks() argument
7884 get_cluster_ops(struct mddev * mddev) get_cluster_ops() argument
7896 put_cluster_ops(struct mddev * mddev) put_cluster_ops() argument
7914 update_array_info(struct mddev * mddev,mdu_array_info_t * info) update_array_info() argument
8035 set_disk_faulty(struct mddev * mddev,dev_t dev) set_disk_faulty() argument
8064 struct mddev *mddev = disk->private_data; md_getgeo() local
8113 __md_set_array_info(struct mddev * mddev,void __user * argp) __md_set_array_info() argument
8152 struct mddev *mddev = NULL; md_ioctl() local
8363 struct mddev *mddev = bdev->bd_disk->private_data; md_set_read_only() local
8393 struct mddev *mddev; md_open() local
8425 struct mddev *mddev = disk->private_data; md_release() local
8434 struct mddev *mddev = disk->private_data; md_check_events() local
8445 struct mddev *mddev = disk->private_data; md_free_disk() local
8535 md_register_thread(void (* run)(struct md_thread *),struct mddev * mddev,const char * name) md_register_thread() argument
8560 md_unregister_thread(struct mddev * mddev,struct md_thread __rcu ** threadp) md_unregister_thread() argument
8577 md_error(struct mddev * mddev,struct md_rdev * rdev) md_error() argument
8639 status_resync(struct seq_file * seq,struct mddev * mddev) status_resync() argument
8797 md_bitmap_status(struct seq_file * seq,struct mddev * mddev) md_bitmap_status() argument
8829 struct mddev *mddev; md_seq_show() local
8993 md_setup_cluster(struct mddev * mddev,int nodes) md_setup_cluster() argument
9014 md_cluster_stop(struct mddev * mddev) md_cluster_stop() argument
9046 is_mddev_idle(struct mddev * mddev,int init) is_mddev_idle() argument
9071 md_done_sync(struct mddev * mddev,int blocks,int ok) md_done_sync() argument
9092 md_write_start(struct mddev * mddev,struct bio * bi) md_write_start() argument
9143 md_write_inc(struct mddev * mddev,struct bio * bi) md_write_inc() argument
9152 md_write_end(struct mddev * mddev) md_write_end() argument
9170 md_submit_discard_bio(struct mddev * mddev,struct md_rdev * rdev,struct bio * bio,sector_t start,sector_t size) md_submit_discard_bio() argument
9186 md_bitmap_start(struct mddev * mddev,struct md_io_clone * md_io_clone) md_bitmap_start() argument
9200 md_bitmap_end(struct mddev * mddev,struct md_io_clone * md_io_clone) md_bitmap_end() argument
9213 struct mddev *mddev = md_io_clone->mddev; md_end_clone_io() local
9229 md_clone_bio(struct mddev * mddev,struct bio ** bio) md_clone_bio() argument
9254 md_account_bio(struct mddev * mddev,struct bio ** bio) md_account_bio() argument
9265 struct mddev *mddev = md_io_clone->mddev; md_free_cloned_bio() local
9287 md_allow_write(struct mddev * mddev) md_allow_write() argument
9315 md_sync_max_sectors(struct mddev * mddev,enum sync_action action) md_sync_max_sectors() argument
9338 mddev_select_lazy_recover_rdev(struct mddev * mddev) mddev_select_lazy_recover_rdev() argument
9366 md_sync_position(struct mddev * mddev,enum sync_action action) md_sync_position() argument
9423 sync_io_within_limit(struct mddev * mddev) sync_io_within_limit() argument
9438 struct mddev *mddev = thread->mddev; md_do_sync() local
9857 struct mddev *mddev; rdev_addable() local
9886 md_spares_need_change(struct mddev * mddev) md_spares_need_change() argument
9901 remove_spares(struct mddev * mddev,struct md_rdev * this) remove_spares() argument
9922 remove_and_add_spares(struct mddev * mddev,struct md_rdev * this) remove_and_add_spares() argument
9961 md_choose_sync_action(struct mddev * mddev,int * spares) md_choose_sync_action() argument
10010 struct mddev *mddev = container_of(ws, struct mddev, sync_work); md_start_sync() local
10098 unregister_sync_thread(struct mddev * mddev) unregister_sync_thread() argument
10112 md_should_do_recovery(struct mddev * mddev) md_should_do_recovery() argument
10180 md_check_recovery(struct mddev * mddev) md_check_recovery() argument
10303 md_reap_sync_thread(struct mddev * mddev) md_reap_sync_thread() argument
10369 md_wait_for_blocked_rdev(struct md_rdev * rdev,struct mddev * mddev) md_wait_for_blocked_rdev() argument
10378 md_finish_reshape(struct mddev * mddev) md_finish_reshape() argument
10399 struct mddev *mddev = rdev->mddev; rdev_set_badblocks() local
10449 struct mddev *mddev; md_notify_reboot() local
10532 check_sb_changes(struct mddev * mddev,struct md_rdev * rdev) check_sb_changes() argument
10645 read_rdev(struct mddev * mddev,struct md_rdev * rdev) read_rdev() argument
10692 md_reload_sb(struct mddev * mddev,int nr) md_reload_sb() argument
10795 struct mddev *mddev; md_exit() local
[all...]
H A Dmd-cluster.h9 struct mddev;
15 int (*join)(struct mddev *mddev, int nodes);
16 int (*leave)(struct mddev *mddev);
17 int (*slot_number)(struct mddev *mddev);
18 int (*resync_info_update)(struct mddev *mddev, sector_t lo, sector_t hi);
19 int (*resync_start_notify)(struct mddev *mddev);
20 int (*resync_status_get)(struct mddev *mddev);
21 void (*resync_info_get)(struct mddev *mddev, sector_t *lo, sector_t *hi);
22 int (*metadata_update_start)(struct mddev *mddev);
23 int (*metadata_update_finish)(struct mddev *mddev);
[all …]
H A Ddm-raid.c245 struct mddev md;
263 struct mddev *mddev = &rs->md; in rs_config_backup() local
265 l->new_level = mddev->new_level; in rs_config_backup()
266 l->new_layout = mddev->new_layout; in rs_config_backup()
267 l->new_chunk_sectors = mddev->new_chunk_sectors; in rs_config_backup()
272 struct mddev *mddev = &rs->md; in rs_config_restore() local
274 mddev->new_level = l->new_level; in rs_config_restore()
275 mddev->new_layout = l->new_layout; in rs_config_restore()
276 mddev->new_chunk_sectors = l->new_chunk_sectors; in rs_config_restore()
686 struct mddev *mddev = &rs->md; in rs_set_rdev_sectors() local
[all …]
H A Draid5.c76 static void raid5_quiesce(struct mddev *mddev, int quiesce); in stripe_hash()
203 md_wakeup_thread(conf->mddev->thread); in raid5_wakeup_stripe_thread()
276 md_wakeup_thread(conf->mddev->thread); in do_release_stripe()
282 md_wakeup_thread(conf->mddev->thread); in do_release_stripe()
364 md_wakeup_thread(conf->mddev->thread); in release_stripe_list()
410 if (unlikely(!conf->mddev->thread) || in raid5_release_stripe()
415 md_wakeup_thread(conf->mddev->thread); in raid5_release_stripe()
751 int degraded = conf->mddev->degraded; in has_failed()
753 if (test_bit(MD_BROKEN, &conf->mddev in has_failed()
2907 raid5_error(struct mddev * mddev,struct md_rdev * rdev) raid5_error() argument
4100 struct mddev *mddev = conf->mddev; handle_stripe_dirtying() local
5332 in_chunk_boundary(struct mddev * mddev,struct bio * bio) in_chunk_boundary() argument
5392 struct mddev *mddev = rdev->mddev; raid5_align_endio() local
5412 raid5_read_one_chunk(struct mddev * mddev,struct bio * raid_bio) raid5_read_one_chunk() argument
5488 chunk_aligned_read(struct mddev * mddev,struct bio * raid_bio) chunk_aligned_read() argument
5623 struct mddev *mddev = cb->cb.data; raid5_unplug() local
5657 release_stripe_plug(struct mddev * mddev,struct stripe_head * sh) release_stripe_plug() argument
5685 make_discard_request(struct mddev * mddev,struct bio * bi) make_discard_request() argument
5768 ahead_of_reshape(struct mddev * mddev,sector_t sector,sector_t reshape_sector) ahead_of_reshape() argument
5775 range_ahead_of_reshape(struct mddev * mddev,sector_t min,sector_t max,sector_t reshape_sector) range_ahead_of_reshape() argument
5782 stripe_ahead_of_reshape(struct mddev * mddev,struct r5conf * conf,struct stripe_head * sh) stripe_ahead_of_reshape() argument
5868 get_reshape_loc(struct mddev * mddev,struct r5conf * conf,sector_t logical_sector) get_reshape_loc() argument
5897 raid5_bitmap_sector(struct mddev * mddev,sector_t * offset,unsigned long * sectors) raid5_bitmap_sector() argument
5945 make_stripe_request(struct mddev * mddev,struct r5conf * conf,struct stripe_request_ctx * ctx,sector_t logical_sector,struct bio * bi) make_stripe_request() argument
6080 raid5_make_request(struct mddev * mddev,struct bio * bi) raid5_make_request() argument
6219 reshape_request(struct mddev * mddev,sector_t sector_nr,int * skipped) reshape_request() argument
6496 raid5_sync_request(struct mddev * mddev,sector_t sector_nr,sector_t max_sector,int * skipped) raid5_sync_request() argument
6707 struct mddev *mddev = conf->mddev; raid5_do_work() local
6755 struct mddev *mddev = thread->mddev; raid5d() local
6839 raid5_show_stripe_cache_size(struct mddev * mddev,char * page) raid5_show_stripe_cache_size() argument
6852 raid5_set_cache_size(struct mddev * mddev,int size) raid5_set_cache_size() argument
6883 raid5_store_stripe_cache_size(struct mddev * mddev,const char * page,size_t len) raid5_store_stripe_cache_size() argument
6912 raid5_show_rmw_level(struct mddev * mddev,char * page) raid5_show_rmw_level() argument
6922 raid5_store_rmw_level(struct mddev * mddev,const char * page,size_t len) raid5_store_rmw_level() argument
6954 raid5_show_stripe_size(struct mddev * mddev,char * page) raid5_show_stripe_size() argument
6969 raid5_store_stripe_size(struct mddev * mddev,const char * page,size_t len) raid5_store_stripe_size() argument
7045 raid5_show_preread_threshold(struct mddev * mddev,char * page) raid5_show_preread_threshold() argument
7058 raid5_store_preread_threshold(struct mddev * mddev,const char * page,size_t len) raid5_store_preread_threshold() argument
7090 raid5_show_skip_copy(struct mddev * mddev,char * page) raid5_show_skip_copy() argument
7103 raid5_store_skip_copy(struct mddev * mddev,const char * page,size_t len) raid5_store_skip_copy() argument
7142 stripe_cache_active_show(struct mddev * mddev,char * page) stripe_cache_active_show() argument
7155 raid5_show_group_thread_cnt(struct mddev * mddev,char * page) raid5_show_group_thread_cnt() argument
7171 raid5_store_group_thread_cnt(struct mddev * mddev,const char * page,size_t len) raid5_store_group_thread_cnt() argument
7298 raid5_size(struct mddev * mddev,sector_t sectors,int raid_disks) raid5_size() argument
7445 setup_conf(struct mddev * mddev) setup_conf() argument
7732 raid5_set_limits(struct mddev * mddev) raid5_set_limits() argument
7795 raid5_run(struct mddev * mddev) raid5_run() argument
8073 raid5_free(struct mddev * mddev,void * priv) raid5_free() argument
8081 raid5_status(struct seq_file * seq,struct mddev * mddev) raid5_status() argument
8122 raid5_spare_active(struct mddev * mddev) raid5_spare_active() argument
8166 raid5_remove_disk(struct mddev * mddev,struct md_rdev * rdev) raid5_remove_disk() argument
8246 raid5_add_disk(struct mddev * mddev,struct md_rdev * rdev) raid5_add_disk() argument
8328 raid5_resize(struct mddev * mddev,sector_t sectors) raid5_resize() argument
8366 check_stripe_cache(struct mddev * mddev) check_stripe_cache() argument
8390 check_reshape(struct mddev * mddev) check_reshape() argument
8434 raid5_start_reshape(struct mddev * mddev) raid5_start_reshape() argument
8590 raid5_finish_reshape(struct mddev * mddev) raid5_finish_reshape() argument
8621 raid5_quiesce(struct mddev * mddev,int quiesce) raid5_quiesce() argument
8656 raid45_takeover_raid0(struct mddev * mddev,int level) raid45_takeover_raid0() argument
8682 raid5_takeover_raid1(struct mddev * mddev) raid5_takeover_raid1() argument
8714 raid5_takeover_raid6(struct mddev * mddev) raid5_takeover_raid6() argument
8747 raid5_check_reshape(struct mddev * mddev) raid5_check_reshape() argument
8787 raid6_check_reshape(struct mddev * mddev) raid6_check_reshape() argument
8807 raid5_takeover(struct mddev * mddev) raid5_takeover() argument
8830 raid4_takeover(struct mddev * mddev) raid4_takeover() argument
8849 raid6_takeover(struct mddev * mddev) raid6_takeover() argument
8895 raid5_change_consistency_policy(struct mddev * mddev,const char * buf) raid5_change_consistency_policy() argument
8953 raid5_start(struct mddev * mddev) raid5_start() argument
8965 raid5_prepare_suspend(struct mddev * mddev) raid5_prepare_suspend() argument
[all...]
H A Draid5-ppl.c88 struct mddev *mddev; member
408 md_error(ppl_conf->mddev, log->rdev); in ppl_log_endio()
551 struct r5conf *conf = ppl_conf->mddev->private; in ppl_io_unit_finished()
586 struct r5conf *conf = ppl_conf->mddev->private; in ppl_flush_endio()
594 rdev = md_find_rdev_rcu(conf->mddev, bio_dev(bio)); in ppl_flush_endio()
596 md_error(rdev->mddev, rdev); in ppl_flush_endio()
604 md_wakeup_thread(conf->mddev->thread); in ppl_flush_endio()
612 struct r5conf *conf = ppl_conf->mddev->private; in ppl_do_flush()
788 struct mddev *mddev = ppl_conf->mddev; in ppl_recover_entry() local
789 struct r5conf *conf = mddev->private; in ppl_recover_entry()
[all …]
H A Draid5-log.h30 void r5c_update_on_rdev_error(struct mddev *mddev, struct md_rdev *rdev);
49 return test_bit(MD_HAS_JOURNAL, &conf->mddev->flags); in raid5_has_log()
54 return test_bit(MD_HAS_PPL, &conf->mddev->flags); in raid5_has_ppl()