Home
last modified time | relevance | path

Searched defs:mddev (Results 1 – 21 of 21) sorted by relevance

/openbmc/linux/drivers/md/
H A Dmd.h309 struct mddev { struct
312 dev_t unit;
313 int md_minor;
320 int ro;
341 time64_t ctime, utime;
342 int level, layout;
351 __u64 events;
367 int delta_disks, new_level, new_layout;
483 struct {
508 struct list_head all_mddevs; argument
[all …]
H A Dmd.c687 struct mddev *mddev; in mddev_find_locked() local
3339 struct mddev *mddev; in md_rdev_overlaps() local
5680 struct mddev *mddev; in md_alloc() local
6568 struct mddev *mddev; in autorun_devices() local
7623 struct mddev *mddev = NULL; in md_ioctl() local
7885 struct mddev *mddev; in md_open() local
8258 struct mddev *mddev; in md_seq_start() local
8325 struct mddev *mddev = v; in md_seq_stop() local
8333 struct mddev *mddev = v; in md_seq_show() local
9679 struct mddev *mddev, *n; in md_notify_reboot() local
[all …]
H A Dmd-cluster.c27 struct mddev *mddev; /* pointing back to mddev. */ member
150 struct mddev *mddev) in dlm_lock_sync_interruptible()
288 struct mddev *mddev = thread->mddev; in recover_bitmaps() local
354 struct mddev *mddev = arg; in recover_prep() local
377 struct mddev *mddev = arg; in recover_slot() local
393 struct mddev *mddev = arg; in recover_done() local
691 struct mddev *mddev = cinfo->mddev; in lock_comm() local
997 static int leave(struct mddev *mddev) in leave()
1036 static int slot_number(struct mddev *mddev) in slot_number()
1323 static int resync_start(struct mddev *mddev) in resync_start()
[all …]
H A Dmd-linear.c24 static inline struct dev_info *which_dev(struct mddev *mddev, sector_t sector) in which_dev()
49 static sector_t linear_size(struct mddev *mddev, sector_t sectors, int raid_disks) in linear_size()
62 static struct linear_conf *linear_conf(struct mddev *mddev, int raid_disks) in linear_conf()
135 static int linear_run (struct mddev *mddev) in linear_run()
157 static int linear_add(struct mddev *mddev, struct md_rdev *rdev) in linear_add()
200 static void linear_free(struct mddev *mddev, void *priv) in linear_free()
207 static bool linear_make_request(struct mddev *mddev, struct bio *bio) in linear_make_request()
270 static void linear_status (struct seq_file *seq, struct mddev *mddev) in linear_status()
275 static void linear_error(struct mddev *mddev, struct md_rdev *rdev) in linear_error()
285 static void linear_quiesce(struct mddev *mddev, int state) in linear_quiesce()
H A Draid0.c35 static void dump_zones(struct mddev *mddev) in dump_zones()
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()
624 static void raid0_status(struct seq_file *seq, struct mddev *mddev) in raid0_status()
630 static void raid0_error(struct mddev *mddev, struct md_rdev *rdev) in raid0_error()
640 static void *raid0_takeover_raid45(struct mddev *mddev) in raid0_takeover_raid45()
677 static void *raid0_takeover_raid10(struct mddev *mddev) in raid0_takeover_raid10()
719 static void *raid0_takeover_raid1(struct mddev *mddev) in raid0_takeover_raid1()
762 static void *raid0_takeover(struct mddev *mddev) in raid0_takeover()
[all …]
H A Dmd-multipath.c54 struct mddev *mddev = mp_bh->mddev; in multipath_reschedule_retry() local
100 static bool multipath_make_request(struct mddev *mddev, struct bio * bio) in multipath_make_request()
135 static void multipath_status(struct seq_file *seq, struct mddev *mddev) in multipath_status()
154 static void multipath_error (struct mddev *mddev, struct md_rdev *rdev) in multipath_error()
207 static int multipath_add_disk(struct mddev *mddev, struct md_rdev *rdev) in multipath_add_disk()
244 static int multipath_remove_disk(struct mddev *mddev, struct md_rdev *rdev) in multipath_remove_disk()
288 struct mddev *mddev = thread->mddev; in multipathd() local
329 static sector_t multipath_size(struct mddev *mddev, sector_t sectors, int raid_disks) in multipath_size()
337 static int multipath_run (struct mddev *mddev) in multipath_run()
431 static void multipath_free(struct mddev *mddev, void *priv) in multipath_free()
H A Draid1.c84 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; in reschedule_retry() local
1173 struct mddev *mddev = plug->cb.data; in raid1_unplug() local
1960 struct mddev *mddev = r1_bio->mddev; in end_sync_write() local
2017 struct mddev *mddev = r1_bio->mddev; in fix_sync_read_error() local
2144 struct mddev *mddev = r1_bio->mddev; in process_checks() local
2277 struct mddev *mddev = conf->mddev; in fix_read_error() local
2371 struct mddev *mddev = r1_bio->mddev; in narrow_write_error() local
2509 struct mddev *mddev = conf->mddev; in handle_read_error() local
[all …]
H A Dmd-bitmap.c228 struct mddev *mddev = bitmap->mddev; in __write_sb_page() local
283 struct mddev *mddev = bitmap->mddev; in write_sb_page() local
1111 struct mddev *mddev = bitmap->mddev; in md_bitmap_init_from_disk() local
1294 void md_bitmap_daemon_work(struct mddev *mddev) in md_bitmap_daemon_work()
1782 void md_bitmap_flush(struct mddev *mddev) in md_bitmap_flush()
1858 void md_bitmap_destroy(struct mddev *mddev) in md_bitmap_destroy()
1971 int md_bitmap_load(struct mddev *mddev) in md_bitmap_load()
2336 location_show(struct mddev *mddev, char *page) in location_show()
2457 space_show(struct mddev *mddev, char *page) in space_show()
2490 timeout_show(struct mddev *mddev, char *page) in timeout_show()
[all …]
H A Draid10.c301 struct mddev *mddev = r10_bio->mddev; in reschedule_retry() local
1111 struct mddev *mddev = plug->cb.data; in raid10_unplug() local
2095 static int raid10_spare_active(struct mddev *mddev) in raid10_spare_active()
2323 struct mddev *mddev = r10_bio->mddev; in end_sync_request() local
2351 struct mddev *mddev = r10_bio->mddev; in end_sync_write() local
2543 struct mddev *mddev = r10_bio->mddev; in fix_recovery_read_error() local
2906 struct mddev *mddev = r10_bio->mddev; in narrow_write_error() local
3105 struct mddev *mddev = thread->mddev; in raid10d() local
4147 static int raid10_run(struct mddev *mddev) in raid10_run()
4425 static void *raid10_takeover(struct mddev *mddev) in raid10_takeover()
[all …]
H A Dmd-faulty.c164 static bool faulty_make_request(struct mddev *mddev, struct bio *bio) in faulty_make_request()
223 static void faulty_status(struct seq_file *seq, struct mddev *mddev) in faulty_status()
256 static int faulty_reshape(struct mddev *mddev) in faulty_reshape()
285 static sector_t faulty_size(struct mddev *mddev, sector_t sectors, int raid_disks) in faulty_size()
296 static int faulty_run(struct mddev *mddev) in faulty_run()
329 static void faulty_free(struct mddev *mddev, void *priv) in faulty_free()
H A Draid5.c5479 struct mddev *mddev = rdev->mddev; in raid5_align_endio() local
5719 struct mddev *mddev = cb->cb.data; in raid5_unplug() local
5970 static bool reshape_disabled(struct mddev *mddev) in reshape_disabled()
6750 struct mddev *mddev = conf->mddev; in raid5_do_work() local
6798 struct mddev *mddev = thread->mddev; in raid5d() local
7776 static int raid5_run(struct mddev *mddev) in raid5_run()
8453 static int check_reshape(struct mddev *mddev) in check_reshape()
8893 static void *raid5_takeover(struct mddev *mddev) in raid5_takeover()
8916 static void *raid4_takeover(struct mddev *mddev) in raid4_takeover()
8935 static void *raid6_takeover(struct mddev *mddev) in raid6_takeover()
[all …]
H A Ddm-raid.c262 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
1539 struct mddev *mddev = &rs->md; in rs_set_raid456_stripe_cache() local
1629 struct mddev *mddev = &rs->md; in rs_set_dev_and_array_sectors() local
1717 struct mddev *mddev = &rs->md; in rs_check_takeover() local
1887 struct mddev *mddev = &rs->md; in rs_reshape_requested() local
2015 struct mddev *mddev = &rs->md; in rs_check_reshape() local
[all …]
H A Dmd-multipath.h10 struct mddev *mddev; member
26 struct mddev *mddev; member
H A Draid5-cache.c687 struct mddev *mddev = log->rdev->mddev; in r5c_disable_writeback_async() local
866 struct mddev *mddev = log->rdev->mddev; in r5l_append_flush_payload() local
1319 struct mddev *mddev; in r5l_write_super_and_discard_space() local
1553 struct mddev *mddev = thread->mddev; in r5l_reclaim_thread() local
1581 struct mddev *mddev = log->rdev->mddev; in r5l_quiesce() local
1812 struct mddev *mddev = log->rdev->mddev; in r5l_recovery_load_data() local
1834 struct mddev *mddev = log->rdev->mddev; in r5l_recovery_load_parity() local
2003 struct mddev *mddev = log->rdev->mddev; in r5l_recovery_verify_data_checksum_for_mb() local
2077 struct mddev *mddev = log->rdev->mddev; in r5c_recovery_analyze_meta_block() local
2353 struct mddev *mddev = log->rdev->mddev; in r5c_recovery_rewrite_data_only_stripes() local
[all …]
H A Draid1.h64 struct mddev *mddev; member
69 struct mddev *mddev; member
160 struct mddev *mddev; member
H A Draid5-ppl.c88 struct mddev *mddev; member
790 struct mddev *mddev = ppl_conf->mddev; in ppl_recover_entry() local
970 struct mddev *mddev = rdev->mddev; in ppl_recover() local
1078 struct mddev *mddev = rdev->mddev; in ppl_load_distributed() local
1324 struct mddev *mddev = conf->mddev; in ppl_init_log() local
1494 ppl_write_hint_show(struct mddev *mddev, char *buf) in ppl_write_hint_show()
1500 ppl_write_hint_store(struct mddev *mddev, const char *page, size_t len) in ppl_write_hint_store()
H A Draid10.h29 struct mddev *mddev; member
126 struct mddev *mddev; member
H A Dmd-autodetect.c128 struct mddev *mddev; in md_setup_drive() local
H A Draid1-10.c133 static inline bool raid1_add_bio_to_plug(struct mddev *mddev, struct bio *bio, in raid1_add_bio_to_plug()
H A Dmd-bitmap.h195 struct mddev *mddev; /* the md device that the bitmap is for */ member
H A Draid5.h578 struct mddev *mddev; member