/linux/drivers/md/ |
H A D | md-cluster.c | 28 struct mddev *mddev; /* pointing back to mddev. */ member 63 struct mddev *mddev; /* the md device which md_cluster_info belongs to */ member 159 struct mddev *mddev) in dlm_lock_sync_interruptible() 192 static struct dlm_lock_resource *lockres_init(struct mddev *mddev, in lockres_init() 277 static int read_resync_info(struct mddev *mddev, in read_resync_info() 297 struct mddev *mddev = thread->mddev; in recover_bitmaps() local 363 struct mddev *mddev = arg; in recover_prep() local 368 static void __recover_slot(struct mddev *mddev, int slot) in __recover_slot() 386 struct mddev *mddev = arg; in recover_slot() local 402 struct mddev *mddev = arg; in recover_done() local [all …]
|
H A 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 raid0_free(struct mddev *mddev, void *priv) in raid0_free() 377 static int raid0_set_limits(struct mddev *mddev) in raid0_set_limits() 394 static int raid0_run(struct mddev *mddev) in raid0_run() 446 static void raid0_handle_discard(struct mddev *mddev, struct bio *bio) in raid0_handle_discard() 552 static void raid0_map_submit_bio(struct mddev *mddev, struct bio *bio) in raid0_map_submit_bio() 590 static bool raid0_make_request(struct mddev *mddev, struct bio *bio) in raid0_make_request() [all …]
|
H A D | md-linear.c | 31 static inline struct dev_info *which_dev(struct mddev *mddev, sector_t sector) in which_dev() 56 static sector_t linear_size(struct mddev *mddev, sector_t sectors, int raid_disks) in linear_size() 69 static int linear_set_limits(struct mddev *mddev) in linear_set_limits() 85 static struct linear_conf *linear_conf(struct mddev *mddev, int raid_disks) in linear_conf() 163 static int linear_run(struct mddev *mddev) in linear_run() 186 static int linear_add(struct mddev *mddev, struct md_rdev *rdev) in linear_add() 226 static void linear_free(struct mddev *mddev, void *priv) in linear_free() 233 static bool linear_make_request(struct mddev *mddev, struct bio *bio) in linear_make_request() 303 static void linear_status(struct seq_file *seq, struct mddev *mddev) in linear_status() 308 static void linear_error(struct mddev *mddev, struct md_rdev *rdev) in linear_error() [all …]
|
H A D | raid10.c | 300 struct mddev *mddev = r10_bio->mddev; in reschedule_retry() local 429 struct mddev *mddev = r10_bio->mddev; in close_write() local 1083 struct mddev *mddev = plug->cb.data; in raid10_unplug() local 1118 static bool regular_request_wait(struct mddev *mddev, struct r10conf *conf, in regular_request_wait() 1144 static void raid10_read_request(struct mddev *mddev, struct bio *bio, in raid10_read_request() 1246 static void raid10_write_one_disk(struct mddev *mddev, struct r10bio *r10_bio, in raid10_write_one_disk() 1292 static void wait_blocked_dev(struct mddev *mddev, struct r10bio *r10_bio) in wait_blocked_dev() 1348 static void raid10_write_request(struct mddev *mddev, struct bio *bio, in raid10_write_request() 1537 static void __make_request(struct mddev *mddev, struct bio *bio, int sectors) in __make_request() 1610 static int raid10_handle_discard(struct mddev *mddev, struct bio *bio) in raid10_handle_discard() [all …]
|
H A D | raid1.c | 82 struct mddev *mddev = rdev->mddev; in wait_for_serialization() local 99 struct mddev *mddev = rdev->mddev; in remove_serial() local 279 struct mddev *mddev = r1_bio->mddev; in reschedule_retry() local 414 struct mddev *mddev = r1_bio->mddev; in close_write() local 1270 struct mddev *mddev = plug->cb.data; in raid1_unplug() local 1290 static void init_r1bio(struct r1bio *r1_bio, struct mddev *mddev, struct bio *bio) in init_r1bio() 1300 alloc_r1bio(struct mddev *mddev, struct bio *bio) in alloc_r1bio() 1312 static void raid1_read_request(struct mddev *mddev, struct bio *bio, in raid1_read_request() 1423 static bool wait_blocked_rdev(struct mddev *mddev, struct bio *bio) in wait_blocked_rdev() 1457 static void raid1_write_request(struct mddev *mddev, struct bio *bio, in raid1_write_request() [all …]
|
H A D | dm-raid.c | 263 struct mddev *mddev = &rs->md; in rs_config_backup() local 272 struct mddev *mddev = &rs->md; in rs_config_restore() local 686 struct mddev *mddev = &rs->md; rs_set_rdev_sectors() local 714 struct mddev *mddev = &rs->md; rs_set_cur() local 727 struct mddev *mddev = &rs->md; rs_set_new() local 1545 struct mddev *mddev = &rs->md; rs_set_raid456_stripe_cache() local 1652 struct mddev *mddev = &rs->md; rs_set_dev_and_array_sectors() local 1749 struct mddev *mddev = &rs->md; rs_check_takeover() local 1919 struct mddev *mddev = &rs->md; rs_reshape_requested() local 2047 struct mddev *mddev = &rs->md; rs_check_reshape() local 2114 super_sync(struct mddev * mddev,struct md_rdev * rdev) super_sync() argument 2244 struct mddev *mddev = &rs->md; super_init_validation() local 2463 struct mddev *mddev = &rs->md; super_validate() local 2536 struct mddev *mddev = &rs->md; analyse_superblocks() local 2739 struct mddev *mddev = &rs->md; rs_setup_takeover() local 2785 struct mddev *mddev = &rs->md; rs_prepare_reshape() local 2852 struct mddev *mddev = &rs->md; rs_setup_reshape() local 3340 struct mddev *mddev = &rs->md; raid_map() local 3378 decipher_sync_action(struct mddev * mddev,unsigned long recovery) decipher_sync_action() argument 3439 struct mddev *mddev = &rs->md; rs_get_progress() local 3526 struct mddev *mddev = &rs->md; raid_status() local 3732 struct mddev *mddev = &rs->md; raid_message() local 3821 struct mddev *mddev = &rs->md; raid_presuspend() local 3869 struct mddev *mddev = &rs->md; attempt_restore_of_faulty_devices() local 3952 struct mddev *mddev = &rs->md; __load_dirty_region_bitmap() local 3965 struct mddev *mddev = &rs->md; rs_update_sbs() local 3984 struct mddev *mddev = &rs->md; rs_start_reshape() local 4031 struct mddev *mddev = &rs->md; raid_preresume() local 4103 struct mddev *mddev = &rs->md; raid_resume() 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() 169 static inline void raid1_prepare_flush_writes(struct mddev *mddev) in raid1_prepare_flush_writes() 179 static inline void check_decay_read_errors(struct mddev *mddev, struct md_rdev *rdev) in check_decay_read_errors() 209 static inline bool exceed_read_errors(struct mddev *mddev, struct md_rdev *rdev) in exceed_read_errors() 283 static inline bool raid1_should_read_first(struct mddev *mddev, in raid1_should_read_first()
|