Lines Matching defs:md_personality
531 struct md_personality struct
533 char *name;
534 int level;
535 struct list_head list;
536 struct module *owner;
537 bool (*make_request)(struct mddev *mddev, struct bio *bio);
542 int (*run)(struct mddev *mddev);
544 int (*start)(struct mddev *mddev);
545 void (*free)(struct mddev *mddev, void *priv);
546 void (*status)(struct seq_file *seq, struct mddev *mddev);
550 void (*error_handler)(struct mddev *mddev, struct md_rdev *rdev);
551 int (*hot_add_disk) (struct mddev *mddev, struct md_rdev *rdev);
552 int (*hot_remove_disk) (struct mddev *mddev, struct md_rdev *rdev);
553 int (*spare_active) (struct mddev *mddev);
554 sector_t (*sync_request)(struct mddev *mddev, sector_t sector_nr, int *skipped);
555 int (*resize) (struct mddev *mddev, sector_t sectors);
556 sector_t (*size) (struct mddev *mddev, sector_t sectors, int raid_disks);
557 int (*check_reshape) (struct mddev *mddev);
558 int (*start_reshape) (struct mddev *mddev);
559 void (*finish_reshape) (struct mddev *mddev);
564 void (*quiesce) (struct mddev *mddev, int quiesce);
574 void *(*takeover) (struct mddev *mddev);
577 int (*congested)(struct mddev *mddev, int bits);
579 int (*change_consistency_policy)(struct mddev *mddev, const char *buf);