Home | History | Annotate | Download | only in raid

Lines Matching refs:mddev

54 	mddev_t *mddev;			/* RAID array if running */
246 static inline void rdev_dec_pending(mdk_rdev_t *rdev, mddev_t *mddev)
250 set_bit(MD_RECOVERY_NEEDED, &mddev->recovery);
265 int (*run)(mddev_t *mddev);
266 int (*stop)(mddev_t *mddev);
267 void (*status)(struct seq_file *seq, mddev_t *mddev);
271 void (*error_handler)(mddev_t *mddev, mdk_rdev_t *rdev);
272 int (*hot_add_disk) (mddev_t *mddev, mdk_rdev_t *rdev);
273 int (*hot_remove_disk) (mddev_t *mddev, int number);
274 int (*spare_active) (mddev_t *mddev);
275 sector_t (*sync_request)(mddev_t *mddev, sector_t sector_nr, int *skipped, int go_faster);
276 int (*resize) (mddev_t *mddev, sector_t sectors);
277 int (*check_reshape) (mddev_t *mddev);
278 int (*start_reshape) (mddev_t *mddev);
279 int (*reconfig) (mddev_t *mddev, int layout, int chunk_size);
285 void (*quiesce) (mddev_t *mddev, int state);
296 static inline char * mdname (mddev_t * mddev)
298 return mddev->gendisk ? mddev->gendisk->disk_name : "mdX";
314 #define ITERATE_RDEV(mddev,rdev,tmp) \
315 ITERATE_RDEV_GENERIC((mddev)->disks,rdev,tmp)
324 void (*run) (mddev_t *mddev);
325 mddev_t *mddev;