Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/md/
Dmd.h44 struct mddev *mddev; /* RAID array if running */ member
212 struct mddev { struct
213 void *private;
214 struct md_personality *pers;
215 dev_t unit;
216 int md_minor;
217 struct list_head disks;
218 unsigned long flags;
228 int suspended;
229 atomic_t active_io;
[all …]
Dmd.c104 static inline int speed_min(struct mddev *mddev) in speed_min()
110 static inline int speed_max(struct mddev *mddev) in speed_max()
165 struct mddev *mddev) in bio_alloc_mddev()
180 struct mddev *mddev) in bio_clone_mddev()
201 void md_new_event(struct mddev *mddev) in md_new_event()
211 static void md_new_event_inintr(struct mddev *mddev) in md_new_event_inintr()
256 struct mddev *mddev = q->queuedata; in md_make_request() local
311 void mddev_suspend(struct mddev *mddev) in mddev_suspend()
323 void mddev_resume(struct mddev *mddev) in mddev_resume()
335 int mddev_congested(struct mddev *mddev, int bits) in mddev_congested()
[all …]
Draid0.c28 static int raid0_congested(struct mddev *mddev, int bits) in raid0_congested()
46 static void dump_zones(struct mddev *mddev) in dump_zones()
76 static int create_strip_zones(struct mddev *mddev, struct r0conf **private_conf) in create_strip_zones()
307 static struct md_rdev *map_sector(struct mddev *mddev, struct strip_zone *zone, in map_sector()
348 static int raid0_mergeable_bvec(struct mddev *mddev, in raid0_mergeable_bvec()
392 static sector_t raid0_size(struct mddev *mddev, sector_t sectors, int raid_disks) in raid0_size()
409 static int raid0_run(struct mddev *mddev) in raid0_run()
484 static void raid0_free(struct mddev *mddev, void *priv) in raid0_free()
496 static inline int is_io_in_chunk_boundary(struct mddev *mddev, in is_io_in_chunk_boundary()
510 static void raid0_make_request(struct mddev *mddev, struct bio *bio) in raid0_make_request()
[all …]
Dlinear.c30 static inline struct dev_info *which_dev(struct mddev *mddev, sector_t sector) in which_dev()
63 static int linear_mergeable_bvec(struct mddev *mddev, in linear_mergeable_bvec()
97 static int linear_congested(struct mddev *mddev, int bits) in linear_congested()
112 static sector_t linear_size(struct mddev *mddev, sector_t sectors, int raid_disks) in linear_size()
125 static struct linear_conf *linear_conf(struct mddev *mddev, int raid_disks) in linear_conf()
195 static int linear_run (struct mddev *mddev) in linear_run()
217 static int linear_add(struct mddev *mddev, struct md_rdev *rdev) in linear_add()
252 static void linear_free(struct mddev *mddev, void *priv) in linear_free()
259 static void linear_make_request(struct mddev *mddev, struct bio *bio) in linear_make_request()
318 static void linear_status (struct seq_file *seq, struct mddev *mddev) in linear_status()
[all …]
Dmd-cluster.c30 struct mddev *mddev; /* pointing back to mddev. */ member
116 static struct dlm_lock_resource *lockres_init(struct mddev *mddev, in lockres_init()
191 static void add_resync_info(struct mddev *mddev, struct dlm_lock_resource *lockres, in add_resync_info()
201 static struct suspend_info *read_resync_info(struct mddev *mddev, struct dlm_lock_resource *lockres) in read_resync_info()
224 struct mddev *mddev = thread->mddev; in recover_bitmaps() local
282 struct mddev *mddev = arg; in recover_slot() local
305 struct mddev *mddev = arg; in recover_done() local
376 static void process_add_new_disk(struct mddev *mddev, struct cluster_msg *cmsg) in process_add_new_disk()
398 static void process_metadata_update(struct mddev *mddev, struct cluster_msg *msg) in process_metadata_update()
406 static void process_remove_disk(struct mddev *mddev, struct cluster_msg *msg) in process_remove_disk()
[all …]
Dmultipath.c61 struct mddev *mddev = mp_bh->mddev; in multipath_reschedule_retry() local
108 static void multipath_make_request(struct mddev *mddev, struct bio * bio) in multipath_make_request()
144 static void multipath_status (struct seq_file *seq, struct mddev *mddev) in multipath_status()
158 static int multipath_congested(struct mddev *mddev, int bits) in multipath_congested()
183 static void multipath_error (struct mddev *mddev, struct md_rdev *rdev) in multipath_error()
241 static int multipath_add_disk(struct mddev *mddev, struct md_rdev *rdev) in multipath_add_disk()
290 static int multipath_remove_disk(struct mddev *mddev, struct md_rdev *rdev) in multipath_remove_disk()
333 struct mddev *mddev = thread->mddev; in multipathd() local
377 static sector_t multipath_size(struct mddev *mddev, sector_t sectors, int raid_disks) in multipath_size()
385 static int multipath_run (struct mddev *mddev) in multipath_run()
[all …]
Dbitmap.c145 static int read_sb_page(struct mddev *mddev, loff_t offset, in read_sb_page()
171 static struct md_rdev *next_active_rdev(struct md_rdev *rdev, struct mddev *mddev) in next_active_rdev()
211 struct mddev *mddev = bitmap->mddev; in write_sb_page() local
1194 void bitmap_daemon_work(struct mddev *mddev) in bitmap_daemon_work()
1651 void bitmap_flush(struct mddev *mddev) in bitmap_flush()
1707 void bitmap_destroy(struct mddev *mddev) in bitmap_destroy()
1732 struct bitmap *bitmap_create(struct mddev *mddev, int slot) in bitmap_create()
1813 int bitmap_load(struct mddev *mddev) in bitmap_load()
1867 int bitmap_copy_from_slot(struct mddev *mddev, int slot, in bitmap_copy_from_slot()
2112 location_show(struct mddev *mddev, char *page) in location_show()
[all …]
Draid10.c276 struct mddev *mddev = r10_bio->mddev; in reschedule_retry() local
685 static int raid10_mergeable_bvec(struct mddev *mddev, in raid10_mergeable_bvec()
912 static int raid10_congested(struct mddev *mddev, int bits) in raid10_congested()
1110 struct mddev *mddev = plug->cb.data; in raid10_unplug() local
1144 static void __make_request(struct mddev *mddev, struct bio *bio) in __make_request()
1536 static void make_request(struct mddev *mddev, struct bio *bio) in make_request()
1578 static void status(struct seq_file *seq, struct mddev *mddev) in status()
1654 static void error(struct mddev *mddev, struct md_rdev *rdev) in error()
1725 static int raid10_spare_active(struct mddev *mddev) in raid10_spare_active()
1773 static int raid10_add_disk(struct mddev *mddev, struct md_rdev *rdev) in raid10_add_disk()
[all …]
Draid1.c218 struct mddev *mddev = r1_bio->mddev; in reschedule_retry() local
711 static int raid1_mergeable_bvec(struct mddev *mddev, in raid1_mergeable_bvec()
743 static int raid1_congested(struct mddev *mddev, int bits) in raid1_congested()
1045 struct mddev *mddev = plug->cb.data; in raid1_unplug() local
1079 static void make_request(struct mddev *mddev, struct bio * bio) in make_request()
1457 static void status(struct seq_file *seq, struct mddev *mddev) in status()
1474 static void error(struct mddev *mddev, struct md_rdev *rdev) in error()
1559 static int raid1_spare_active(struct mddev *mddev) in raid1_spare_active()
1611 static int raid1_add_disk(struct mddev *mddev, struct md_rdev *rdev) in raid1_add_disk()
1683 static int raid1_remove_disk(struct mddev *mddev, struct md_rdev *rdev) in raid1_remove_disk()
[all …]
Dfaulty.c173 static void make_request(struct mddev *mddev, struct bio *bio) in make_request()
229 static void status(struct seq_file *seq, struct mddev *mddev) in status()
262 static int reshape(struct mddev *mddev) in reshape()
291 static sector_t faulty_size(struct mddev *mddev, sector_t sectors, int raid_disks) in faulty_size()
302 static int run(struct mddev *mddev) in run()
335 static void faulty_free(struct mddev *mddev, void *priv) in faulty_free()
Draid5.c2507 static void error(struct mddev *mddev, struct md_rdev *rdev) in error()
4655 static int raid5_congested(struct mddev *mddev, int bits) in raid5_congested()
4676 static int raid5_mergeable_bvec(struct mddev *mddev, in raid5_mergeable_bvec()
4702 static int in_chunk_boundary(struct mddev *mddev, struct bio *bio) in in_chunk_boundary()
4763 struct mddev *mddev; in raid5_align_endio() local
4810 static int chunk_aligned_read(struct mddev *mddev, struct bio * raid_bio) in chunk_aligned_read()
4994 struct mddev *mddev = cb->cb.data; in raid5_unplug() local
5028 static void release_stripe_plug(struct mddev *mddev, in release_stripe_plug()
5056 static void make_discard_request(struct mddev *mddev, struct bio *bi) in make_discard_request()
5148 static void make_request(struct mddev *mddev, struct bio * bi) in make_request()
[all …]
Dmultipath.h9 struct mddev *mddev; member
25 struct mddev *mddev; member
Ddm-raid.c807 static void super_sync(struct mddev *mddev, struct md_rdev *rdev) in super_sync()
898 static int super_init_validation(struct mddev *mddev, struct md_rdev *rdev) in super_init_validation()
1028 static int super_validate(struct mddev *mddev, struct md_rdev *rdev) in super_validate()
1070 struct mddev *mddev = &rs->md; in analyse_superblocks() local
1325 struct mddev *mddev = &rs->md; in raid_map() local
1332 static const char *decipher_sync_action(struct mddev *mddev) in decipher_sync_action()
1533 struct mddev *mddev = &rs->md; in raid_message() local
Draid1.h27 struct mddev *mddev; member
32 struct mddev *mddev; member
129 struct mddev *mddev; member
Draid10.h15 struct mddev *mddev; member
99 struct mddev *mddev; member
Dbitmap.h192 struct mddev *mddev; /* the md device that the bitmap is for */ member
Draid5.h433 struct mddev *mddev; member