| /kernel/linux/linux-6.6/drivers/md/ |
| H A D | md-cluster.c | 27 struct mddev *mddev; /* pointing back to mddev. */ member 61 struct mddev *mddev; /* the md device which md_cluster_info belongs to */ member 183 static struct dlm_lock_resource *lockres_init(struct mddev *mddev, in lockres_init() argument 149 dlm_lock_sync_interruptible(struct dlm_lock_resource *res, int mode, struct mddev *mddev) dlm_lock_sync_interruptible() argument 268 read_resync_info(struct mddev *mddev, struct dlm_lock_resource *lockres) read_resync_info() argument 288 struct mddev *mddev = thread->mddev; recover_bitmaps() local 354 struct mddev *mddev = arg; recover_prep() local 359 __recover_slot(struct mddev *mddev, int slot) __recover_slot() argument 377 struct mddev *mddev = arg; recover_slot() local 393 struct mddev *mddev = arg; recover_done() local 432 remove_suspend_info(struct mddev *mddev, int slot) remove_suspend_info() argument 443 process_suspend_info(struct mddev *mddev, int slot, sector_t lo, sector_t hi) process_suspend_info() argument 504 process_add_new_disk(struct mddev *mddev, struct cluster_msg *cmsg) process_add_new_disk() argument 526 process_metadata_update(struct mddev *mddev, struct cluster_msg *msg) process_metadata_update() argument 545 process_remove_disk(struct mddev *mddev, struct cluster_msg *msg) process_remove_disk() argument 562 process_readd_disk(struct mddev *mddev, struct cluster_msg *msg) process_readd_disk() argument 576 process_recvd_msg(struct mddev *mddev, struct cluster_msg *msg) process_recvd_msg() argument 691 struct mddev *mddev = cinfo->mddev; lock_comm() local 801 gather_all_resync_info(struct mddev *mddev, int total_slots) gather_all_resync_info() argument 860 join(struct mddev *mddev, int nodes) join() argument 970 load_bitmaps(struct mddev *mddev, int total_slots) load_bitmaps() argument 983 resync_bitmap(struct mddev *mddev) resync_bitmap() argument 997 leave(struct mddev *mddev) leave() argument 1036 slot_number(struct mddev *mddev) slot_number() argument 1049 metadata_update_start(struct mddev *mddev) metadata_update_start() argument 1078 metadata_update_finish(struct mddev *mddev) metadata_update_finish() argument 1105 metadata_update_cancel(struct mddev *mddev) metadata_update_cancel() argument 1112 update_bitmap_size(struct mddev *mddev, sector_t size) update_bitmap_size() argument 1127 resize_bitmaps(struct mddev *mddev, sector_t newsize, sector_t oldsize) resize_bitmaps() argument 1191 cluster_check_sync_size(struct mddev *mddev) cluster_check_sync_size() argument 1258 update_size(struct mddev *mddev, sector_t old_dev_sectors) update_size() argument 1323 resync_start(struct mddev *mddev) resync_start() argument 1329 resync_info_get(struct mddev *mddev, sector_t *lo, sector_t *hi) resync_info_get() argument 1339 resync_info_update(struct mddev *mddev, sector_t lo, sector_t hi) resync_info_update() argument 1369 resync_finish(struct mddev *mddev) resync_finish() argument 1386 area_resyncing(struct mddev *mddev, int direction, sector_t lo, sector_t hi) area_resyncing() argument 1407 add_new_disk(struct mddev *mddev, struct md_rdev *rdev) add_new_disk() argument 1454 add_new_disk_cancel(struct mddev *mddev) add_new_disk_cancel() argument 1461 new_disk_ack(struct mddev *mddev, bool ack) new_disk_ack() argument 1476 remove_disk(struct mddev *mddev, struct md_rdev *rdev) remove_disk() argument 1485 lock_all_bitmaps(struct mddev *mddev) lock_all_bitmaps() argument 1520 unlock_all_bitmaps(struct mddev *mddev) unlock_all_bitmaps() argument 1542 struct mddev *mddev = rdev->mddev; gather_bitmaps() local [all...] |
| H A D | raid1.c | 84 struct mddev *mddev = rdev->mddev; in wait_for_serialization() local 101 struct mddev *mddev = rdev->mddev; in remove_serial() local 281 struct mddev *mddev = r1_bio->mddev; reschedule_retry() local 1173 struct mddev *mddev = plug->cb.data; raid1_unplug() local 1193 init_r1bio(struct r1bio *r1_bio, struct mddev *mddev, struct bio *bio) init_r1bio() argument 1203 alloc_r1bio(struct mddev *mddev, struct bio *bio) alloc_r1bio() argument 1215 raid1_read_request(struct mddev *mddev, struct bio *bio, int max_read_sectors, struct r1bio *r1_bio) raid1_read_request() argument 1336 raid1_write_request(struct mddev *mddev, struct bio *bio, int max_write_sectors) raid1_write_request() argument 1586 raid1_make_request(struct mddev *mddev, struct bio *bio) raid1_make_request() argument 1614 raid1_status(struct seq_file *seq, struct mddev *mddev) raid1_status() argument 1647 raid1_error(struct mddev *mddev, struct md_rdev *rdev) raid1_error() argument 1717 raid1_spare_active(struct mddev *mddev) raid1_spare_active() argument 1769 raid1_add_disk(struct mddev *mddev, struct md_rdev *rdev) raid1_add_disk() argument 1835 raid1_remove_disk(struct mddev *mddev, struct md_rdev *rdev) raid1_remove_disk() argument 1926 abort_sync_write(struct mddev *mddev, struct r1bio *r1_bio) abort_sync_write() argument 1943 struct mddev *mddev = r1_bio->mddev; put_sync_write_buf() local 1960 struct mddev *mddev = r1_bio->mddev; end_sync_write() local 2017 struct mddev *mddev = r1_bio->mddev; fix_sync_read_error() local 2144 struct mddev *mddev = r1_bio->mddev; process_checks() local 2221 sync_request_write(struct mddev *mddev, struct r1bio *r1_bio) sync_request_write() argument 2277 struct mddev *mddev = conf->mddev; fix_read_error() local 2371 struct mddev *mddev = r1_bio->mddev; narrow_write_error() local 2509 struct mddev *mddev = conf->mddev; handle_read_error() local 2553 struct mddev *mddev = thread->mddev; raid1d() local 2661 raid1_sync_request(struct mddev *mddev, sector_t sector_nr, int *skipped) raid1_sync_request() argument 2960 raid1_size(struct mddev *mddev, sector_t sectors, int raid_disks) raid1_size() argument 2968 setup_conf(struct mddev *mddev) setup_conf() argument 3108 raid1_run(struct mddev *mddev) raid1_run() argument 3197 raid1_free(struct mddev *mddev, void *priv) raid1_free() argument 3213 raid1_resize(struct mddev *mddev, sector_t sectors) raid1_resize() argument 3242 raid1_reshape(struct mddev *mddev) raid1_reshape() argument 3352 raid1_quiesce(struct mddev *mddev, int quiesce) raid1_quiesce() argument 3362 raid1_takeover(struct mddev *mddev) raid1_takeover() argument [all...] |
| H A D | md.h | 52 struct mddev *mddev; /* RAID array if running */ member 309 struct mddev { struct 577 static inline bool md_is_rdwr(struct mddev *mddev) in md_is_rdwr() argument 582 static inline bool is_md_suspended(struct mddev *mdde argument 587 mddev_lock(struct mddev *mddev) mddev_lock() argument 595 mddev_lock_nointr(struct mddev *mddev) mddev_lock_nointr() argument 600 mddev_trylock(struct mddev *mddev) mddev_trylock() argument 685 mdname(struct mddev * mddev) mdname() argument 690 sysfs_link_rdev(struct mddev *mddev, struct md_rdev *rdev) sysfs_link_rdev() argument 702 sysfs_unlink_rdev(struct mddev *mddev, struct md_rdev *rdev) sysfs_unlink_rdev() argument 734 struct mddev *mddev; global() member 743 struct mddev *mddev; global() member 826 rdev_dec_pending(struct md_rdev *rdev, struct mddev *mddev) rdev_dec_pending() argument 836 mddev_is_clustered(struct mddev *mddev) mddev_is_clustered() argument 842 mddev_clear_unsupported_flags(struct mddev *mddev, unsigned long unsupported_flags) mddev_clear_unsupported_flags() argument 848 mddev_check_write_zeroes(struct mddev *mddev, struct bio *bio) mddev_check_write_zeroes() argument [all...] |
| H A D | raid10.c | 301 struct mddev *mdde in reschedule_retry() local 1111 struct mddev *mddev = plug->cb.data; raid10_unplug() local 1146 regular_request_wait(struct mddev *mddev, struct r10conf *conf, struct bio *bio, sector_t sectors) regular_request_wait() argument 1172 raid10_read_request(struct mddev *mddev, struct bio *bio, struct r10bio *r10_bio, bool io_accounting) raid10_read_request() argument 1269 raid10_write_one_disk(struct mddev *mddev, struct r10bio *r10_bio, struct bio *bio, bool replacement, int n_copy) raid10_write_one_disk() argument 1343 wait_blocked_dev(struct mddev *mddev, struct r10bio *r10_bio) wait_blocked_dev() argument 1407 raid10_write_request(struct mddev *mddev, struct bio *bio, struct r10bio *r10_bio) raid10_write_request() argument 1568 __make_request(struct mddev *mddev, struct bio *bio, int sectors) __make_request() argument 1650 raid10_handle_discard(struct mddev *mddev, struct bio *bio) raid10_handle_discard() argument 1900 raid10_make_request(struct mddev *mddev, struct bio *bio) raid10_make_request() argument 1937 raid10_status(struct seq_file *seq, struct mddev *mddev) raid10_status() argument 2032 raid10_error(struct mddev *mddev, struct md_rdev *rdev) raid10_error() argument 2095 raid10_spare_active(struct mddev *mddev) raid10_spare_active() argument 2143 raid10_add_disk(struct mddev *mddev, struct md_rdev *rdev) raid10_add_disk() argument 2214 raid10_remove_disk(struct mddev *mddev, struct md_rdev *rdev) raid10_remove_disk() argument 2323 struct mddev *mddev = r10_bio->mddev; end_sync_request() local 2351 struct mddev *mddev = r10_bio->mddev; end_sync_write() local 2403 sync_request_write(struct mddev *mddev, struct r10bio *r10_bio) sync_request_write() argument 2543 struct mddev *mddev = r10_bio->mddev; fix_recovery_read_error() local 2617 recovery_request_write(struct mddev *mddev, struct r10bio *r10_bio) recovery_request_write() argument 2664 check_decay_read_errors(struct mddev *mddev, struct md_rdev *rdev) check_decay_read_errors() argument 2726 fix_read_error(struct r10conf *conf, struct mddev *mddev, struct r10bio *r10_bio) fix_read_error() argument 2906 struct mddev *mddev = r10_bio->mddev; narrow_write_error() local 2964 handle_read_error(struct mddev *mddev, struct r10bio *r10_bio) handle_read_error() argument 3105 struct mddev *mddev = thread->mddev; raid10d() local 3293 raid10_sync_request(struct mddev *mddev, sector_t sector_nr, int *skipped) raid10_sync_request() argument 3930 raid10_size(struct mddev *mddev, sector_t sectors, int raid_disks) raid10_size() argument 3980 setup_geo(struct geom *geo, struct mddev *mddev, enum geo_type new) setup_geo() argument 4050 setup_conf(struct mddev *mddev) setup_conf() argument 4147 raid10_run(struct mddev *mddev) raid10_run() argument 4330 raid10_free(struct mddev *mddev, void *priv) raid10_free() argument 4335 raid10_quiesce(struct mddev *mddev, int quiesce) raid10_quiesce() argument 4345 raid10_resize(struct mddev *mddev, sector_t sectors) raid10_resize() argument 4390 raid10_takeover_raid0(struct mddev *mddev, sector_t size, int devs) raid10_takeover_raid0() argument 4425 raid10_takeover(struct mddev *mddev) raid10_takeover() argument 4447 raid10_check_reshape(struct mddev *mddev) raid10_check_reshape() argument 4554 raid10_start_reshape(struct mddev *mddev) raid10_start_reshape() argument 4772 reshape_request(struct mddev *mddev, sector_t sector_nr, int *skipped) reshape_request() argument 5051 reshape_request_write(struct mddev *mddev, struct r10bio *r10_bio) reshape_request_write() argument 5116 raid10_update_reshape_pos(struct mddev *mddev) raid10_update_reshape_pos() argument 5129 handle_reshape_read_error(struct mddev *mddev, struct r10bio *r10_bio) handle_reshape_read_error() argument 5207 struct mddev *mddev = r10_bio->mddev; end_reshape_write() local 5240 raid10_finish_reshape(struct mddev *mddev) raid10_finish_reshape() argument [all...] |
| H A D | raid5-cache.c | 684 struct mddev *mddev = log->rdev->mddev; in r5c_disable_writeback_async() local 863 struct mddev *mddev = log->rdev->mddev; r5l_append_flush_payload() local 1316 struct mddev *mddev; r5l_write_super_and_discard_space() local 1550 struct mddev *mddev = thread->mddev; r5l_reclaim_thread() local 1578 struct mddev *mddev = log->rdev->mddev; r5l_quiesce() local 1809 struct mddev *mddev = log->rdev->mddev; r5l_recovery_load_data() local 1831 struct mddev *mddev = log->rdev->mddev; r5l_recovery_load_parity() local 2000 struct mddev *mddev = log->rdev->mddev; r5l_recovery_verify_data_checksum_for_mb() local 2074 struct mddev *mddev = log->rdev->mddev; r5c_recovery_analyze_meta_block() local 2350 struct mddev *mddev = log->rdev->mddev; r5c_recovery_rewrite_data_only_stripes() local 2422 struct mddev *mddev = log->rdev->mddev; r5c_recovery_flush_data_only_stripes() local 2454 struct mddev *mddev = log->rdev->mddev; r5l_recovery_log() local 2523 struct mddev *mddev = log->rdev->mddev; r5l_write_super() local 2529 r5c_journal_mode_show(struct mddev *mddev, char *page) r5c_journal_mode_show() argument 2570 r5c_journal_mode_set(struct mddev *mddev, int mode) r5c_journal_mode_set() argument 2596 r5c_journal_mode_store(struct mddev *mddev, const char *page, size_t length) r5c_journal_mode_store() argument 3041 struct mddev *mddev = log->rdev->mddev; r5l_start() local 3049 r5c_update_on_rdev_error(struct mddev *mddev, struct md_rdev *rdev) r5c_update_on_rdev_error() argument [all...] |
| H A D | raid5.h | 578 struct mddev *mddev; member
|
| H A D | dm-raid.c | 262 struct mddev *mddev = &rs->md; in rs_config_backup() local 271 struct mddev *mddev = &rs->md; in rs_config_restore() local 685 struct mddev *mddev = &rs->md; rs_set_rdev_sectors() local 713 struct mddev *mddev = &rs->md; rs_set_cur() local 726 struct mddev *mddev = &rs->md; rs_set_new() local 1539 struct mddev *mddev = &rs->md; rs_set_raid456_stripe_cache() local 1629 struct mddev *mddev = &rs->md; rs_set_dev_and_array_sectors() local 1717 struct mddev *mddev = &rs->md; rs_check_takeover() local 1887 struct mddev *mddev = &rs->md; rs_reshape_requested() local 2015 struct mddev *mddev = &rs->md; rs_check_reshape() local 2082 super_sync(struct mddev *mddev, struct md_rdev *rdev) super_sync() argument 2212 struct mddev *mddev = &rs->md; super_init_validation() local 2431 struct mddev *mddev = &rs->md; super_validate() local 2504 struct mddev *mddev = &rs->md; analyse_superblocks() local 2707 struct mddev *mddev = &rs->md; rs_setup_takeover() local 2753 struct mddev *mddev = &rs->md; rs_prepare_reshape() local 2837 struct mddev *mddev = &rs->md; rs_setup_reshape() local 3322 struct mddev *mddev = &rs->md; raid_map() local 3359 decipher_sync_action(struct mddev *mddev, unsigned long recovery) decipher_sync_action() argument 3420 struct mddev *mddev = &rs->md; rs_get_progress() local 3507 struct mddev *mddev = &rs->md; raid_status() local 3713 struct mddev *mddev = &rs->md; raid_message() local 3809 struct mddev *mddev = &rs->md; attempt_restore_of_faulty_devices() local 3903 struct mddev *mddev = &rs->md; rs_update_sbs() local 3922 struct mddev *mddev = &rs->md; rs_start_reshape() local 3969 struct mddev *mddev = &rs->md; raid_preresume() local 4037 struct mddev *mddev = &rs->md; raid_resume() local [all...] |
| H A D | md.c | 117 static inline int speed_min(struct mddev *mddev) in speed_min() argument 123 speed_max(struct mddev *mddev) speed_max() argument 138 rdevs_uninit_serial(struct mddev *mddev) rdevs_uninit_serial() argument 174 rdevs_init_serial(struct mddev *mddev) rdevs_init_serial() argument 209 mddev_create_serial_pool(struct mddev *mddev, struct md_rdev *rdev, bool is_suspend) mddev_create_serial_pool() argument 253 mddev_destroy_serial_pool(struct mddev *mddev, struct md_rdev *rdev, bool is_suspend) mddev_destroy_serial_pool() argument 356 is_suspended(struct mddev *mddev, struct bio *bio) is_suspended() argument 371 md_handle_request(struct mddev *mddev, struct bio *bio) md_handle_request() argument 405 struct mddev *mddev = bio->bi_bdev->bd_disk->private_data; md_submit_bio() local 440 mddev_suspend(struct mddev *mddev) mddev_suspend() argument 465 mddev_resume(struct mddev *mddev) mddev_resume() argument 490 struct mddev *mddev = rdev->mddev; md_end_flush() local 509 struct mddev *mddev = container_of(ws, struct mddev, flush_work); submit_flushes() local 543 struct mddev *mddev = container_of(ws, struct mddev, flush_work); md_submit_flush_data() local 573 md_flush_request(struct mddev *mddev, struct bio *bio) md_flush_request() argument 621 mddev_get(struct mddev *mddev) mddev_get() argument 633 mddev_put(struct mddev *mddev) mddev_put() argument 656 mddev_init(struct mddev *mddev) mddev_init() argument 684 struct mddev *mddev; mddev_find_locked() local 756 mddev_free(struct mddev *mddev) mddev_free() argument 767 mddev_unlock(struct mddev *mddev) mddev_unlock() argument 826 md_find_rdev_nr_rcu(struct mddev *mddev, int nr) md_find_rdev_nr_rcu() argument 838 find_rdev(struct mddev *mddev, dev_t dev) find_rdev() argument 849 md_find_rdev_rcu(struct mddev *mddev, dev_t dev) md_find_rdev_rcu() argument 907 struct mddev *mddev = rdev->mddev; super_written() local 929 md_super_write(struct mddev *mddev, struct md_rdev *rdev, sector_t sector, int size, struct page *page) md_super_write() argument 968 md_super_wait(struct mddev *mddev) md_super_wait() argument 1148 md_check_no_bitmap(struct mddev *mddev) md_check_no_bitmap() argument 1270 super_90_validate(struct mddev *mddev, struct md_rdev *freshest, struct md_rdev *rdev) super_90_validate() argument 1399 super_90_sync(struct mddev *mddev, struct md_rdev *rdev) super_90_sync() argument 1782 super_1_validate(struct mddev *mddev, struct md_rdev *freshest, struct md_rdev *rdev) super_1_validate() argument 1987 super_1_sync(struct mddev *mddev, struct md_rdev *rdev) super_1_sync() argument 2276 sync_super(struct mddev *mddev, struct md_rdev *rdev) sync_super() argument 2322 md_integrity_register(struct mddev *mddev) md_integrity_register() argument 2377 md_integrity_add_rdev(struct md_rdev *rdev, struct mddev *mddev) md_integrity_add_rdev() argument 2405 bind_rdev_to_array(struct md_rdev *rdev, struct mddev *mddev) bind_rdev_to_array() argument 2496 export_rdev(struct md_rdev *rdev, struct mddev *mddev) export_rdev() argument 2512 struct mddev *mddev = rdev->mddev; md_kick_rdev_from_array() local 2538 export_array(struct mddev *mddev) export_array() argument 2551 set_in_sync(struct mddev *mddev) set_in_sync() argument 2578 sync_sbs(struct mddev *mddev, int nospares) sync_sbs() argument 2601 does_sb_need_changing(struct mddev *mddev) does_sb_need_changing() argument 2642 md_update_sb(struct mddev *mddev, int force_change) md_update_sb() argument 2836 struct mddev *mddev = rdev->mddev; add_bound_rdev() local 2954 struct mddev *mddev = rdev->mddev; state_store() local 3269 struct mddev *mddev = rdev->mddev; new_offset_store() local 3335 struct mddev *mddev; md_rdev_overlaps() local 3605 struct mddev *mddev = rdev->mddev; rdev_attr_store() local 3757 analyze_sbs(struct mddev *mddev) analyze_sbs() argument 3858 safe_delay_show(struct mddev *mddev, char *page) safe_delay_show() argument 3865 safe_delay_store(struct mddev *mddev, const char *cbuf, size_t len) safe_delay_store() argument 3894 level_show(struct mddev *mddev, char *page) level_show() argument 3913 level_store(struct mddev *mddev, const char *buf, size_t len) level_store() argument 4120 layout_show(struct mddev *mddev, char *page) layout_show() argument 4131 layout_store(struct mddev *mddev, const char *buf, size_t len) layout_store() argument 4166 raid_disks_show(struct mddev *mddev, char *page) raid_disks_show() argument 4180 raid_disks_store(struct mddev *mddev, const char *buf, size_t len) raid_disks_store() argument 4221 uuid_show(struct mddev *mddev, char *page) uuid_show() argument 4229 chunk_size_show(struct mddev *mddev, char *page) chunk_size_show() argument 4240 chunk_size_store(struct mddev *mddev, const char *buf, size_t len) chunk_size_store() argument 4275 resync_start_show(struct mddev *mddev, char *page) resync_start_show() argument 4283 resync_start_store(struct mddev *mddev, const char *buf, size_t len) resync_start_store() argument 4372 array_state_show(struct mddev *mddev, char *page) array_state_show() argument 4415 array_state_store(struct mddev *mddev, const char *buf, size_t len) array_state_store() argument 4530 max_corrected_read_errors_show(struct mddev *mddev, char *page) max_corrected_read_errors_show() argument 4536 max_corrected_read_errors_store(struct mddev *mddev, const char *buf, size_t len) max_corrected_read_errors_store() argument 4555 null_show(struct mddev *mddev, char *page) null_show() argument 4561 new_dev_store(struct mddev *mddev, const char *buf, size_t len) new_dev_store() argument 4625 bitmap_store(struct mddev *mddev, const char *buf, size_t len) bitmap_store() argument 4659 size_show(struct mddev *mddev, char *page) size_show() argument 4668 size_store(struct mddev *mddev, const char *buf, size_t len) size_store() argument 4707 metadata_show(struct mddev *mddev, char *page) metadata_show() argument 4719 metadata_store(struct mddev *mddev, const char *buf, size_t len) metadata_store() argument 4785 action_show(struct mddev *mddev, char *page) action_show() argument 4810 stop_sync_thread(struct mddev *mddev) stop_sync_thread() argument 4840 idle_sync_thread(struct mddev *mddev) idle_sync_thread() argument 4854 frozen_sync_thread(struct mddev *mddev) frozen_sync_thread() argument 4867 action_store(struct mddev *mddev, const char *page, size_t len) action_store() argument 4937 last_sync_action_show(struct mddev *mddev, char *page) last_sync_action_show() argument 4945 mismatch_cnt_show(struct mddev *mddev, char *page) mismatch_cnt_show() argument 4955 sync_min_show(struct mddev *mddev, char *page) sync_min_show() argument 4962 sync_min_store(struct mddev *mddev, const char *buf, size_t len) sync_min_store() argument 4984 sync_max_show(struct mddev *mddev, char *page) sync_max_show() argument 4991 sync_max_store(struct mddev *mddev, const char *buf, size_t len) sync_max_store() argument 5013 degraded_show(struct mddev *mddev, char *page) degraded_show() argument 5020 sync_force_parallel_show(struct mddev *mddev, char *page) sync_force_parallel_show() argument 5026 sync_force_parallel_store(struct mddev *mddev, const char *buf, size_t len) sync_force_parallel_store() argument 5050 sync_speed_show(struct mddev *mddev, char *page) sync_speed_show() argument 5065 sync_completed_show(struct mddev *mddev, char *page) sync_completed_show() argument 5090 min_sync_show(struct mddev *mddev, char *page) min_sync_show() argument 5096 min_sync_store(struct mddev *mddev, const char *buf, size_t len) min_sync_store() argument 5126 max_sync_show(struct mddev *mddev, char *page) max_sync_show() argument 5135 max_sync_store(struct mddev *mddev, const char *buf, size_t len) max_sync_store() argument 5178 suspend_lo_show(struct mddev *mddev, char *page) suspend_lo_show() argument 5184 suspend_lo_store(struct mddev *mddev, const char *buf, size_t len) suspend_lo_store() argument 5215 suspend_hi_show(struct mddev *mddev, char *page) suspend_hi_show() argument 5221 suspend_hi_store(struct mddev *mddev, const char *buf, size_t len) suspend_hi_store() argument 5252 reshape_position_show(struct mddev *mddev, char *page) reshape_position_show() argument 5262 reshape_position_store(struct mddev *mddev, const char *buf, size_t len) reshape_position_store() argument 5298 reshape_direction_show(struct mddev *mddev, char *page) reshape_direction_show() argument 5305 reshape_direction_store(struct mddev *mddev, const char *buf, size_t len) reshape_direction_store() argument 5339 array_size_show(struct mddev *mddev, char *page) array_size_show() argument 5349 array_size_store(struct mddev *mddev, const char *buf, size_t len) array_size_store() argument 5395 consistency_policy_show(struct mddev *mddev, char *page) consistency_policy_show() argument 5418 consistency_policy_store(struct mddev *mddev, const char *buf, size_t len) consistency_policy_store() argument 5440 fail_last_dev_show(struct mddev *mddev, char *page) fail_last_dev_show() argument 5450 fail_last_dev_store(struct mddev *mddev, const char *buf, size_t len) fail_last_dev_store() argument 5468 serialize_policy_show(struct mddev *mddev, char *page) serialize_policy_show() argument 5481 serialize_policy_store(struct mddev *mddev, const char *buf, size_t len) serialize_policy_store() argument 5577 struct mddev *mddev = container_of(kobj, struct mddev, kobj); md_attr_show() local 5599 struct mddev *mddev = container_of(kobj, struct mddev, kobj); md_attr_store() local 5619 struct mddev *mddev = container_of(ko, struct mddev, kobj); md_kobj_release() local 5644 struct mddev *mddev = container_of(ws, struct mddev, del_work); mddev_delayed_delete() local 5651 mddev_init_writes_pending(struct mddev *mddev) mddev_init_writes_pending() argument 5676 struct mddev *mddev; md_alloc() local 5778 struct mddev *mddev = md_alloc(dev, name); md_alloc_and_put() local 5825 struct mddev *mddev = from_timer(mddev, t, safemode_timer); md_safemode_timeout() local 5837 struct mddev *mddev = container_of(ref, struct mddev, active_io); active_io_release() local 5842 md_run(struct mddev *mddev) md_run() argument 6132 do_md_run(struct mddev *mddev) do_md_run() argument 6167 md_start(struct mddev *mddev) md_start() argument 6182 restart_array(struct mddev *mddev) restart_array() argument 6224 md_clean(struct mddev *mddev) md_clean() argument 6281 __md_stop_writes(struct mddev *mddev) __md_stop_writes() argument 6312 md_stop_writes(struct mddev *mddev) md_stop_writes() argument 6320 mddev_detach(struct mddev *mddev) mddev_detach() argument 6332 __md_stop(struct mddev *mddev) __md_stop() argument 6357 md_stop(struct mddev *mddev) md_stop() argument 6371 md_set_readonly(struct mddev *mddev, struct block_device *bdev) md_set_readonly() argument 6437 do_md_stop(struct mddev *mddev, int mode, struct block_device *bdev) do_md_stop() argument 6527 autorun_array(struct mddev *mddev) autorun_array() argument 6564 struct mddev *mddev; autorun_devices() local 6650 get_array_info(struct mddev *mddev, void __user *arg) get_array_info() argument 6710 get_bitmap_file(struct mddev *mddev, void __user * arg) get_bitmap_file() argument 6742 get_disk_info(struct mddev *mddev, void __user * arg) get_disk_info() argument 6782 md_add_new_disk(struct mddev *mddev, struct mdu_disk_info_s *info) md_add_new_disk() argument 6987 hot_remove_disk(struct mddev *mddev, dev_t dev) hot_remove_disk() argument 7028 hot_add_disk(struct mddev *mddev, dev_t dev) hot_add_disk() argument 7108 set_bitmap_file(struct mddev *mddev, int fd) set_bitmap_file() argument 7214 md_set_array_info(struct mddev *mddev, struct mdu_array_info_s *info) md_set_array_info() argument 7288 md_set_array_sectors(struct mddev *mddev, sector_t array_sectors) md_set_array_sectors() argument 7299 update_size(struct mddev *mddev, sector_t num_sectors) update_size() argument 7343 update_raid_disks(struct mddev *mddev, int raid_disks) update_raid_disks() argument 7392 update_array_info(struct mddev *mddev, mdu_array_info_t *info) update_array_info() argument 7519 set_disk_faulty(struct mddev *mddev, dev_t dev) set_disk_faulty() argument 7548 struct mddev *mddev = bdev->bd_disk->private_data; md_getgeo() local 7580 __md_set_array_info(struct mddev *mddev, void __user *argp) __md_set_array_info() argument 7619 struct mddev *mddev = NULL; md_ioctl() local 7862 struct mddev *mddev = bdev->bd_disk->private_data; md_set_read_only() local 7892 struct mddev *mddev; md_open() local 7924 struct mddev *mddev = disk->private_data; md_release() local 7933 struct mddev *mddev = disk->private_data; md_check_events() local 7944 struct mddev *mddev = disk->private_data; md_free_disk() local 8035 md_register_thread(void (*run) (struct md_thread *), struct mddev *mddev, const char *name) md_register_thread() argument 8061 md_unregister_thread(struct mddev *mddev, struct md_thread __rcu **threadp) md_unregister_thread() argument 8078 md_error(struct mddev *mddev, struct md_rdev *rdev) md_error() argument 8123 status_resync(struct seq_file *seq, struct mddev *mddev) status_resync() argument 8265 struct mddev *mddev; md_seq_start() local 8295 struct mddev *next_mddev, *mddev = v; md_seq_next() local 8332 struct mddev *mddev = v; md_seq_stop() local 8340 struct mddev *mddev = v; md_seq_show() local 8528 md_setup_cluster(struct mddev *mddev, int nodes) md_setup_cluster() argument 8548 md_cluster_stop(struct mddev *mddev) md_cluster_stop() argument 8556 is_mddev_idle(struct mddev *mddev, int init) is_mddev_idle() argument 8599 md_done_sync(struct mddev *mddev, int blocks, int ok) md_done_sync() argument 8620 md_write_start(struct mddev *mddev, struct bio *bi) md_write_start() argument 8677 md_write_inc(struct mddev *mddev, struct bio *bi) md_write_inc() argument 8686 md_write_end(struct mddev *mddev) md_write_end() argument 8704 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 8727 struct mddev *mddev = md_io_clone->mddev; md_end_clone_io() local 8740 md_clone_bio(struct mddev *mddev, struct bio **bio) md_clone_bio() argument 8758 md_account_bio(struct mddev *mddev, struct bio **bio) md_account_bio() argument 8771 md_allow_write(struct mddev *mddev) md_allow_write() argument 8804 struct mddev *mddev = thread->mddev; md_do_sync() local 9222 remove_and_add_spares(struct mddev *mddev, struct md_rdev *this) remove_and_add_spares() argument 9317 struct mddev *mddev = container_of(ws, struct mddev, del_work); md_start_sync() local 9363 md_check_recovery(struct mddev *mddev) md_check_recovery() argument 9550 md_reap_sync_thread(struct mddev *mddev) md_reap_sync_thread() argument 9615 md_wait_for_blocked_rdev(struct md_rdev *rdev, struct mddev *mddev) md_wait_for_blocked_rdev() argument 9626 md_finish_reshape(struct mddev *mddev) md_finish_reshape() argument 9647 struct mddev *mddev = rdev->mddev; rdev_set_badblocks() local 9686 struct mddev *mddev, *n; md_notify_reboot() local 9776 check_sb_changes(struct mddev *mddev, struct md_rdev *rdev) check_sb_changes() argument 9876 read_rdev(struct mddev *mddev, struct md_rdev *rdev) read_rdev() argument 9923 md_reload_sb(struct mddev *mddev, int nr) md_reload_sb() argument 10026 struct mddev *mddev, *n; md_exit() local [all...] |
| H A D | raid5.c | 2749 rdev_mdlock_deref(struct mddev *mddev, struct md_rdev __rcu *rdev) rdev_mdlock_deref() argument 2962 raid5_error(struct mddev *mddev, struct md_rdev *rdev) raid5_error() argument 5420 in_chunk_boundary(struct mddev *mddev, struct bio *bio) in_chunk_boundary() argument 5480 struct mddev *mddev = rdev->mddev; raid5_align_endio() local 5500 raid5_read_one_chunk(struct mddev *mddev, struct bio *raid_bio) raid5_read_one_chunk() argument 5585 chunk_aligned_read(struct mddev *mddev, struct bio *raid_bio) chunk_aligned_read() argument 5720 struct mddev *mddev = cb->cb.data; raid5_unplug() local 5754 release_stripe_plug(struct mddev *mddev, struct stripe_head *sh) release_stripe_plug() argument 5782 make_discard_request(struct mddev *mddev, struct bio *bi) make_discard_request() argument 5873 ahead_of_reshape(struct mddev *mddev, sector_t sector, sector_t reshape_sector) ahead_of_reshape() argument 5880 range_ahead_of_reshape(struct mddev *mddev, sector_t min, sector_t max, sector_t reshape_sector) range_ahead_of_reshape() argument 5887 stripe_ahead_of_reshape(struct mddev *mddev, struct r5conf *conf, struct stripe_head *sh) stripe_ahead_of_reshape() argument 5963 reshape_inprogress(struct mddev *mddev) reshape_inprogress() argument 5971 reshape_disabled(struct mddev *mddev) reshape_disabled() argument 5976 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 6131 raid5_make_request(struct mddev *mddev, struct bio * bi) raid5_make_request() argument 6261 reshape_request(struct mddev *mddev, sector_t sector_nr, int *skipped) reshape_request() argument 6532 raid5_sync_request(struct mddev *mddev, sector_t sector_nr, int *skipped) raid5_sync_request() argument 6745 struct mddev *mddev = conf->mddev; raid5_do_work() local 6793 struct mddev *mddev = thread->mddev; raid5d() local 6883 raid5_show_stripe_cache_size(struct mddev *mddev, char *page) raid5_show_stripe_cache_size() argument 6896 raid5_set_cache_size(struct mddev *mddev, int size) raid5_set_cache_size() argument 6927 raid5_store_stripe_cache_size(struct mddev *mddev, const char *page, size_t len) raid5_store_stripe_cache_size() argument 6956 raid5_show_rmw_level(struct mddev *mddev, char *page) raid5_show_rmw_level() argument 6966 raid5_store_rmw_level(struct mddev *mddev, const char *page, size_t len) raid5_store_rmw_level() argument 6998 raid5_show_stripe_size(struct mddev *mddev, char *page) raid5_show_stripe_size() argument 7013 raid5_store_stripe_size(struct mddev *mddev, const char *page, size_t len) raid5_store_stripe_size() argument 7093 raid5_show_preread_threshold(struct mddev *mddev, char *page) raid5_show_preread_threshold() argument 7106 raid5_store_preread_threshold(struct mddev *mddev, const char *page, size_t len) raid5_store_preread_threshold() argument 7138 raid5_show_skip_copy(struct mddev *mddev, char *page) raid5_show_skip_copy() argument 7151 raid5_store_skip_copy(struct mddev *mddev, const char *page, size_t len) raid5_store_skip_copy() argument 7190 stripe_cache_active_show(struct mddev *mddev, char *page) stripe_cache_active_show() argument 7203 raid5_show_group_thread_cnt(struct mddev *mddev, char *page) raid5_show_group_thread_cnt() argument 7219 raid5_store_group_thread_cnt(struct mddev *mddev, const char *page, size_t len) raid5_store_group_thread_cnt() argument 7343 raid5_size(struct mddev *mddev, sector_t sectors, int raid_disks) raid5_size() argument 7490 setup_conf(struct mddev *mddev) setup_conf() argument 7779 raid5_run(struct mddev *mddev) raid5_run() argument 8127 raid5_free(struct mddev *mddev, void *priv) raid5_free() argument 8135 raid5_status(struct seq_file *seq, struct mddev *mddev) raid5_status() argument 8177 raid5_spare_active(struct mddev *mddev) raid5_spare_active() argument 8222 raid5_remove_disk(struct mddev *mddev, struct md_rdev *rdev) raid5_remove_disk() argument 8315 raid5_add_disk(struct mddev *mddev, struct md_rdev *rdev) raid5_add_disk() argument 8397 raid5_resize(struct mddev *mddev, sector_t sectors) raid5_resize() argument 8432 check_stripe_cache(struct mddev *mddev) check_stripe_cache() argument 8456 check_reshape(struct mddev *mddev) check_reshape() argument 8500 raid5_start_reshape(struct mddev *mddev) raid5_start_reshape() argument 8677 raid5_finish_reshape(struct mddev *mddev) raid5_finish_reshape() argument 8710 raid5_quiesce(struct mddev *mddev, int quiesce) raid5_quiesce() argument 8745 raid45_takeover_raid0(struct mddev *mddev, int level) raid45_takeover_raid0() argument 8771 raid5_takeover_raid1(struct mddev *mddev) raid5_takeover_raid1() argument 8803 raid5_takeover_raid6(struct mddev *mddev) raid5_takeover_raid6() argument 8836 raid5_check_reshape(struct mddev *mddev) raid5_check_reshape() argument 8876 raid6_check_reshape(struct mddev *mddev) raid6_check_reshape() argument 8896 raid5_takeover(struct mddev *mddev) raid5_takeover() argument 8919 raid4_takeover(struct mddev *mddev) raid4_takeover() argument 8938 raid6_takeover(struct mddev *mddev) raid6_takeover() argument 8984 raid5_change_consistency_policy(struct mddev *mddev, const char *buf) raid5_change_consistency_policy() argument 9049 raid5_start(struct mddev *mddev) raid5_start() argument 9056 raid5_prepare_suspend(struct mddev *mddev) raid5_prepare_suspend() argument [all...] |
| /kernel/linux/linux-5.10/drivers/md/ |
| H A D | md.h | 52 struct mddev *mddev; /* RAID array if running */ member 283 struct mddev { struct 532 static inline int __must_check mddev_lock(struct mddev *mddev) in mddev_lock() argument 540 static inline void mddev_lock_nointr(struct mddev *mddev) in mddev_lock_nointr() argument 545 mddev_trylock(struct mddev *mddev) mddev_trylock() argument 629 mdname(struct mddev * mddev) mdname() argument 634 sysfs_link_rdev(struct mddev *mddev, struct md_rdev *rdev) sysfs_link_rdev() argument 646 sysfs_unlink_rdev(struct mddev *mddev, struct md_rdev *rdev) sysfs_unlink_rdev() argument 678 struct mddev *mddev; global() member 770 rdev_dec_pending(struct md_rdev *rdev, struct mddev *mddev) rdev_dec_pending() argument 780 mddev_is_clustered(struct mddev *mddev) mddev_is_clustered() argument 786 mddev_clear_unsupported_flags(struct mddev *mddev, unsigned long unsupported_flags) mddev_clear_unsupported_flags() argument 792 mddev_check_writesame(struct mddev *mddev, struct bio *bio) mddev_check_writesame() argument 799 mddev_check_write_zeroes(struct mddev *mddev, struct bio *bio) mddev_check_write_zeroes() argument [all...] |
| H A D | raid10.c | 273 struct mddev *mdde in reschedule_retry() local 1065 struct mddev *mddev = plug->cb.data; raid10_unplug() local 1110 regular_request_wait(struct mddev *mddev, struct r10conf *conf, struct bio *bio, sector_t sectors) regular_request_wait() argument 1127 raid10_read_request(struct mddev *mddev, struct bio *bio, struct r10bio *r10_bio) raid10_read_request() argument 1221 raid10_write_one_disk(struct mddev *mddev, struct r10bio *r10_bio, struct bio *bio, bool replacement, int n_copy) raid10_write_one_disk() argument 1289 raid10_write_request(struct mddev *mddev, struct bio *bio, struct r10bio *r10_bio) raid10_write_request() argument 1499 __make_request(struct mddev *mddev, struct bio *bio, int sectors) __make_request() argument 1521 raid10_make_request(struct mddev *mddev, struct bio *bio) raid10_make_request() argument 1554 raid10_status(struct seq_file *seq, struct mddev *mddev) raid10_status() argument 1634 raid10_error(struct mddev *mddev, struct md_rdev *rdev) raid10_error() argument 1706 raid10_spare_active(struct mddev *mddev) raid10_spare_active() argument 1754 raid10_add_disk(struct mddev *mddev, struct md_rdev *rdev) raid10_add_disk() argument 1822 raid10_remove_disk(struct mddev *mddev, struct md_rdev *rdev) raid10_remove_disk() argument 1931 struct mddev *mddev = r10_bio->mddev; end_sync_request() local 1959 struct mddev *mddev = r10_bio->mddev; end_sync_write() local 2011 sync_request_write(struct mddev *mddev, struct r10bio *r10_bio) sync_request_write() argument 2153 struct mddev *mddev = r10_bio->mddev; fix_recovery_read_error() local 2227 recovery_request_write(struct mddev *mddev, struct r10bio *r10_bio) recovery_request_write() argument 2274 check_decay_read_errors(struct mddev *mddev, struct md_rdev *rdev) check_decay_read_errors() argument 2336 fix_read_error(struct r10conf *conf, struct mddev *mddev, struct r10bio *r10_bio) fix_read_error() argument 2524 struct mddev *mddev = r10_bio->mddev; narrow_write_error() local 2582 handle_read_error(struct mddev *mddev, struct r10bio *r10_bio) handle_read_error() argument 2719 struct mddev *mddev = thread->mddev; raid10d() local 2907 raid10_sync_request(struct mddev *mddev, sector_t sector_nr, int *skipped) raid10_sync_request() argument 3527 raid10_size(struct mddev *mddev, sector_t sectors, int raid_disks) raid10_size() argument 3577 setup_geo(struct geom *geo, struct mddev *mddev, enum geo_type new) setup_geo() argument 3647 setup_conf(struct mddev *mddev) setup_conf() argument 3743 raid10_run(struct mddev *mddev) raid10_run() argument 3941 raid10_free(struct mddev *mddev, void *priv) raid10_free() argument 3946 raid10_quiesce(struct mddev *mddev, int quiesce) raid10_quiesce() argument 3956 raid10_resize(struct mddev *mddev, sector_t sectors) raid10_resize() argument 4001 raid10_takeover_raid0(struct mddev *mddev, sector_t size, int devs) raid10_takeover_raid0() argument 4037 raid10_takeover(struct mddev *mddev) raid10_takeover() argument 4059 raid10_check_reshape(struct mddev *mddev) raid10_check_reshape() argument 4166 raid10_start_reshape(struct mddev *mddev) raid10_start_reshape() argument 4384 reshape_request(struct mddev *mddev, sector_t sector_nr, int *skipped) reshape_request() argument 4669 reshape_request_write(struct mddev *mddev, struct r10bio *r10_bio) reshape_request_write() argument 4734 raid10_update_reshape_pos(struct mddev *mddev) raid10_update_reshape_pos() argument 4747 handle_reshape_read_error(struct mddev *mddev, struct r10bio *r10_bio) handle_reshape_read_error() argument 4825 struct mddev *mddev = r10_bio->mddev; end_reshape_write() local 4858 raid10_finish_reshape(struct mddev *mddev) raid10_finish_reshape() argument [all...] |
| H A D | raid5-cache.c | 684 struct mddev *mddev = log->rdev->mddev; in r5c_disable_writeback_async() local 864 struct mddev *mddev = log->rdev->mddev; r5l_append_flush_payload() local 1317 struct mddev *mddev; r5l_write_super_and_discard_space() local 1551 struct mddev *mddev = thread->mddev; r5l_reclaim_thread() local 1578 struct mddev *mddev; r5l_quiesce() local 1816 struct mddev *mddev = log->rdev->mddev; r5l_recovery_load_data() local 1838 struct mddev *mddev = log->rdev->mddev; r5l_recovery_load_parity() local 2006 struct mddev *mddev = log->rdev->mddev; r5l_recovery_verify_data_checksum_for_mb() local 2080 struct mddev *mddev = log->rdev->mddev; r5c_recovery_analyze_meta_block() local 2356 struct mddev *mddev = log->rdev->mddev; r5c_recovery_rewrite_data_only_stripes() local 2428 struct mddev *mddev = log->rdev->mddev; r5c_recovery_flush_data_only_stripes() local 2460 struct mddev *mddev = log->rdev->mddev; r5l_recovery_log() local 2529 struct mddev *mddev = log->rdev->mddev; r5l_write_super() local 2535 r5c_journal_mode_show(struct mddev *mddev, char *page) r5c_journal_mode_show() argument 2573 r5c_journal_mode_set(struct mddev *mddev, int mode) r5c_journal_mode_set() argument 2599 r5c_journal_mode_store(struct mddev *mddev, const char *page, size_t length) r5c_journal_mode_store() argument 3044 struct mddev *mddev = log->rdev->mddev; r5l_start() local 3052 r5c_update_on_rdev_error(struct mddev *mddev, struct md_rdev *rdev) r5c_update_on_rdev_error() argument [all...] |
| H A D | raid5.h | 566 struct mddev *mddev; member
|
| H A D | dm-raid.c | 261 struct mddev *mddev = &rs->md; in rs_config_backup() local 270 struct mddev *mddev = &rs->md; in rs_config_restore() local 684 struct mddev *mddev = &rs->md; rs_set_rdev_sectors() local 713 struct mddev *mddev = &rs->md; rs_set_cur() local 726 struct mddev *mddev = &rs->md; rs_set_new() local 1539 struct mddev *mddev = &rs->md; rs_set_raid456_stripe_cache() local 1629 struct mddev *mddev = &rs->md; rs_set_dev_and_array_sectors() local 1717 struct mddev *mddev = &rs->md; rs_check_takeover() local 1886 struct mddev *mddev = &rs->md; rs_reshape_requested() local 2014 struct mddev *mddev = &rs->md; rs_check_reshape() local 2081 super_sync(struct mddev *mddev, struct md_rdev *rdev) super_sync() argument 2212 struct mddev *mddev = &rs->md; super_init_validation() local 2434 struct mddev *mddev = &rs->md; super_validate() local 2507 struct mddev *mddev = &rs->md; analyse_superblocks() local 2710 struct mddev *mddev = &rs->md; rs_setup_takeover() local 2756 struct mddev *mddev = &rs->md; rs_prepare_reshape() local 2840 struct mddev *mddev = &rs->md; rs_setup_reshape() local 3329 struct mddev *mddev = &rs->md; raid_map() local 3366 decipher_sync_action(struct mddev *mddev, unsigned long recovery) decipher_sync_action() argument 3427 struct mddev *mddev = &rs->md; rs_get_progress() local 3514 struct mddev *mddev = &rs->md; raid_status() local 3681 struct mddev *mddev = &rs->md; raid_message() local 3786 struct mddev *mddev = &rs->md; attempt_restore_of_faulty_devices() local 3880 struct mddev *mddev = &rs->md; rs_update_sbs() local 3899 struct mddev *mddev = &rs->md; rs_start_reshape() local 3946 struct mddev *mddev = &rs->md; raid_preresume() local 4014 struct mddev *mddev = &rs->md; raid_resume() local [all...] |
| H A D | raid5.c | 2873 raid5_error(struct mddev *mddev, struct md_rdev *rdev) raid5_error() argument 5304 in_chunk_boundary(struct mddev *mddev, struct bio *bio) in_chunk_boundary() argument 5365 struct mddev *mddev; raid5_align_endio() local 5391 raid5_read_one_chunk(struct mddev *mddev, struct bio *raid_bio) raid5_read_one_chunk() argument 5481 chunk_aligned_read(struct mddev *mddev, struct bio *raid_bio) chunk_aligned_read() argument 5615 struct mddev *mddev = cb->cb.data; raid5_unplug() local 5649 release_stripe_plug(struct mddev *mddev, struct stripe_head *sh) release_stripe_plug() argument 5677 make_discard_request(struct mddev *mddev, struct bio *bi) make_discard_request() argument 5764 raid5_make_request(struct mddev *mddev, struct bio * bi) raid5_make_request() argument 5939 reshape_request(struct mddev *mddev, sector_t sector_nr, int *skipped) reshape_request() argument 6208 raid5_sync_request(struct mddev *mddev, sector_t sector_nr, int *skipped) raid5_sync_request() argument 6421 struct mddev *mddev = conf->mddev; raid5_do_work() local 6469 struct mddev *mddev = thread->mddev; raid5d() local 6548 raid5_show_stripe_cache_size(struct mddev *mddev, char *page) raid5_show_stripe_cache_size() argument 6561 raid5_set_cache_size(struct mddev *mddev, int size) raid5_set_cache_size() argument 6592 raid5_store_stripe_cache_size(struct mddev *mddev, const char *page, size_t len) raid5_store_stripe_cache_size() argument 6621 raid5_show_rmw_level(struct mddev *mddev, char *page) raid5_show_rmw_level() argument 6631 raid5_store_rmw_level(struct mddev *mddev, const char *page, size_t len) raid5_store_rmw_level() argument 6663 raid5_show_stripe_size(struct mddev *mddev, char *page) raid5_show_stripe_size() argument 6678 raid5_store_stripe_size(struct mddev *mddev, const char *page, size_t len) raid5_store_stripe_size() argument 6758 raid5_show_preread_threshold(struct mddev *mddev, char *page) raid5_show_preread_threshold() argument 6771 raid5_store_preread_threshold(struct mddev *mddev, const char *page, size_t len) raid5_store_preread_threshold() argument 6803 raid5_show_skip_copy(struct mddev *mddev, char *page) raid5_show_skip_copy() argument 6816 raid5_store_skip_copy(struct mddev *mddev, const char *page, size_t len) raid5_store_skip_copy() argument 6855 stripe_cache_active_show(struct mddev *mddev, char *page) stripe_cache_active_show() argument 6868 raid5_show_group_thread_cnt(struct mddev *mddev, char *page) raid5_show_group_thread_cnt() argument 6884 raid5_store_group_thread_cnt(struct mddev *mddev, const char *page, size_t len) raid5_store_group_thread_cnt() argument 7008 raid5_size(struct mddev *mddev, sector_t sectors, int raid_disks) raid5_size() argument 7152 setup_conf(struct mddev *mddev) setup_conf() argument 7435 raid5_run(struct mddev *mddev) raid5_run() argument 7786 raid5_free(struct mddev *mddev, void *priv) raid5_free() argument 7794 raid5_status(struct seq_file *seq, struct mddev *mddev) raid5_status() argument 7835 raid5_spare_active(struct mddev *mddev) raid5_spare_active() argument 7878 raid5_remove_disk(struct mddev *mddev, struct md_rdev *rdev) raid5_remove_disk() argument 7963 raid5_add_disk(struct mddev *mddev, struct md_rdev *rdev) raid5_add_disk() argument 8043 raid5_resize(struct mddev *mddev, sector_t sectors) raid5_resize() argument 8078 check_stripe_cache(struct mddev *mddev) check_stripe_cache() argument 8102 check_reshape(struct mddev *mddev) check_reshape() argument 8146 raid5_start_reshape(struct mddev *mddev) raid5_start_reshape() argument 8315 raid5_finish_reshape(struct mddev *mddev) raid5_finish_reshape() argument 8345 raid5_quiesce(struct mddev *mddev, int quiesce) raid5_quiesce() argument 8377 raid45_takeover_raid0(struct mddev *mddev, int level) raid45_takeover_raid0() argument 8403 raid5_takeover_raid1(struct mddev *mddev) raid5_takeover_raid1() argument 8435 raid5_takeover_raid6(struct mddev *mddev) raid5_takeover_raid6() argument 8468 raid5_check_reshape(struct mddev *mddev) raid5_check_reshape() argument 8508 raid6_check_reshape(struct mddev *mddev) raid6_check_reshape() argument 8528 raid5_takeover(struct mddev *mddev) raid5_takeover() argument 8551 raid4_takeover(struct mddev *mddev) raid4_takeover() argument 8570 raid6_takeover(struct mddev *mddev) raid6_takeover() argument 8616 raid5_change_consistency_policy(struct mddev *mddev, const char *buf) raid5_change_consistency_policy() argument 8678 raid5_start(struct mddev *mddev) raid5_start() argument [all...] |
| H A D | md.c | 117 static inline int speed_min(struct mddev *mddev) in speed_min() argument 123 static inline int speed_max(struct mddev *mdde argument 138 rdevs_uninit_serial(struct mddev *mddev) rdevs_uninit_serial() argument 174 rdevs_init_serial(struct mddev *mddev) rdevs_init_serial() argument 209 mddev_create_serial_pool(struct mddev *mddev, struct md_rdev *rdev, bool is_suspend) mddev_create_serial_pool() argument 253 mddev_destroy_serial_pool(struct mddev *mddev, struct md_rdev *rdev, bool is_suspend) mddev_destroy_serial_pool() argument 343 bio_alloc_mddev(gfp_t gfp_mask, int nr_iovecs, struct mddev *mddev) bio_alloc_mddev() argument 353 md_bio_alloc_sync(struct mddev *mddev) md_bio_alloc_sync() argument 373 md_new_event(struct mddev *mddev) md_new_event() argument 416 is_suspended(struct mddev *mddev, struct bio *bio) is_suspended() argument 431 md_handle_request(struct mddev *mddev, struct bio *bio) md_handle_request() argument 465 struct mddev *mddev = bio->bi_disk->private_data; md_submit_bio() local 500 mddev_suspend(struct mddev *mddev) mddev_suspend() argument 521 mddev_resume(struct mddev *mddev) mddev_resume() argument 544 struct mddev *mddev = rdev->mddev; md_end_flush() local 560 struct mddev *mddev = container_of(ws, struct mddev, flush_work); submit_flushes() local 595 struct mddev *mddev = container_of(ws, struct mddev, flush_work); md_submit_flush_data() local 625 md_flush_request(struct mddev *mddev, struct bio *bio) md_flush_request() argument 657 mddev_get(struct mddev *mddev) mddev_get() argument 665 mddev_put(struct mddev *mddev) mddev_put() argument 688 mddev_init(struct mddev *mddev) mddev_init() argument 715 struct mddev *mddev; mddev_find_locked() local 726 struct mddev *mddev; mddev_find() local 742 struct mddev *mddev, *new = NULL; mddev_find_or_alloc() local 811 mddev_unlock(struct mddev *mddev) mddev_unlock() argument 862 md_find_rdev_nr_rcu(struct mddev *mddev, int nr) md_find_rdev_nr_rcu() argument 874 find_rdev(struct mddev *mddev, dev_t dev) find_rdev() argument 885 md_find_rdev_rcu(struct mddev *mddev, dev_t dev) md_find_rdev_rcu() argument 944 struct mddev *mddev = rdev->mddev; super_written() local 966 md_super_write(struct mddev *mddev, struct md_rdev *rdev, sector_t sector, int size, struct page *page) md_super_write() argument 1004 md_super_wait(struct mddev *mddev) md_super_wait() argument 1188 md_check_no_bitmap(struct mddev *mddev) md_check_no_bitmap() argument 1311 super_90_validate(struct mddev *mddev, struct md_rdev *freshest, struct md_rdev *rdev) super_90_validate() argument 1440 super_90_sync(struct mddev *mddev, struct md_rdev *rdev) super_90_sync() argument 1826 super_1_validate(struct mddev *mddev, struct md_rdev *freshest, struct md_rdev *rdev) super_1_validate() argument 2031 super_1_sync(struct mddev *mddev, struct md_rdev *rdev) super_1_sync() argument 2321 sync_super(struct mddev *mddev, struct md_rdev *rdev) sync_super() argument 2367 md_integrity_register(struct mddev *mddev) md_integrity_register() argument 2414 md_integrity_add_rdev(struct md_rdev *rdev, struct mddev *mddev) md_integrity_add_rdev() argument 2437 bind_rdev_to_array(struct md_rdev *rdev, struct mddev *mddev) bind_rdev_to_array() argument 2612 export_array(struct mddev *mddev) export_array() argument 2625 set_in_sync(struct mddev *mddev) set_in_sync() argument 2652 sync_sbs(struct mddev *mddev, int nospares) sync_sbs() argument 2675 does_sb_need_changing(struct mddev *mddev) does_sb_need_changing() argument 2716 md_update_sb(struct mddev *mddev, int force_change) md_update_sb() argument 2912 struct mddev *mddev = rdev->mddev; add_bound_rdev() local 3030 struct mddev *mddev = rdev->mddev; state_store() local 3344 struct mddev *mddev = rdev->mddev; new_offset_store() local 3464 struct mddev *mddev; rdev_size_store() local 3682 struct mddev *mddev = rdev->mddev; rdev_attr_store() local 3812 analyze_sbs(struct mddev *mddev) analyze_sbs() argument 3914 safe_delay_show(struct mddev *mddev, char *page) safe_delay_show() argument 3921 safe_delay_store(struct mddev *mddev, const char *cbuf, size_t len) safe_delay_store() argument 3950 level_show(struct mddev *mddev, char *page) level_show() argument 3969 level_store(struct mddev *mddev, const char *buf, size_t len) level_store() argument 4176 layout_show(struct mddev *mddev, char *page) layout_show() argument 4187 layout_store(struct mddev *mddev, const char *buf, size_t len) layout_store() argument 4222 raid_disks_show(struct mddev *mddev, char *page) raid_disks_show() argument 4236 raid_disks_store(struct mddev *mddev, const char *buf, size_t len) raid_disks_store() argument 4277 uuid_show(struct mddev *mddev, char *page) uuid_show() argument 4285 chunk_size_show(struct mddev *mddev, char *page) chunk_size_show() argument 4296 chunk_size_store(struct mddev *mddev, const char *buf, size_t len) chunk_size_store() argument 4331 resync_start_show(struct mddev *mddev, char *page) resync_start_show() argument 4339 resync_start_store(struct mddev *mddev, const char *buf, size_t len) resync_start_store() argument 4429 array_state_show(struct mddev *mddev, char *page) array_state_show() argument 4472 array_state_store(struct mddev *mddev, const char *buf, size_t len) array_state_store() argument 4586 max_corrected_read_errors_show(struct mddev *mddev, char *page) max_corrected_read_errors_show() argument 4592 max_corrected_read_errors_store(struct mddev *mddev, const char *buf, size_t len) max_corrected_read_errors_store() argument 4611 null_show(struct mddev *mddev, char *page) null_show() argument 4617 flush_rdev_wq(struct mddev *mddev) flush_rdev_wq() argument 4631 new_dev_store(struct mddev *mddev, const char *buf, size_t len) new_dev_store() argument 4696 bitmap_store(struct mddev *mddev, const char *buf, size_t len) bitmap_store() argument 4730 size_show(struct mddev *mddev, char *page) size_show() argument 4739 size_store(struct mddev *mddev, const char *buf, size_t len) size_store() argument 4778 metadata_show(struct mddev *mddev, char *page) metadata_show() argument 4790 metadata_store(struct mddev *mddev, const char *buf, size_t len) metadata_store() argument 4856 action_show(struct mddev *mddev, char *page) action_show() argument 4882 action_store(struct mddev *mddev, const char *page, size_t len) action_store() argument 4963 last_sync_action_show(struct mddev *mddev, char *page) last_sync_action_show() argument 4971 mismatch_cnt_show(struct mddev *mddev, char *page) mismatch_cnt_show() argument 4981 sync_min_show(struct mddev *mddev, char *page) sync_min_show() argument 4988 sync_min_store(struct mddev *mddev, const char *buf, size_t len) sync_min_store() argument 5010 sync_max_show(struct mddev *mddev, char *page) sync_max_show() argument 5017 sync_max_store(struct mddev *mddev, const char *buf, size_t len) sync_max_store() argument 5039 degraded_show(struct mddev *mddev, char *page) degraded_show() argument 5046 sync_force_parallel_show(struct mddev *mddev, char *page) sync_force_parallel_show() argument 5052 sync_force_parallel_store(struct mddev *mddev, const char *buf, size_t len) sync_force_parallel_store() argument 5076 sync_speed_show(struct mddev *mddev, char *page) sync_speed_show() argument 5091 sync_completed_show(struct mddev *mddev, char *page) sync_completed_show() argument 5116 min_sync_show(struct mddev *mddev, char *page) min_sync_show() argument 5122 min_sync_store(struct mddev *mddev, const char *buf, size_t len) min_sync_store() argument 5152 max_sync_show(struct mddev *mddev, char *page) max_sync_show() argument 5161 max_sync_store(struct mddev *mddev, const char *buf, size_t len) max_sync_store() argument 5205 suspend_lo_show(struct mddev *mddev, char *page) suspend_lo_show() argument 5211 suspend_lo_store(struct mddev *mddev, const char *buf, size_t len) suspend_lo_store() argument 5242 suspend_hi_show(struct mddev *mddev, char *page) suspend_hi_show() argument 5248 suspend_hi_store(struct mddev *mddev, const char *buf, size_t len) suspend_hi_store() argument 5279 reshape_position_show(struct mddev *mddev, char *page) reshape_position_show() argument 5289 reshape_position_store(struct mddev *mddev, const char *buf, size_t len) reshape_position_store() argument 5325 reshape_direction_show(struct mddev *mddev, char *page) reshape_direction_show() argument 5332 reshape_direction_store(struct mddev *mddev, const char *buf, size_t len) reshape_direction_store() argument 5366 array_size_show(struct mddev *mddev, char *page) array_size_show() argument 5376 array_size_store(struct mddev *mddev, const char *buf, size_t len) array_size_store() argument 5423 consistency_policy_show(struct mddev *mddev, char *page) consistency_policy_show() argument 5446 consistency_policy_store(struct mddev *mddev, const char *buf, size_t len) consistency_policy_store() argument 5468 fail_last_dev_show(struct mddev *mddev, char *page) fail_last_dev_show() argument 5478 fail_last_dev_store(struct mddev *mddev, const char *buf, size_t len) fail_last_dev_store() argument 5496 serialize_policy_show(struct mddev *mddev, char *page) serialize_policy_show() argument 5509 serialize_policy_store(struct mddev *mddev, const char *buf, size_t len) serialize_policy_store() argument 5595 struct mddev *mddev = container_of(kobj, struct mddev, kobj); md_attr_show() local 5618 struct mddev *mddev = container_of(kobj, struct mddev, kobj); md_attr_store() local 5639 struct mddev *mddev = container_of(ko, struct mddev, kobj); md_free() local 5673 struct mddev *mddev = container_of(ws, struct mddev, del_work); mddev_delayed_delete() local 5682 mddev_init_writes_pending(struct mddev *mddev) mddev_init_writes_pending() argument 5707 struct mddev *mddev = mddev_find_or_alloc(dev); md_alloc() local 5847 struct mddev *mddev = from_timer(mddev, t, safemode_timer); md_safemode_timeout() local 5858 md_run(struct mddev *mddev) md_run() argument 6128 do_md_run(struct mddev *mddev) do_md_run() argument 6164 md_start(struct mddev *mddev) md_start() argument 6179 restart_array(struct mddev *mddev) restart_array() argument 6221 md_clean(struct mddev *mddev) md_clean() argument 6270 __md_stop_writes(struct mddev *mddev) __md_stop_writes() argument 6301 md_stop_writes(struct mddev *mddev) md_stop_writes() argument 6309 mddev_detach(struct mddev *mddev) mddev_detach() argument 6321 __md_stop(struct mddev *mddev) __md_stop() argument 6340 md_stop(struct mddev *mddev) md_stop() argument 6355 md_set_readonly(struct mddev *mddev, struct block_device *bdev) md_set_readonly() argument 6417 do_md_stop(struct mddev *mddev, int mode, struct block_device *bdev) do_md_stop() argument 6506 autorun_array(struct mddev *mddev) autorun_array() argument 6544 struct mddev *mddev; autorun_devices() local 6632 get_array_info(struct mddev *mddev, void __user *arg) get_array_info() argument 6692 get_bitmap_file(struct mddev *mddev, void __user * arg) get_bitmap_file() argument 6724 get_disk_info(struct mddev *mddev, void __user * arg) get_disk_info() argument 6764 md_add_new_disk(struct mddev *mddev, struct mdu_disk_info_s *info) md_add_new_disk() argument 6971 hot_remove_disk(struct mddev *mddev, dev_t dev) hot_remove_disk() argument 7013 hot_add_disk(struct mddev *mddev, dev_t dev) hot_add_disk() argument 7085 set_bitmap_file(struct mddev *mddev, int fd) set_bitmap_file() argument 7182 md_set_array_info(struct mddev *mddev, struct mdu_array_info_s *info) md_set_array_info() argument 7256 md_set_array_sectors(struct mddev *mddev, sector_t array_sectors) md_set_array_sectors() argument 7267 update_size(struct mddev *mddev, sector_t num_sectors) update_size() argument 7311 update_raid_disks(struct mddev *mddev, int raid_disks) update_raid_disks() argument 7360 update_array_info(struct mddev *mddev, mdu_array_info_t *info) update_array_info() argument 7487 set_disk_faulty(struct mddev *mddev, dev_t dev) set_disk_faulty() argument 7516 struct mddev *mddev = bdev->bd_disk->private_data; md_getgeo() local 7554 struct mddev *mddev = NULL; md_ioctl() local 7866 struct mddev *mddev = mddev_find(bdev->bd_dev); md_open() local 7906 struct mddev *mddev = disk->private_data; md_release() local 7915 struct mddev *mddev = disk->private_data; md_check_events() local 7991 md_register_thread(void (*run) (struct md_thread *), struct mddev *mddev, const char *name) md_register_thread() argument 8040 md_error(struct mddev *mddev, struct md_rdev *rdev) md_error() argument 8081 status_resync(struct seq_file *seq, struct mddev *mddev) status_resync() argument 8213 struct mddev *mddev; md_seq_start() local 8242 struct mddev *next_mddev, *mddev = v; md_seq_next() local 8269 struct mddev *mddev = v; md_seq_stop() local 8277 struct mddev *mddev = v; md_seq_show() local 8466 md_setup_cluster(struct mddev *mddev, int nodes) md_setup_cluster() argument 8486 md_cluster_stop(struct mddev *mddev) md_cluster_stop() argument 8494 is_mddev_idle(struct mddev *mddev, int init) is_mddev_idle() argument 8537 md_done_sync(struct mddev *mddev, int blocks, int ok) md_done_sync() argument 8558 md_write_start(struct mddev *mddev, struct bio *bi) md_write_start() argument 8615 md_write_inc(struct mddev *mddev, struct bio *bi) md_write_inc() argument 8624 md_write_end(struct mddev *mddev) md_write_end() argument 8647 md_allow_write(struct mddev *mddev) md_allow_write() argument 8680 struct mddev *mddev = thread->mddev; md_do_sync() local 9098 remove_and_add_spares(struct mddev *mddev, struct md_rdev *this) remove_and_add_spares() argument 9193 struct mddev *mddev = container_of(ws, struct mddev, del_work); md_start_sync() local 9240 md_check_recovery(struct mddev *mddev) md_check_recovery() argument 9418 md_reap_sync_thread(struct mddev *mddev) md_reap_sync_thread() argument 9481 md_wait_for_blocked_rdev(struct md_rdev *rdev, struct mddev *mddev) md_wait_for_blocked_rdev() argument 9492 md_finish_reshape(struct mddev *mddev) md_finish_reshape() argument 9513 struct mddev *mddev = rdev->mddev; rdev_set_badblocks() local 9553 struct mddev *mddev; md_notify_reboot() local 9637 check_sb_changes(struct mddev *mddev, struct md_rdev *rdev) check_sb_changes() argument 9736 read_rdev(struct mddev *mddev, struct md_rdev *rdev) read_rdev() argument 9783 md_reload_sb(struct mddev *mddev, int nr) md_reload_sb() argument 9886 struct mddev *mddev; md_exit() local [all...] |