/linux-3.4.99/drivers/md/ |
D | md.h | 43 struct mddev *mddev; /* RAID array if running */ member 200 struct mddev { struct 201 void *private; 202 struct md_personality *pers; 203 dev_t unit; 204 int md_minor; 205 struct list_head disks; 206 unsigned long flags; 212 int suspended; 213 atomic_t active_io; [all …]
|
D | md.c | 98 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 391 void mddev_suspend(struct mddev *mddev) in mddev_suspend() 403 void mddev_resume(struct mddev *mddev) in mddev_resume() [all …]
|
D | raid0.c | 31 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() 310 static struct md_rdev *map_sector(struct mddev *mddev, struct strip_zone *zone, in map_sector() 355 struct mddev *mddev = q->queuedata; in raid0_mergeable_bvec() local 396 static sector_t raid0_size(struct mddev *mddev, sector_t sectors, int raid_disks) in raid0_size() 413 static int raid0_run(struct mddev *mddev) in raid0_run() 468 static int raid0_stop(struct mddev *mddev) in raid0_stop() 483 static inline int is_io_in_chunk_boundary(struct mddev *mddev, in is_io_in_chunk_boundary() 496 static void raid0_make_request(struct mddev *mddev, struct bio *bio) in raid0_make_request() [all …]
|
D | linear.c | 30 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 102 struct mddev *mddev = data; in linear_congested() local 121 static sector_t linear_size(struct mddev *mddev, sector_t sectors, int raid_disks) in linear_size() 136 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() 224 static int linear_add(struct mddev *mddev, struct md_rdev *rdev) in linear_add() 257 static int linear_stop (struct mddev *mddev) in linear_stop() 276 static void linear_make_request(struct mddev *mddev, struct bio *bio) in linear_make_request() 332 static void linear_status (struct seq_file *seq, struct mddev *mddev) in linear_status()
|
D | multipath.c | 62 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 …]
|
D | bitmap.c | 133 static struct page *read_sb_page(struct mddev *mddev, loff_t offset, in read_sb_page() 172 static struct md_rdev *next_active_rdev(struct md_rdev *rdev, struct mddev *mddev) in next_active_rdev() 210 struct mddev *mddev = bitmap->mddev; in write_sb_page() local 1098 void bitmap_daemon_work(struct mddev *mddev) in bitmap_daemon_work() 1587 void bitmap_flush(struct mddev *mddev) in bitmap_flush() 1635 void bitmap_destroy(struct mddev *mddev) in bitmap_destroy() 1658 int bitmap_create(struct mddev *mddev) in bitmap_create() 1759 int bitmap_load(struct mddev *mddev) in bitmap_load() 1834 location_show(struct mddev *mddev, char *page) in location_show() 1848 location_store(struct mddev *mddev, const char *buf, size_t len) in location_store() [all …]
|
D | raid1.c | 202 struct mddev *mddev = r1_bio->mddev; in reschedule_retry() local 632 struct mddev *mddev = q->queuedata; in raid1_mergeable_bvec() local 661 int md_raid1_congested(struct mddev *mddev, int bits) in md_raid1_congested() 694 struct mddev *mddev = data; in raid1_congested() local 883 static void make_request(struct mddev *mddev, struct bio * bio) in make_request() 1231 static void status(struct seq_file *seq, struct mddev *mddev) in status() 1249 static void error(struct mddev *mddev, struct md_rdev *rdev) in error() 1326 static int raid1_spare_active(struct mddev *mddev) in raid1_spare_active() 1376 static int raid1_add_disk(struct mddev *mddev, struct md_rdev *rdev) in raid1_add_disk() 1445 static int raid1_remove_disk(struct mddev *mddev, struct md_rdev *rdev) in raid1_remove_disk() [all …]
|
D | raid10.c | 238 struct mddev *mddev = r10_bio->mddev; in reschedule_retry() local 606 struct mddev *mddev = q->queuedata; in raid10_mergeable_bvec() local 818 struct mddev *mddev = data; in raid10_congested() local 990 static void make_request(struct mddev *mddev, struct bio * bio) in make_request() 1386 static void status(struct seq_file *seq, struct mddev *mddev) in status() 1436 static void error(struct mddev *mddev, struct md_rdev *rdev) in error() 1506 static int raid10_spare_active(struct mddev *mddev) in raid10_spare_active() 1555 static int raid10_add_disk(struct mddev *mddev, struct md_rdev *rdev) in raid10_add_disk() 1634 static int raid10_remove_disk(struct mddev *mddev, struct md_rdev *rdev) in raid10_remove_disk() 1728 struct mddev *mddev = r10_bio->mddev; in end_sync_request() local [all …]
|
D | faulty.c | 173 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()
|
D | raid5.c | 1851 static void error(struct mddev *mddev, struct md_rdev *rdev) in error() 3647 int md_raid5_congested(struct mddev *mddev, int bits) in md_raid5_congested() 3668 struct mddev *mddev = data; in raid5_congested() local 3681 struct mddev *mddev = q->queuedata; in raid5_mergeable_bvec() local 3701 static int in_chunk_boundary(struct mddev *mddev, struct bio *bio) in in_chunk_boundary() 3764 struct mddev *mddev; in raid5_align_endio() local 3811 static int chunk_aligned_read(struct mddev *mddev, struct bio * raid_bio) in chunk_aligned_read() 3945 static void make_request(struct mddev *mddev, struct bio * bi) in make_request() 4105 static sector_t reshape_request(struct mddev *mddev, sector_t sector_nr, int *skipped) in reshape_request() 4323 static inline sector_t sync_request(struct mddev *mddev, sector_t sector_nr, int *skipped, int go_f… in sync_request() [all …]
|
D | multipath.h | 9 struct mddev *mddev; member 25 struct mddev *mddev; member
|
D | raid1.h | 21 struct mddev *mddev; member 26 struct mddev *mddev; member 116 struct mddev *mddev; member
|
D | dm-raid.c | 618 static void super_sync(struct mddev *mddev, struct md_rdev *rdev) in super_sync() 703 static int super_init_validation(struct mddev *mddev, struct md_rdev *rdev) in super_init_validation() 820 static int super_validate(struct mddev *mddev, struct md_rdev *rdev) in super_validate() 863 struct mddev *mddev = &rs->md; in analyse_superblocks() local 1063 struct mddev *mddev = &rs->md; in raid_map() local
|
D | raid10.h | 15 struct mddev *mddev; member 88 struct mddev *mddev; member
|
D | bitmap.h | 174 struct mddev *mddev; /* the md device that the bitmap is for */ member
|
D | raid5.h | 366 struct mddev *mddev; member
|