Searched refs:mddev_t (Results 1 – 11 of 11) sorted by relevance
/linux-2.4.37.9/include/linux/raid/ |
D | md_k.h | 58 typedef struct mddev_s mddev_t; typedef 72 mddev_t *mddev; 78 static inline mddev_t * kdev_to_mddev (kdev_t dev) in kdev_to_mddev() 168 mddev_t *mddev; /* RAID array if running */ 224 int (*make_request)(mddev_t *mddev, int rw, struct buffer_head * bh); 225 int (*run)(mddev_t *mddev); 226 int (*stop)(mddev_t *mddev); 227 void (*status)(struct seq_file *seq, mddev_t *mddev); 228 int (*error_handler)(mddev_t *mddev, kdev_t dev); 240 int (*diskop) (mddev_t *mddev, mdp_disk_t **descriptor, int state); [all …]
|
D | md.h | 66 extern void add_mddev_mapping (mddev_t *mddev, kdev_t dev, void *data); 67 extern void del_mddev_mapping (mddev_t *mddev, kdev_t dev); 76 extern int md_update_sb (mddev_t *mddev); 77 extern int md_do_sync(mddev_t *mddev, mdp_disk_t *spare); 78 extern void md_done_sync(mddev_t *mddev, int blocks, int ok); 81 extern int md_check_ordering (mddev_t *mddev); 84 extern int md_error (mddev_t *mddev, kdev_t rdev);
|
D | multipath.h | 21 mddev_t *mddev; 62 mddev_t *mddev;
|
D | raid1.h | 24 mddev_t *mddev; 84 mddev_t *mddev;
|
D | raid5.h | 200 mddev_t *mddev;
|
/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() 187 static mddev_t * alloc_mddev(kdev_t dev) in alloc_mddev() 189 mddev_t *mddev; in alloc_mddev() 195 mddev = (mddev_t *) kmalloc(sizeof(*mddev), GFP_KERNEL); in alloc_mddev() 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() [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 | multipath.c | 54 static int multipath_diskop(mddev_t *mddev, mdp_disk_t **d, int state); 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() 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() 732 static int __check_consistency (mddev_t *mddev, int row) in __check_consistency() [all …]
|
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 | 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() 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() 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() 1320 mddev_t *mddev = conf->mddev; in raid1syncd() [all …]
|
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() 1349 mddev_t *mddev = conf->mddev; in raid5syncd() 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 …]
|