Lines Matching defs:conf
395 * in conf->r5c_partial_stripe_list)
398 * in conf->r5c_full_stripe_list)
515 struct r5conf *conf;
695 #define RAID5_STRIPE_SIZE(conf) STRIPE_SIZE
696 #define RAID5_STRIPE_SHIFT(conf) STRIPE_SHIFT
697 #define RAID5_STRIPE_SECTORS(conf) STRIPE_SECTORS
699 #define RAID5_STRIPE_SIZE(conf) ((conf)->stripe_size)
700 #define RAID5_STRIPE_SHIFT(conf) ((conf)->stripe_shift)
701 #define RAID5_STRIPE_SECTORS(conf) ((conf)->stripe_sectors)
713 static inline struct bio *r5_next_bio(struct r5conf *conf, struct bio *bio, sector_t sector)
715 if (bio_end_sector(bio) < sector + RAID5_STRIPE_SECTORS(conf))
801 extern void md_raid5_kick_device(struct r5conf *conf);
805 extern sector_t raid5_compute_sector(struct r5conf *conf, sector_t r_sector,
809 raid5_get_active_stripe(struct r5conf *conf, sector_t sector,
811 extern int raid5_calc_degraded(struct r5conf *conf);