Home
last modified time | relevance | path

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

/linux-3.3/drivers/md/
Dmd.h43 struct mddev *mddev; /* RAID array if running */ member
196 struct mddev { struct
197 void *private;
198 struct md_personality *pers;
199 dev_t unit;
200 int md_minor;
201 struct list_head disks;
202 unsigned long flags;
208 int suspended;
209 atomic_t active_io;
[all …]
Dmd.c98 static inline int speed_min(struct mddev *mddev) in speed_min()
104 static inline int speed_max(struct mddev *mddev) in speed_max()
160 struct mddev *mddev, **mddevp; in mddev_bio_destructor() local
169 struct mddev *mddev) in bio_alloc_mddev()
189 struct mddev *mddev) in bio_clone_mddev()
281 void md_new_event(struct mddev *mddev) in md_new_event()
291 static void md_new_event_inintr(struct mddev *mddev) in md_new_event_inintr()
338 struct mddev *mddev = q->queuedata; in md_make_request() local
387 void mddev_suspend(struct mddev *mddev) in mddev_suspend()
397 void mddev_resume(struct mddev *mddev) in mddev_resume()
[all …]
Draid0.c31 struct mddev *mddev = data; in raid0_congested() local
51 static void dump_zones(struct mddev *mddev) in dump_zones()
81 static int create_strip_zones(struct mddev *mddev, struct r0conf **private_conf) in create_strip_zones()
305 struct mddev *mddev = q->queuedata; in raid0_mergeable_bvec() local
324 static sector_t raid0_size(struct mddev *mddev, sector_t sectors, int raid_disks) in raid0_size()
338 static int raid0_run(struct mddev *mddev) in raid0_run()
388 static int raid0_stop(struct mddev *mddev) in raid0_stop()
423 static struct md_rdev *map_sector(struct mddev *mddev, struct strip_zone *zone, in map_sector()
459 static inline int is_io_in_chunk_boundary(struct mddev *mddev, in is_io_in_chunk_boundary()
472 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()
67 struct mddev *mddev = q->queuedata; in linear_mergeable_bvec() local
93 struct mddev *mddev = data; in linear_congested() local
112 static sector_t linear_size(struct mddev *mddev, sector_t sectors, int raid_disks) in linear_size()
127 static struct linear_conf *linear_conf(struct mddev *mddev, int raid_disks) in linear_conf()
198 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()
250 static int linear_stop (struct mddev *mddev) in linear_stop()
269 static void linear_make_request(struct mddev *mddev, struct bio *bio) in linear_make_request()
325 static void linear_status (struct seq_file *seq, struct mddev *mddev) in linear_status()
Dmultipath.c62 struct mddev *mddev = mp_bh->mddev; in multipath_reschedule_retry() local
110 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()
160 struct mddev *mddev = data; in multipath_congested() local
187 static void multipath_error (struct mddev *mddev, struct md_rdev *rdev) in multipath_error()
246 static int multipath_add_disk(struct mddev *mddev, struct md_rdev *rdev) in multipath_add_disk()
295 static int multipath_remove_disk(struct mddev *mddev, struct md_rdev *rdev) in multipath_remove_disk()
338 static void multipathd (struct mddev *mddev) in multipathd()
382 static sector_t multipath_size(struct mddev *mddev, sector_t sectors, int raid_disks) in multipath_size()
390 static int multipath_run (struct mddev *mddev) in multipath_run()
[all …]
Draid1.c202 struct mddev *mddev = r1_bio->mddev; in reschedule_retry() local
617 int md_raid1_congested(struct mddev *mddev, int bits) in md_raid1_congested()
650 struct mddev *mddev = data; in raid1_congested() local
826 static void make_request(struct mddev *mddev, struct bio * bio) in make_request()
1173 static void status(struct seq_file *seq, struct mddev *mddev) in status()
1191 static void error(struct mddev *mddev, struct md_rdev *rdev) in error()
1268 static int raid1_spare_active(struct mddev *mddev) in raid1_spare_active()
1317 static int raid1_add_disk(struct mddev *mddev, struct md_rdev *rdev) in raid1_add_disk()
1378 static int raid1_remove_disk(struct mddev *mddev, struct md_rdev *rdev) in raid1_remove_disk()
1457 struct mddev *mddev = r1_bio->mddev; in end_sync_write() local
[all …]
Dbitmap.c157 static struct page *read_sb_page(struct mddev *mddev, loff_t offset, in read_sb_page()
196 static struct md_rdev *next_active_rdev(struct md_rdev *rdev, struct mddev *mddev) in next_active_rdev()
234 struct mddev *mddev = bitmap->mddev; in write_sb_page() local
1133 void bitmap_daemon_work(struct mddev *mddev) in bitmap_daemon_work()
1622 void bitmap_flush(struct mddev *mddev) in bitmap_flush()
1670 void bitmap_destroy(struct mddev *mddev) in bitmap_destroy()
1693 int bitmap_create(struct mddev *mddev) in bitmap_create()
1794 int bitmap_load(struct mddev *mddev) in bitmap_load()
1840 location_show(struct mddev *mddev, char *page) in location_show()
1854 location_store(struct mddev *mddev, const char *buf, size_t len) in location_store()
[all …]
Draid10.c238 struct mddev *mddev = r10_bio->mddev; in reschedule_retry() local
596 struct mddev *mddev = q->queuedata; in raid10_mergeable_bvec() local
760 struct mddev *mddev = data; in raid10_congested() local
919 static void make_request(struct mddev *mddev, struct bio * bio) in make_request()
1307 static void status(struct seq_file *seq, struct mddev *mddev) in status()
1355 static void error(struct mddev *mddev, struct md_rdev *rdev) in error()
1425 static int raid10_spare_active(struct mddev *mddev) in raid10_spare_active()
1473 static int raid10_add_disk(struct mddev *mddev, struct md_rdev *rdev) in raid10_add_disk()
1550 static int raid10_remove_disk(struct mddev *mddev, struct md_rdev *rdev) in raid10_remove_disk()
1644 struct mddev *mddev = r10_bio->mddev; in end_sync_request() local
[all …]
Dfaulty.c173 static void make_request(struct mddev *mddev, struct bio *bio) in make_request()
226 static void status(struct seq_file *seq, struct mddev *mddev) in status()
259 static int reshape(struct mddev *mddev) in reshape()
288 static sector_t faulty_size(struct mddev *mddev, sector_t sectors, int raid_disks) in faulty_size()
299 static int run(struct mddev *mddev) in run()
329 static int stop(struct mddev *mddev) in stop()
Draid5.c1839 static void error(struct mddev *mddev, struct md_rdev *rdev) in error()
3625 int md_raid5_congested(struct mddev *mddev, int bits) in md_raid5_congested()
3646 struct mddev *mddev = data; in raid5_congested() local
3659 struct mddev *mddev = q->queuedata; in raid5_mergeable_bvec() local
3679 static int in_chunk_boundary(struct mddev *mddev, struct bio *bio) in in_chunk_boundary()
3742 struct mddev *mddev; in raid5_align_endio() local
3789 static int chunk_aligned_read(struct mddev *mddev, struct bio * raid_bio) in chunk_aligned_read()
3921 static void make_request(struct mddev *mddev, struct bio * bi) in make_request()
4081 static sector_t reshape_request(struct mddev *mddev, sector_t sector_nr, int *skipped) in reshape_request()
4299 static inline sector_t sync_request(struct mddev *mddev, sector_t sector_nr, int *skipped, int go_f… in sync_request()
[all …]
Dmultipath.h9 struct mddev *mddev; member
25 struct mddev *mddev; member
Draid1.h21 struct mddev *mddev; member
26 struct mddev *mddev; member
116 struct mddev *mddev; member
Ddm-raid.c616 static void super_sync(struct mddev *mddev, struct md_rdev *rdev) in super_sync()
701 static int super_init_validation(struct mddev *mddev, struct md_rdev *rdev) in super_init_validation()
818 static int super_validate(struct mddev *mddev, struct md_rdev *rdev) in super_validate()
859 struct mddev *mddev = &rs->md; in analyse_superblocks() local
1014 struct mddev *mddev = &rs->md; in raid_map() local
Draid10.h15 struct mddev *mddev; member
88 struct mddev *mddev; member
Dbitmap.h196 struct mddev *mddev; /* the md device that the bitmap is for */ member
Draid5.h365 struct mddev *mddev; member