/linux-6.8/drivers/md/ |
D | md.h | 52 struct mddev *mddev; /* RAID array if running */ member 296 struct mddev { struct 297 void *private; 298 struct md_personality *pers; 299 dev_t unit; 300 int md_minor; 301 struct list_head disks; 302 unsigned long flags; 303 unsigned long sb_flags; 305 int suspended; [all …]
|
D | md.c | 109 static bool md_is_rdwr(struct mddev *mddev) in md_is_rdwr() 137 static inline int speed_min(struct mddev *mddev) in speed_min() 143 static inline int speed_max(struct mddev *mddev) in speed_max() 158 static void rdevs_uninit_serial(struct mddev *mddev) in rdevs_uninit_serial() 194 static int rdevs_init_serial(struct mddev *mddev) in rdevs_init_serial() 229 void mddev_create_serial_pool(struct mddev *mddev, struct md_rdev *rdev) in mddev_create_serial_pool() 265 void mddev_destroy_serial_pool(struct mddev *mddev, struct md_rdev *rdev) in mddev_destroy_serial_pool() 355 static bool is_md_suspended(struct mddev *mddev) in is_md_suspended() 366 static bool is_suspended(struct mddev *mddev, struct bio *bio) in is_suspended() 381 void md_handle_request(struct mddev *mddev, struct bio *bio) in md_handle_request() [all …]
|
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 150 struct mddev *mddev) in dlm_lock_sync_interruptible() 183 static struct dlm_lock_resource *lockres_init(struct mddev *mddev, in lockres_init() 268 static int read_resync_info(struct mddev *mddev, in read_resync_info() 288 struct mddev *mddev = thread->mddev; in recover_bitmaps() local 354 struct mddev *mddev = arg; in recover_prep() local 359 static void __recover_slot(struct mddev *mddev, int slot) in __recover_slot() 377 struct mddev *mddev = arg; in recover_slot() local 393 struct mddev *mddev = arg; in recover_done() local [all …]
|
D | raid0.c | 35 static void dump_zones(struct mddev *mddev) in dump_zones() 63 static int create_strip_zones(struct mddev *mddev, struct r0conf **private_conf) in create_strip_zones() 320 static struct md_rdev *map_sector(struct mddev *mddev, struct strip_zone *zone, in map_sector() 353 static sector_t raid0_size(struct mddev *mddev, sector_t sectors, int raid_disks) in raid0_size() 368 static void free_conf(struct mddev *mddev, struct r0conf *conf) in free_conf() 375 static void raid0_free(struct mddev *mddev, void *priv) in raid0_free() 382 static int raid0_run(struct mddev *mddev) in raid0_run() 448 static void raid0_handle_discard(struct mddev *mddev, struct bio *bio) in raid0_handle_discard() 548 static void raid0_map_submit_bio(struct mddev *mddev, struct bio *bio) in raid0_map_submit_bio() 589 static bool raid0_make_request(struct mddev *mddev, struct bio *bio) in raid0_make_request() [all …]
|
D | raid1.c | 85 struct mddev *mddev = rdev->mddev; in wait_for_serialization() local 102 struct mddev *mddev = rdev->mddev; in remove_serial() local 282 struct mddev *mddev = r1_bio->mddev; in reschedule_retry() local 1170 struct mddev *mddev = plug->cb.data; in raid1_unplug() local 1190 static void init_r1bio(struct r1bio *r1_bio, struct mddev *mddev, struct bio *bio) in init_r1bio() 1200 alloc_r1bio(struct mddev *mddev, struct bio *bio) in alloc_r1bio() 1212 static void raid1_read_request(struct mddev *mddev, struct bio *bio, in raid1_read_request() 1331 static void raid1_write_request(struct mddev *mddev, struct bio *bio, in raid1_write_request() 1580 static bool raid1_make_request(struct mddev *mddev, struct bio *bio) in raid1_make_request() 1608 static void raid1_status(struct seq_file *seq, struct mddev *mddev) in raid1_status() [all …]
|
D | md-bitmap.c | 144 static int read_sb_page(struct mddev *mddev, loff_t offset, in read_sb_page() 166 static struct md_rdev *next_active_rdev(struct md_rdev *rdev, struct mddev *mddev) in next_active_rdev() 228 struct mddev *mddev = bitmap->mddev; in __write_sb_page() local 282 struct mddev *mddev = bitmap->mddev; in write_sb_page() local 1108 struct mddev *mddev = bitmap->mddev; in md_bitmap_init_from_disk() local 1269 static void mddev_set_timeout(struct mddev *mddev, unsigned long timeout, in mddev_set_timeout() 1291 void md_bitmap_daemon_work(struct mddev *mddev) in md_bitmap_daemon_work() 1711 void md_bitmap_sync_with_cluster(struct mddev *mddev, in md_bitmap_sync_with_cluster() 1779 void md_bitmap_flush(struct mddev *mddev) in md_bitmap_flush() 1841 void md_bitmap_wait_behind_writes(struct mddev *mddev) in md_bitmap_wait_behind_writes() [all …]
|
D | raid10.c | 303 struct mddev *mddev = r10_bio->mddev; in reschedule_retry() local 1104 struct mddev *mddev = plug->cb.data; in raid10_unplug() local 1139 static bool regular_request_wait(struct mddev *mddev, struct r10conf *conf, in regular_request_wait() 1165 static void raid10_read_request(struct mddev *mddev, struct bio *bio, in raid10_read_request() 1260 static void raid10_write_one_disk(struct mddev *mddev, struct r10bio *r10_bio, in raid10_write_one_disk() 1308 static void wait_blocked_dev(struct mddev *mddev, struct r10bio *r10_bio) in wait_blocked_dev() 1371 static void raid10_write_request(struct mddev *mddev, struct bio *bio, in raid10_write_request() 1531 static void __make_request(struct mddev *mddev, struct bio *bio, int sectors) in __make_request() 1604 static int raid10_handle_discard(struct mddev *mddev, struct bio *bio) in raid10_handle_discard() 1853 static bool raid10_make_request(struct mddev *mddev, struct bio *bio) in raid10_make_request() [all …]
|
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; in rs_set_rdev_sectors() local 713 struct mddev *mddev = &rs->md; in rs_set_cur() local 726 struct mddev *mddev = &rs->md; in rs_set_new() local 1544 struct mddev *mddev = &rs->md; in rs_set_raid456_stripe_cache() local 1634 struct mddev *mddev = &rs->md; in rs_set_dev_and_array_sectors() local 1722 struct mddev *mddev = &rs->md; in rs_check_takeover() local 1892 struct mddev *mddev = &rs->md; in rs_reshape_requested() local 2020 struct mddev *mddev = &rs->md; in rs_check_reshape() local [all …]
|
D | raid5.c | 2930 static void raid5_error(struct mddev *mddev, struct md_rdev *rdev) in raid5_error() 5381 static int in_chunk_boundary(struct mddev *mddev, struct bio *bio) in in_chunk_boundary() 5441 struct mddev *mddev = rdev->mddev; in raid5_align_endio() local 5461 static int raid5_read_one_chunk(struct mddev *mddev, struct bio *raid_bio) in raid5_read_one_chunk() 5540 static struct bio *chunk_aligned_read(struct mddev *mddev, struct bio *raid_bio) in chunk_aligned_read() 5675 struct mddev *mddev = cb->cb.data; in raid5_unplug() local 5709 static void release_stripe_plug(struct mddev *mddev, in release_stripe_plug() 5737 static void make_discard_request(struct mddev *mddev, struct bio *bi) in make_discard_request() 5828 static bool ahead_of_reshape(struct mddev *mddev, sector_t sector, in ahead_of_reshape() 5835 static bool range_ahead_of_reshape(struct mddev *mddev, sector_t min, in range_ahead_of_reshape() [all …]
|
D | raid5-cache.c | 687 struct mddev *mddev = log->rdev->mddev; in r5c_disable_writeback_async() local 865 struct mddev *mddev = log->rdev->mddev; in r5l_append_flush_payload() local 1318 struct mddev *mddev; in r5l_write_super_and_discard_space() local 1552 struct mddev *mddev = thread->mddev; in r5l_reclaim_thread() local 1580 struct mddev *mddev = log->rdev->mddev; in r5l_quiesce() local 1811 struct mddev *mddev = log->rdev->mddev; in r5l_recovery_load_data() local 1833 struct mddev *mddev = log->rdev->mddev; in r5l_recovery_load_parity() local 1996 struct mddev *mddev = log->rdev->mddev; in r5l_recovery_verify_data_checksum_for_mb() local 2070 struct mddev *mddev = log->rdev->mddev; in r5c_recovery_analyze_meta_block() local 2346 struct mddev *mddev = log->rdev->mddev; in r5c_recovery_rewrite_data_only_stripes() local [all …]
|
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() 182 static inline void check_decay_read_errors(struct mddev *mddev, struct md_rdev *rdev) in check_decay_read_errors() 212 static inline bool exceed_read_errors(struct mddev *mddev, struct md_rdev *rdev) in exceed_read_errors()
|
D | md-multipath.h | 10 struct mddev *mddev; member 26 struct mddev *mddev; member
|
D | raid5-ppl.c | 88 struct mddev *mddev; member 788 struct mddev *mddev = ppl_conf->mddev; in ppl_recover_entry() local 964 struct mddev *mddev = rdev->mddev; in ppl_recover() local 1072 struct mddev *mddev = rdev->mddev; in ppl_load_distributed() local 1318 struct mddev *mddev = conf->mddev; in ppl_init_log() local 1486 ppl_write_hint_show(struct mddev *mddev, char *buf) in ppl_write_hint_show() 1492 ppl_write_hint_store(struct mddev *mddev, const char *page, size_t len) in ppl_write_hint_store()
|
D | raid1.h | 64 struct mddev *mddev; member 69 struct mddev *mddev; member 160 struct mddev *mddev; member
|
D | raid10.h | 29 struct mddev *mddev; member 126 struct mddev *mddev; member
|
D | md-autodetect.c | 124 struct mddev *mddev; in md_setup_drive() local
|
D | md-bitmap.h | 195 struct mddev *mddev; /* the md device that the bitmap is for */ member
|
D | raid5.h | 578 struct mddev *mddev; member
|