/linux-2.4.37.9/drivers/md/ |
D | md.c | 143 void add_mddev_mapping(mddev_t * mddev, kdev_t dev, void *data) in add_mddev_mapping() 159 void del_mddev_mapping(mddev_t * mddev, kdev_t dev) in del_mddev_mapping() 177 mddev_t *mddev = kdev_to_mddev(bh->b_rdev); in md_make_request() local 189 mddev_t *mddev; in alloc_mddev() local 222 mdk_rdev_t * find_rdev_nr(mddev_t *mddev, int nr) in find_rdev_nr() 234 mdk_rdev_t * find_rdev(mddev_t * mddev, kdev_t dev) in find_rdev() 285 static unsigned int calc_dev_sboffset(kdev_t dev, mddev_t *mddev, in calc_dev_sboffset() 297 static unsigned int calc_dev_size(kdev_t dev, mddev_t *mddev, int persistent) in calc_dev_size() 311 static unsigned int zoned_raid_size(mddev_t *mddev) in zoned_raid_size() 341 int md_check_ordering(mddev_t *mddev) in md_check_ordering() [all …]
|
D | multipath.c | 139 static int multipath_map (mddev_t *mddev, kdev_t *rdev) in multipath_map() 163 mddev_t *mddev = mp_bh->mddev; in multipath_reschedule_retry() local 241 static int multipath_make_request (mddev_t *mddev, int rw, in multipath_make_request() 284 static void multipath_status (struct seq_file *seq, mddev_t *mddev) in multipath_status() 307 static void mark_disk_bad (mddev_t *mddev, int failed) in mark_disk_bad() 330 static int multipath_error (mddev_t *mddev, kdev_t dev) in multipath_error() 420 static int multipath_diskop(mddev_t *mddev, mdp_disk_t **d, int state) in multipath_diskop() 690 mddev_t *mddev; in multipathd() local 732 static int __check_consistency (mddev_t *mddev, int row) in __check_consistency() 774 static int check_consistency (mddev_t *mddev) in check_consistency() [all …]
|
D | raid1.c | 324 static int raid1_map (mddev_t *mddev, kdev_t *rdev) in raid1_map() 352 mddev_t *mddev = r1_bh->mddev; in raid1_reschedule_retry() local 590 static int raid1_make_request (mddev_t *mddev, int rw, in raid1_make_request() 743 static void raid1_status(struct seq_file *seq, mddev_t *mddev) in raid1_status() 772 static void mark_disk_bad (mddev_t *mddev, int failed) in mark_disk_bad() 796 static int raid1_error (mddev_t *mddev, kdev_t dev) in raid1_error() 860 mddev_t *mddev = conf->mddev; in close_sync() local 884 static int raid1_diskop(mddev_t *mddev, mdp_disk_t **d, int state) in raid1_diskop() 1191 mddev_t *mddev = conf->mddev; in raid1d() local 1320 mddev_t *mddev = conf->mddev; in raid1syncd() local [all …]
|
D | linear.c | 30 static int linear_run (mddev_t *mddev) in linear_run() 110 static int linear_stop (mddev_t *mddev) in linear_stop() 122 static int linear_make_request (mddev_t *mddev, in linear_make_request() 156 static void linear_status (struct seq_file *seq, mddev_t *mddev) in linear_status()
|
D | raid0.c | 28 static int create_strip_zones (mddev_t *mddev) in create_strip_zones() 121 static int raid0_run (mddev_t *mddev) in raid0_run() 204 static int raid0_stop (mddev_t *mddev) in raid0_stop() 226 static int raid0_make_request (mddev_t *mddev, in raid0_make_request() 292 static void raid0_status (struct seq_file *seq, mddev_t *mddev) in raid0_status()
|
D | raid5.c | 480 static int raid5_error (mddev_t *mddev, kdev_t dev) in raid5_error() 1203 static int raid5_make_request (mddev_t *mddev, int rw, struct buffer_head * bh) in raid5_make_request() 1254 static int raid5_sync_request (mddev_t *mddev, unsigned long sector_nr) in raid5_sync_request() 1297 mddev_t *mddev = conf->mddev; in raid5d() local 1349 mddev_t *mddev = conf->mddev; in raid5syncd() local 1366 static int raid5_run (mddev_t *mddev) in raid5_run() 1606 static int raid5_stop_resync (mddev_t *mddev) in raid5_stop_resync() 1623 static int raid5_restart_resync (mddev_t *mddev) in raid5_restart_resync() 1642 static int raid5_stop (mddev_t *mddev) in raid5_stop() 1692 static void raid5_status (struct seq_file *seq, mddev_t *mddev) in raid5_status() [all …]
|
/linux-2.4.37.9/include/linux/raid/ |
D | md_k.h | 72 mddev_t *mddev; member 168 mddev_t *mddev; /* RAID array if running */ member 253 static inline int mdidx (mddev_t * mddev) in mdidx() 258 static inline kdev_t mddev_to_kdev(mddev_t * mddev) in mddev_to_kdev() 280 #define ITERATE_RDEV(mddev,rdev,tmp) \ argument 287 #define ITERATE_RDEV_ORDERED(mddev,rdev,i) \ argument 306 #define ITERATE_MDDEV(mddev,tmp) \ argument 313 static inline int lock_mddev (mddev_t * mddev) in lock_mddev() 318 static inline void unlock_mddev (mddev_t * mddev) in unlock_mddev()
|
D | multipath.h | 21 mddev_t *mddev; member 48 #define mddev_to_conf(mddev) ((multipath_conf_t *) mddev->private) argument 62 mddev_t *mddev; member
|
D | raid1.h | 24 mddev_t *mddev; member 70 #define mddev_to_conf(mddev) ((raid1_conf_t *) mddev->private) argument 84 mddev_t *mddev; member
|
D | linear.h | 30 #define mddev_to_conf(mddev) ((linear_conf_t *) mddev->private) argument
|
D | raid0.h | 31 #define mddev_to_conf(mddev) ((raid0_conf_t *) mddev->private) argument
|
D | raid5.h | 200 mddev_t *mddev; member 230 #define mddev_to_conf(mddev) ((raid5_conf_t *) mddev->private) argument
|