| /kernel/linux/linux-5.10/drivers/md/ |
| H A D | md-multipath.h | 10 struct mddev *mddev; member 26 struct mddev *mddev; member
|
| H A D | md-linear.c | 24 static inline struct dev_info *which_dev(struct mddev *mddev, sector_t sector) in which_dev() argument 49 static sector_t linear_size(struct mddev *mddev, sector_t sectors, int raid_disks) in linear_size() argument 62 static struct linear_conf *linear_conf(struct mddev *mddev, int raid_disks) in linear_conf() argument 144 linear_run(struct mddev *mddev) linear_run() argument 166 linear_add(struct mddev *mddev, struct md_rdev *rdev) linear_add() argument 210 linear_free(struct mddev *mddev, void *priv) linear_free() argument 217 linear_make_request(struct mddev *mddev, struct bio *bio) linear_make_request() argument 281 linear_status(struct seq_file *seq, struct mddev *mddev) linear_status() argument 286 linear_quiesce(struct mddev *mddev, int state) linear_quiesce() argument [all...] |
| H A D | md-autodetect.c | 129 struct mddev *mddev; in md_setup_drive() local [all...] |
| H A D | md-multipath.c | 54 struct mddev *mddev = mp_bh->mddev; in multipath_reschedule_retry() local 101 static bool multipath_make_request(struct mddev *mdde argument 138 multipath_status(struct seq_file *seq, struct mddev *mddev) multipath_status() argument 157 multipath_error(struct mddev *mddev, struct md_rdev *rdev) multipath_error() argument 212 multipath_add_disk(struct mddev *mddev, struct md_rdev *rdev) multipath_add_disk() argument 249 multipath_remove_disk(struct mddev *mddev, struct md_rdev *rdev) multipath_remove_disk() argument 293 struct mddev *mddev = thread->mddev; multipathd() local 335 multipath_size(struct mddev *mddev, sector_t sectors, int raid_disks) multipath_size() argument 343 multipath_run(struct mddev *mddev) multipath_run() argument 437 multipath_free(struct mddev *mddev, void *priv) multipath_free() argument [all...] |
| H A D | md-faulty.c | 164 static bool faulty_make_request(struct mddev *mddev, struct bio *bio) in faulty_make_request() argument 221 static void faulty_status(struct seq_file *seq, struct mddev *mddev) in faulty_status() argument 254 static int faulty_reshape(struct mddev *mddev) in faulty_reshape() argument 283 faulty_size(struct mddev *mddev, sector_t sectors, int raid_disks) faulty_size() argument 294 faulty_run(struct mddev *mddev) faulty_run() argument 327 faulty_free(struct mddev *mddev, void *priv) faulty_free() argument [all...] |
| H A D | raid1.h | 64 struct mddev *mddev; member 69 struct mddev *mddev; member 161 struct mddev *mddev; member [all...] |
| H A D | raid10.h | 29 struct mddev *mddev; member 127 struct mddev *mddev; member
|
| H A D | raid0.c | 35 static void dump_zones(struct mddev *mddev) in dump_zones() argument 65 static int create_strip_zones(struct mddev *mddev, struct r0conf **private_conf) in create_strip_zones() argument 324 map_sector(struct mddev *mddev, struct strip_zone *zone, sector_t sector, sector_t *sector_offset) map_sector() argument 357 raid0_size(struct mddev *mddev, sector_t sectors, int raid_disks) raid0_size() argument 374 raid0_run(struct mddev *mddev) raid0_run() argument 433 raid0_free(struct mddev *mddev, void *priv) raid0_free() argument 456 raid0_handle_discard(struct mddev *mddev, struct bio *bio) raid0_handle_discard() argument 566 raid0_make_request(struct mddev *mddev, struct bio *bio) raid0_make_request() argument 639 raid0_status(struct seq_file *seq, struct mddev *mddev) raid0_status() argument 645 raid0_takeover_raid45(struct mddev *mddev) raid0_takeover_raid45() argument 682 raid0_takeover_raid10(struct mddev *mddev) raid0_takeover_raid10() argument 724 raid0_takeover_raid1(struct mddev *mddev) raid0_takeover_raid1() argument 767 raid0_takeover(struct mddev *mddev) raid0_takeover() argument 804 raid0_quiesce(struct mddev *mddev, int quiesce) raid0_quiesce() argument [all...] |
| H A D | md-bitmap.h | 195 struct mddev *mddev; /* the md device that the bitmap is for */ member [all...] |
| H A D | raid5-ppl.c | 88 struct mddev *mddev; member 799 struct mddev *mdde in ppl_recover_entry() local 975 struct mddev *mddev = rdev->mddev; ppl_recover() local 1083 struct mddev *mddev = rdev->mddev; ppl_load_distributed() local 1335 struct mddev *mddev = conf->mddev; ppl_init_log() local 1505 ppl_write_hint_show(struct mddev *mddev, char *buf) ppl_write_hint_show() argument 1522 ppl_write_hint_store(struct mddev *mddev, const char *page, size_t len) ppl_write_hint_store() argument [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 277 struct mddev *mddev = r1_bio->mddev; reschedule_retry() local 1157 struct mddev *mddev = plug->cb.data; raid1_unplug() local 1178 init_r1bio(struct r1bio *r1_bio, struct mddev *mddev, struct bio *bio) init_r1bio() argument 1188 alloc_r1bio(struct mddev *mddev, struct bio *bio) alloc_r1bio() argument 1200 raid1_read_request(struct mddev *mddev, struct bio *bio, int max_read_sectors, struct r1bio *r1_bio) raid1_read_request() argument 1314 raid1_write_request(struct mddev *mddev, struct bio *bio, int max_write_sectors) raid1_write_request() argument 1549 raid1_make_request(struct mddev *mddev, struct bio *bio) raid1_make_request() argument 1577 raid1_status(struct seq_file *seq, struct mddev *mddev) raid1_status() argument 1594 raid1_error(struct mddev *mddev, struct md_rdev *rdev) raid1_error() argument 1673 raid1_spare_active(struct mddev *mddev) raid1_spare_active() argument 1725 raid1_add_disk(struct mddev *mddev, struct md_rdev *rdev) raid1_add_disk() argument 1789 raid1_remove_disk(struct mddev *mddev, struct md_rdev *rdev) raid1_remove_disk() argument 1880 abort_sync_write(struct mddev *mddev, struct r1bio *r1_bio) abort_sync_write() argument 1897 struct mddev *mddev = r1_bio->mddev; put_sync_write_buf() local 1914 struct mddev *mddev = r1_bio->mddev; end_sync_write() local 1971 struct mddev *mddev = r1_bio->mddev; fix_sync_read_error() local 2099 struct mddev *mddev = r1_bio->mddev; process_checks() local 2177 sync_request_write(struct mddev *mddev, struct r1bio *r1_bio) sync_request_write() argument 2233 struct mddev *mddev = conf->mddev; fix_read_error() local 2328 struct mddev *mddev = r1_bio->mddev; narrow_write_error() local 2467 struct mddev *mddev = conf->mddev; handle_read_error() local 2509 struct mddev *mddev = thread->mddev; raid1d() local 2617 raid1_sync_request(struct mddev *mddev, sector_t sector_nr, int *skipped) raid1_sync_request() argument 2916 raid1_size(struct mddev *mddev, sector_t sectors, int raid_disks) raid1_size() argument 2924 setup_conf(struct mddev *mddev) setup_conf() argument 3064 raid1_run(struct mddev *mddev) raid1_run() argument 3167 raid1_free(struct mddev *mddev, void *priv) raid1_free() argument 3183 raid1_resize(struct mddev *mddev, sector_t sectors) raid1_resize() argument 3212 raid1_reshape(struct mddev *mddev) raid1_reshape() argument 3322 raid1_quiesce(struct mddev *mddev, int quiesce) raid1_quiesce() argument 3332 raid1_takeover(struct mddev *mddev) raid1_takeover() argument [all...] |
| H A D | md-bitmap.c | 142 static int read_sb_page(struct mddev *mddev, loff_t offset, in read_sb_page() argument 169 static struct md_rdev *next_active_rdev(struct md_rdev *rdev, struct mddev *mddev) in next_active_rdev() argument 209 struct mddev *mddev = bitmap->mddev; write_sb_page() local 1220 md_bitmap_daemon_work(struct mddev *mddev) md_bitmap_daemon_work() argument 1642 md_bitmap_sync_with_cluster(struct mddev *mddev, sector_t old_lo, sector_t old_hi, sector_t new_lo, sector_t new_hi) md_bitmap_sync_with_cluster() argument 1710 md_bitmap_flush(struct mddev *mddev) md_bitmap_flush() argument 1772 md_bitmap_wait_behind_writes(struct mddev *mddev) md_bitmap_wait_behind_writes() argument 1786 md_bitmap_destroy(struct mddev *mddev) md_bitmap_destroy() argument 1813 md_bitmap_create(struct mddev *mddev, int slot) md_bitmap_create() argument 1900 md_bitmap_load(struct mddev *mddev) md_bitmap_load() argument 1959 get_bitmap_from_slot(struct mddev *mddev, int slot) get_bitmap_from_slot() argument 1983 md_bitmap_copy_from_slot(struct mddev *mddev, int slot, sector_t *low, sector_t *high, bool clear_bits) md_bitmap_copy_from_slot() argument 2265 location_show(struct mddev *mddev, char *page) location_show() argument 2279 location_store(struct mddev *mddev, const char *buf, size_t len) location_store() argument 2386 space_show(struct mddev *mddev, char *page) space_show() argument 2392 space_store(struct mddev *mddev, const char *buf, size_t len) space_store() argument 2419 timeout_show(struct mddev *mddev, char *page) timeout_show() argument 2433 timeout_store(struct mddev *mddev, const char *buf, size_t len) timeout_store() argument 2469 backlog_show(struct mddev *mddev, char *page) backlog_show() argument 2475 backlog_store(struct mddev *mddev, const char *buf, size_t len) backlog_store() argument 2529 chunksize_show(struct mddev *mddev, char *page) chunksize_show() argument 2535 chunksize_store(struct mddev *mddev, const char *buf, size_t len) chunksize_store() argument 2558 metadata_show(struct mddev *mddev, char *page) metadata_show() argument 2566 metadata_store(struct mddev *mddev, const char *buf, size_t len) metadata_store() argument 2585 can_clear_show(struct mddev *mddev, char *page) can_clear_show() argument 2598 can_clear_store(struct mddev *mddev, const char *buf, size_t len) can_clear_store() argument 2617 behind_writes_used_show(struct mddev *mddev, char *page) behind_writes_used_show() argument 2631 behind_writes_used_reset(struct mddev *mddev, const char *buf, size_t len) behind_writes_used_reset() argument [all...] |
| 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 541 process_remove_disk(struct mddev *mddev, struct cluster_msg *msg) process_remove_disk() argument 558 process_readd_disk(struct mddev *mddev, struct cluster_msg *msg) process_readd_disk() argument 572 process_recvd_msg(struct mddev *mddev, struct cluster_msg *msg) process_recvd_msg() argument 688 struct mddev *mddev = cinfo->mddev; lock_comm() local 798 gather_all_resync_info(struct mddev *mddev, int total_slots) gather_all_resync_info() argument 857 join(struct mddev *mddev, int nodes) join() argument 966 load_bitmaps(struct mddev *mddev, int total_slots) load_bitmaps() argument 979 resync_bitmap(struct mddev *mddev) resync_bitmap() argument 993 leave(struct mddev *mddev) leave() argument 1032 slot_number(struct mddev *mddev) slot_number() argument 1045 metadata_update_start(struct mddev *mddev) metadata_update_start() argument 1074 metadata_update_finish(struct mddev *mddev) metadata_update_finish() argument 1101 metadata_update_cancel(struct mddev *mddev) metadata_update_cancel() argument 1108 update_bitmap_size(struct mddev *mddev, sector_t size) update_bitmap_size() argument 1123 resize_bitmaps(struct mddev *mddev, sector_t newsize, sector_t oldsize) resize_bitmaps() argument 1187 cluster_check_sync_size(struct mddev *mddev) cluster_check_sync_size() argument 1254 update_size(struct mddev *mddev, sector_t old_dev_sectors) update_size() argument 1322 resync_start(struct mddev *mddev) resync_start() argument 1328 resync_info_get(struct mddev *mddev, sector_t *lo, sector_t *hi) resync_info_get() argument 1338 resync_info_update(struct mddev *mddev, sector_t lo, sector_t hi) resync_info_update() argument 1368 resync_finish(struct mddev *mddev) resync_finish() argument 1385 area_resyncing(struct mddev *mddev, int direction, sector_t lo, sector_t hi) area_resyncing() argument 1406 add_new_disk(struct mddev *mddev, struct md_rdev *rdev) add_new_disk() argument 1453 add_new_disk_cancel(struct mddev *mddev) add_new_disk_cancel() argument 1460 new_disk_ack(struct mddev *mddev, bool ack) new_disk_ack() argument 1475 remove_disk(struct mddev *mddev, struct md_rdev *rdev) remove_disk() argument 1484 lock_all_bitmaps(struct mddev *mddev) lock_all_bitmaps() argument 1519 unlock_all_bitmaps(struct mddev *mddev) unlock_all_bitmaps() argument 1541 struct mddev *mddev = rdev->mddev; gather_bitmaps() local [all...] |
| /kernel/linux/linux-6.6/drivers/md/ |
| H A D | md-multipath.h | 10 struct mddev *mddev; member 26 struct mddev *mddev; member
|
| H A D | md-linear.c | 24 static inline struct dev_info *which_dev(struct mddev *mddev, sector_t sector) in which_dev() argument 49 static sector_t linear_size(struct mddev *mddev, sector_t sectors, int raid_disks) in linear_size() argument 62 static struct linear_conf *linear_conf(struct mddev *mddev, int raid_disks) in linear_conf() argument 135 linear_run(struct mddev *mddev) linear_run() argument 157 linear_add(struct mddev *mddev, struct md_rdev *rdev) linear_add() argument 200 linear_free(struct mddev *mddev, void *priv) linear_free() argument 207 linear_make_request(struct mddev *mddev, struct bio *bio) linear_make_request() argument 270 linear_status(struct seq_file *seq, struct mddev *mddev) linear_status() argument 275 linear_error(struct mddev *mddev, struct md_rdev *rdev) linear_error() argument 285 linear_quiesce(struct mddev *mddev, int state) linear_quiesce() argument [all...] |
| H A D | md-autodetect.c | 128 struct mddev *mddev; in md_setup_drive() local [all...] |
| H A D | raid1-10.c | 133 static inline bool raid1_add_bio_to_plug(struct mddev *mddev, struct bio *bio, in raid1_add_bio_to_plug() argument
|
| H A D | md-multipath.c | 54 struct mddev *mddev = mp_bh->mddev; in multipath_reschedule_retry() local 100 static bool multipath_make_request(struct mddev *mdde argument 135 multipath_status(struct seq_file *seq, struct mddev *mddev) multipath_status() argument 154 multipath_error(struct mddev *mddev, struct md_rdev *rdev) multipath_error() argument 207 multipath_add_disk(struct mddev *mddev, struct md_rdev *rdev) multipath_add_disk() argument 244 multipath_remove_disk(struct mddev *mddev, struct md_rdev *rdev) multipath_remove_disk() argument 288 struct mddev *mddev = thread->mddev; multipathd() local 329 multipath_size(struct mddev *mddev, sector_t sectors, int raid_disks) multipath_size() argument 337 multipath_run(struct mddev *mddev) multipath_run() argument 431 multipath_free(struct mddev *mddev, void *priv) multipath_free() argument [all...] |
| H A D | md-faulty.c | 164 static bool faulty_make_request(struct mddev *mddev, struct bio *bio) in faulty_make_request() argument 223 static void faulty_status(struct seq_file *seq, struct mddev *mddev) in faulty_status() argument 256 static int faulty_reshape(struct mddev *mddev) in faulty_reshape() argument 285 faulty_size(struct mddev *mddev, sector_t sectors, int raid_disks) faulty_size() argument 296 faulty_run(struct mddev *mddev) faulty_run() argument 329 faulty_free(struct mddev *mddev, void *priv) faulty_free() argument [all...] |
| H A D | raid1.h | 64 struct mddev *mddev; member 69 struct mddev *mddev; member 160 struct mddev *mddev; member [all...] |
| H A D | raid10.h | 29 struct mddev *mddev; member 126 struct mddev *mddev; member
|
| H A D | md-bitmap.h | 195 struct mddev *mddev; /* the md device that the bitmap is for */ member [all...] |
| H A D | raid0.c | 35 static void dump_zones(struct mddev *mddev) in dump_zones() argument 63 static int create_strip_zones(struct mddev *mddev, struct r0conf **private_conf) in create_strip_zones() argument 320 map_sector(struct mddev *mddev, struct strip_zone *zone, sector_t sector, sector_t *sector_offset) map_sector() argument 353 raid0_size(struct mddev *mddev, sector_t sectors, int raid_disks) raid0_size() argument 368 free_conf(struct mddev *mddev, struct r0conf *conf) free_conf() argument 375 raid0_free(struct mddev *mddev, void *priv) raid0_free() argument 382 raid0_run(struct mddev *mddev) raid0_run() argument 448 raid0_handle_discard(struct mddev *mddev, struct bio *bio) raid0_handle_discard() argument 548 raid0_map_submit_bio(struct mddev *mddev, struct bio *bio) raid0_map_submit_bio() argument 589 raid0_make_request(struct mddev *mddev, struct bio *bio) raid0_make_request() argument 624 raid0_status(struct seq_file *seq, struct mddev *mddev) raid0_status() argument 630 raid0_error(struct mddev *mddev, struct md_rdev *rdev) raid0_error() argument 640 raid0_takeover_raid45(struct mddev *mddev) raid0_takeover_raid45() argument 677 raid0_takeover_raid10(struct mddev *mddev) raid0_takeover_raid10() argument 719 raid0_takeover_raid1(struct mddev *mddev) raid0_takeover_raid1() argument 762 raid0_takeover(struct mddev *mddev) raid0_takeover() argument 799 raid0_quiesce(struct mddev *mddev, int quiesce) raid0_quiesce() argument [all...] |
| H A D | raid5-ppl.c | 88 struct mddev *mddev; member 790 struct mddev *mdde in ppl_recover_entry() local 970 struct mddev *mddev = rdev->mddev; ppl_recover() local 1078 struct mddev *mddev = rdev->mddev; ppl_load_distributed() local 1324 struct mddev *mddev = conf->mddev; ppl_init_log() local 1494 ppl_write_hint_show(struct mddev *mddev, char *buf) ppl_write_hint_show() argument 1500 ppl_write_hint_store(struct mddev *mddev, const char *page, size_t len) ppl_write_hint_store() argument [all...] |
| H A D | md-bitmap.c | 144 static int read_sb_page(struct mddev *mddev, loff_t offset, in read_sb_page() argument 166 static struct md_rdev *next_active_rdev(struct md_rdev *rdev, struct mddev *mddev) in next_active_rdev() argument 228 struct mddev *mddev = bitmap->mddev; __write_sb_page() local 283 struct mddev *mddev = bitmap->mddev; write_sb_page() local 1111 struct mddev *mddev = bitmap->mddev; md_bitmap_init_from_disk() local 1272 mddev_set_timeout(struct mddev *mddev, unsigned long timeout, bool force) mddev_set_timeout() argument 1294 md_bitmap_daemon_work(struct mddev *mddev) md_bitmap_daemon_work() argument 1714 md_bitmap_sync_with_cluster(struct mddev *mddev, sector_t old_lo, sector_t old_hi, sector_t new_lo, sector_t new_hi) md_bitmap_sync_with_cluster() argument 1782 md_bitmap_flush(struct mddev *mddev) md_bitmap_flush() argument 1844 md_bitmap_wait_behind_writes(struct mddev *mddev) md_bitmap_wait_behind_writes() argument 1858 md_bitmap_destroy(struct mddev *mddev) md_bitmap_destroy() argument 1884 md_bitmap_create(struct mddev *mddev, int slot) md_bitmap_create() argument 1971 md_bitmap_load(struct mddev *mddev) md_bitmap_load() argument 2030 get_bitmap_from_slot(struct mddev *mddev, int slot) get_bitmap_from_slot() argument 2054 md_bitmap_copy_from_slot(struct mddev *mddev, int slot, sector_t *low, sector_t *high, bool clear_bits) md_bitmap_copy_from_slot() argument 2336 location_show(struct mddev *mddev, char *page) location_show() argument 2350 location_store(struct mddev *mddev, const char *buf, size_t len) location_store() argument 2457 space_show(struct mddev *mddev, char *page) space_show() argument 2463 space_store(struct mddev *mddev, const char *buf, size_t len) space_store() argument 2490 timeout_show(struct mddev *mddev, char *page) timeout_show() argument 2504 timeout_store(struct mddev *mddev, const char *buf, size_t len) timeout_store() argument 2534 backlog_show(struct mddev *mddev, char *page) backlog_show() argument 2540 backlog_store(struct mddev *mddev, const char *buf, size_t len) backlog_store() argument 2594 chunksize_show(struct mddev *mddev, char *page) chunksize_show() argument 2600 chunksize_store(struct mddev *mddev, const char *buf, size_t len) chunksize_store() argument 2623 metadata_show(struct mddev *mddev, char *page) metadata_show() argument 2631 metadata_store(struct mddev *mddev, const char *buf, size_t len) metadata_store() argument 2650 can_clear_show(struct mddev *mddev, char *page) can_clear_show() argument 2663 can_clear_store(struct mddev *mddev, const char *buf, size_t len) can_clear_store() argument 2682 behind_writes_used_show(struct mddev *mddev, char *page) behind_writes_used_show() argument 2696 behind_writes_used_reset(struct mddev *mddev, const char *buf, size_t len) behind_writes_used_reset() argument [all...] |