r5conf           1532 drivers/md/dm-raid.c 	struct r5conf *conf;
r5conf           3507 drivers/md/dm-raid.c 	struct r5conf *conf = mddev->private;
r5conf            195 drivers/md/raid5-cache.c static inline sector_t r5c_tree_index(struct r5conf *conf,
r5conf            294 drivers/md/raid5-cache.c r5c_return_dev_pending_writes(struct r5conf *conf, struct r5dev *dev)
r5conf            309 drivers/md/raid5-cache.c void r5c_handle_cached_data_endio(struct r5conf *conf,
r5conf            329 drivers/md/raid5-cache.c void r5c_check_stripe_cache_usage(struct r5conf *conf)
r5conf            356 drivers/md/raid5-cache.c void r5c_check_cached_full_stripe(struct r5conf *conf)
r5conf            399 drivers/md/raid5-cache.c static sector_t r5c_log_required_to_flush_cache(struct r5conf *conf)
r5conf            420 drivers/md/raid5-cache.c 	struct r5conf *conf = log->rdev->mddev->private;
r5conf            453 drivers/md/raid5-cache.c 	struct r5conf *conf = sh->raid_conf;
r5conf            687 drivers/md/raid5-cache.c 	struct r5conf *conf = mddev->private;
r5conf            867 drivers/md/raid5-cache.c 	struct r5conf *conf = mddev->private;
r5conf            996 drivers/md/raid5-cache.c 	struct r5conf *conf = sh->raid_conf;
r5conf           1154 drivers/md/raid5-cache.c static sector_t r5c_calculate_new_cp(struct r5conf *conf)
r5conf           1179 drivers/md/raid5-cache.c 	struct r5conf *conf = log->rdev->mddev->private;
r5conf           1227 drivers/md/raid5-cache.c 	struct r5conf *conf = log->rdev->mddev->private;
r5conf           1366 drivers/md/raid5-cache.c static void r5c_flush_stripe(struct r5conf *conf, struct stripe_head *sh)
r5conf           1399 drivers/md/raid5-cache.c void r5c_flush_cache(struct r5conf *conf, int num)
r5conf           1424 drivers/md/raid5-cache.c static void r5c_do_reclaim(struct r5conf *conf)
r5conf           1501 drivers/md/raid5-cache.c 	struct r5conf *conf = log->rdev->mddev->private;
r5conf           1554 drivers/md/raid5-cache.c 	struct r5conf *conf = mddev->private;
r5conf           1593 drivers/md/raid5-cache.c bool r5l_log_disk_error(struct r5conf *conf)
r5conf           1819 drivers/md/raid5-cache.c 	struct r5conf *conf = mddev->private;
r5conf           1841 drivers/md/raid5-cache.c 	struct r5conf *conf = mddev->private;
r5conf           1871 drivers/md/raid5-cache.c r5l_recovery_replay_one_stripe(struct r5conf *conf,
r5conf           1930 drivers/md/raid5-cache.c 		struct r5conf *conf,
r5conf           2009 drivers/md/raid5-cache.c 	struct r5conf *conf = mddev->private;
r5conf           2083 drivers/md/raid5-cache.c 	struct r5conf *conf = mddev->private;
r5conf           2431 drivers/md/raid5-cache.c 	struct r5conf *conf = mddev->private;
r5conf           2532 drivers/md/raid5-cache.c 	struct r5conf *conf;
r5conf           2573 drivers/md/raid5-cache.c 	struct r5conf *conf;
r5conf           2634 drivers/md/raid5-cache.c int r5c_try_caching_write(struct r5conf *conf,
r5conf           2760 drivers/md/raid5-cache.c 	struct r5conf *conf = sh->raid_conf;
r5conf           2786 drivers/md/raid5-cache.c 	struct r5conf *conf = sh->raid_conf;
r5conf           2802 drivers/md/raid5-cache.c void r5c_finish_stripe_write_out(struct r5conf *conf,
r5conf           2889 drivers/md/raid5-cache.c 	struct r5conf *conf = sh->raid_conf;
r5conf           2943 drivers/md/raid5-cache.c bool r5c_big_stripe_cached(struct r5conf *conf, sector_t sect)
r5conf           3043 drivers/md/raid5-cache.c 		struct r5conf *conf = mddev->private;
r5conf           3052 drivers/md/raid5-cache.c 	struct r5conf *conf = mddev->private;
r5conf           3064 drivers/md/raid5-cache.c int r5l_init_log(struct r5conf *conf, struct md_rdev *rdev)
r5conf           3169 drivers/md/raid5-cache.c void r5l_exit_log(struct r5conf *conf)
r5conf              5 drivers/md/raid5-log.h extern int r5l_init_log(struct r5conf *conf, struct md_rdev *rdev);
r5conf              6 drivers/md/raid5-log.h extern void r5l_exit_log(struct r5conf *conf);
r5conf             13 drivers/md/raid5-log.h extern bool r5l_log_disk_error(struct r5conf *conf);
r5conf             16 drivers/md/raid5-log.h r5c_try_caching_write(struct r5conf *conf, struct stripe_head *sh,
r5conf             19 drivers/md/raid5-log.h r5c_finish_stripe_write_out(struct r5conf *conf, struct stripe_head *sh,
r5conf             24 drivers/md/raid5-log.h extern void r5c_handle_cached_data_endio(struct r5conf *conf,
r5conf             28 drivers/md/raid5-log.h extern void r5c_flush_cache(struct r5conf *conf, int num);
r5conf             29 drivers/md/raid5-log.h extern void r5c_check_stripe_cache_usage(struct r5conf *conf);
r5conf             30 drivers/md/raid5-log.h extern void r5c_check_cached_full_stripe(struct r5conf *conf);
r5conf             34 drivers/md/raid5-log.h extern bool r5c_big_stripe_cached(struct r5conf *conf, sector_t sect);
r5conf             40 drivers/md/raid5-log.h extern int ppl_init_log(struct r5conf *conf);
r5conf             41 drivers/md/raid5-log.h extern void ppl_exit_log(struct r5conf *conf);
r5conf             42 drivers/md/raid5-log.h extern int ppl_write_stripe(struct r5conf *conf, struct stripe_head *sh);
r5conf             43 drivers/md/raid5-log.h extern void ppl_write_stripe_run(struct r5conf *conf);
r5conf             45 drivers/md/raid5-log.h extern int ppl_modify_log(struct r5conf *conf, struct md_rdev *rdev, bool add);
r5conf             46 drivers/md/raid5-log.h extern void ppl_quiesce(struct r5conf *conf, int quiesce);
r5conf             50 drivers/md/raid5-log.h static inline bool raid5_has_log(struct r5conf *conf)
r5conf             55 drivers/md/raid5-log.h static inline bool raid5_has_ppl(struct r5conf *conf)
r5conf             62 drivers/md/raid5-log.h 	struct r5conf *conf = sh->raid_conf;
r5conf             83 drivers/md/raid5-log.h 	struct r5conf *conf = sh->raid_conf;
r5conf             91 drivers/md/raid5-log.h static inline void log_write_stripe_run(struct r5conf *conf)
r5conf             99 drivers/md/raid5-log.h static inline void log_flush_stripe_to_raid(struct r5conf *conf)
r5conf            107 drivers/md/raid5-log.h static inline int log_handle_flush_request(struct r5conf *conf, struct bio *bio)
r5conf            119 drivers/md/raid5-log.h static inline void log_quiesce(struct r5conf *conf, int quiesce)
r5conf            127 drivers/md/raid5-log.h static inline void log_exit(struct r5conf *conf)
r5conf            135 drivers/md/raid5-log.h static inline int log_init(struct r5conf *conf, struct md_rdev *journal_dev,
r5conf            146 drivers/md/raid5-log.h static inline int log_modify(struct r5conf *conf, struct md_rdev *rdev, bool add)
r5conf            274 drivers/md/raid5-ppl.c 	struct r5conf *conf = sh->raid_conf;
r5conf            360 drivers/md/raid5-ppl.c int ppl_write_stripe(struct r5conf *conf, struct stripe_head *sh)
r5conf            538 drivers/md/raid5-ppl.c void ppl_write_stripe_run(struct r5conf *conf)
r5conf            557 drivers/md/raid5-ppl.c 	struct r5conf *conf = ppl_conf->mddev->private;
r5conf            592 drivers/md/raid5-ppl.c 	struct r5conf *conf = ppl_conf->mddev->private;
r5conf            619 drivers/md/raid5-ppl.c 	struct r5conf *conf = ppl_conf->mddev->private;
r5conf            662 drivers/md/raid5-ppl.c static inline bool ppl_no_io_unit_submitted(struct r5conf *conf,
r5conf            673 drivers/md/raid5-ppl.c void ppl_quiesce(struct r5conf *conf, int quiesce)
r5conf            800 drivers/md/raid5-ppl.c 	struct r5conf *conf = mddev->private;
r5conf           1252 drivers/md/raid5-ppl.c void ppl_exit_log(struct r5conf *conf)
r5conf           1331 drivers/md/raid5-ppl.c int ppl_init_log(struct r5conf *conf)
r5conf           1465 drivers/md/raid5-ppl.c int ppl_modify_log(struct r5conf *conf, struct md_rdev *rdev, bool add)
r5conf           1507 drivers/md/raid5-ppl.c 	struct r5conf *conf;
r5conf           1523 drivers/md/raid5-ppl.c 	struct r5conf *conf;
r5conf             70 drivers/md/raid5.c static inline struct hlist_head *stripe_hash(struct r5conf *conf, sector_t sect)
r5conf             81 drivers/md/raid5.c static inline void lock_device_hash_lock(struct r5conf *conf, int hash)
r5conf             87 drivers/md/raid5.c static inline void unlock_device_hash_lock(struct r5conf *conf, int hash)
r5conf             93 drivers/md/raid5.c static inline void lock_all_device_hash_locks_irq(struct r5conf *conf)
r5conf            102 drivers/md/raid5.c static inline void unlock_all_device_hash_locks_irq(struct r5conf *conf)
r5conf            150 drivers/md/raid5.c static void print_raid5_conf (struct r5conf *conf);
r5conf            168 drivers/md/raid5.c 	struct r5conf *conf = sh->raid_conf;
r5conf            212 drivers/md/raid5.c static void do_release_stripe(struct r5conf *conf, struct stripe_head *sh,
r5conf            297 drivers/md/raid5.c static void __release_stripe(struct r5conf *conf, struct stripe_head *sh,
r5conf            311 drivers/md/raid5.c static void release_inactive_stripe_list(struct r5conf *conf,
r5conf            354 drivers/md/raid5.c static int release_stripe_list(struct r5conf *conf,
r5conf            384 drivers/md/raid5.c 	struct r5conf *conf = sh->raid_conf;
r5conf            421 drivers/md/raid5.c static inline void insert_hash(struct r5conf *conf, struct stripe_head *sh)
r5conf            432 drivers/md/raid5.c static struct stripe_head *get_free_stripe(struct r5conf *conf, int hash)
r5conf            485 drivers/md/raid5.c static void stripe_set_idx(sector_t stripe, struct r5conf *conf, int previous,
r5conf            490 drivers/md/raid5.c 	struct r5conf *conf = sh->raid_conf;
r5conf            530 drivers/md/raid5.c static struct stripe_head *__find_stripe(struct r5conf *conf, sector_t sector,
r5conf            556 drivers/md/raid5.c int raid5_calc_degraded(struct r5conf *conf)
r5conf            612 drivers/md/raid5.c static int has_failed(struct r5conf *conf)
r5conf            626 drivers/md/raid5.c raid5_get_active_stripe(struct r5conf *conf, sector_t sector,
r5conf            729 drivers/md/raid5.c 	struct r5conf *conf = sh->raid_conf;
r5conf            739 drivers/md/raid5.c static void stripe_add_to_batch_list(struct r5conf *conf, struct stripe_head *sh)
r5conf            853 drivers/md/raid5.c static int use_new_offset(struct r5conf *conf, struct stripe_head *sh)
r5conf            892 drivers/md/raid5.c static void dispatch_defer_bios(struct r5conf *conf, int target,
r5conf            937 drivers/md/raid5.c static void flush_deferred_bios(struct r5conf *conf)
r5conf            952 drivers/md/raid5.c static void defer_issue_bios(struct r5conf *conf, sector_t sector,
r5conf            981 drivers/md/raid5.c 	struct r5conf *conf = sh->raid_conf;
r5conf           1722 drivers/md/raid5.c 	struct r5conf *conf = sh->raid_conf;
r5conf           2056 drivers/md/raid5.c 	struct r5conf *conf = sh->raid_conf;
r5conf           2132 drivers/md/raid5.c 	int disks, struct r5conf *conf)
r5conf           2165 drivers/md/raid5.c static int grow_one_stripe(struct r5conf *conf, gfp_t gfp)
r5conf           2188 drivers/md/raid5.c static int grow_stripes(struct r5conf *conf, int num)
r5conf           2249 drivers/md/raid5.c static int resize_chunks(struct r5conf *conf, int new_disks, int new_sectors)
r5conf           2285 drivers/md/raid5.c static int resize_stripes(struct r5conf *conf, int newsize)
r5conf           2433 drivers/md/raid5.c static int drop_one_stripe(struct r5conf *conf)
r5conf           2451 drivers/md/raid5.c static void shrink_stripes(struct r5conf *conf)
r5conf           2464 drivers/md/raid5.c 	struct r5conf *conf = sh->raid_conf;
r5conf           2595 drivers/md/raid5.c 	struct r5conf *conf = sh->raid_conf;
r5conf           2674 drivers/md/raid5.c 	struct r5conf *conf = mddev->private;
r5conf           2713 drivers/md/raid5.c sector_t raid5_compute_sector(struct r5conf *conf, sector_t r_sector,
r5conf           2917 drivers/md/raid5.c 	struct r5conf *conf = sh->raid_conf;
r5conf           3073 drivers/md/raid5.c static inline bool delay_towrite(struct r5conf *conf,
r5conf           3096 drivers/md/raid5.c 	struct r5conf *conf = sh->raid_conf;
r5conf           3209 drivers/md/raid5.c 	struct r5conf *conf = sh->raid_conf;
r5conf           3330 drivers/md/raid5.c static void end_reshape(struct r5conf *conf);
r5conf           3332 drivers/md/raid5.c static void stripe_set_idx(sector_t stripe, struct r5conf *conf, int previous,
r5conf           3349 drivers/md/raid5.c handle_failed_stripe(struct r5conf *conf, struct stripe_head *sh,
r5conf           3462 drivers/md/raid5.c handle_failed_sync(struct r5conf *conf, struct stripe_head *sh,
r5conf           3750 drivers/md/raid5.c static void handle_stripe_clean_event(struct r5conf *conf,
r5conf           3865 drivers/md/raid5.c static int handle_stripe_dirtying(struct r5conf *conf,
r5conf           4033 drivers/md/raid5.c static void handle_parity_checks5(struct r5conf *conf, struct stripe_head *sh,
r5conf           4126 drivers/md/raid5.c static void handle_parity_checks6(struct r5conf *conf, struct stripe_head *sh,
r5conf           4303 drivers/md/raid5.c static void handle_stripe_expansion(struct r5conf *conf, struct stripe_head *sh)
r5conf           4376 drivers/md/raid5.c 	struct r5conf *conf = sh->raid_conf;
r5conf           4671 drivers/md/raid5.c 	struct r5conf *conf = sh->raid_conf;
r5conf           5061 drivers/md/raid5.c static void raid5_activate_delayed(struct r5conf *conf)
r5conf           5078 drivers/md/raid5.c static void activate_bit_delay(struct r5conf *conf,
r5conf           5097 drivers/md/raid5.c 	struct r5conf *conf = mddev->private;
r5conf           5119 drivers/md/raid5.c 	struct r5conf *conf = mddev->private;
r5conf           5135 drivers/md/raid5.c static void add_bio_to_retry(struct bio *bi,struct r5conf *conf)
r5conf           5148 drivers/md/raid5.c static struct bio *remove_bio_from_retry(struct r5conf *conf,
r5conf           5179 drivers/md/raid5.c 	struct r5conf *conf;
r5conf           5206 drivers/md/raid5.c 	struct r5conf *conf = mddev->private;
r5conf           5302 drivers/md/raid5.c 		struct r5conf *conf = mddev->private;
r5conf           5325 drivers/md/raid5.c static struct stripe_head *__get_priority_stripe(struct r5conf *conf, int group)
r5conf           5429 drivers/md/raid5.c 	struct r5conf *conf = mddev->private;
r5conf           5492 drivers/md/raid5.c 	struct r5conf *conf = mddev->private;
r5conf           5579 drivers/md/raid5.c 	struct r5conf *conf = mddev->private;
r5conf           5764 drivers/md/raid5.c 	struct r5conf *conf = mddev->private;
r5conf           6025 drivers/md/raid5.c 	struct r5conf *conf = mddev->private;
r5conf           6115 drivers/md/raid5.c static int  retry_aligned_read(struct r5conf *conf, struct bio *raid_bio,
r5conf           6178 drivers/md/raid5.c static int handle_active_stripes(struct r5conf *conf, int group,
r5conf           6233 drivers/md/raid5.c 	struct r5conf *conf = group->conf;
r5conf           6283 drivers/md/raid5.c 	struct r5conf *conf = mddev->private;
r5conf           6363 drivers/md/raid5.c 	struct r5conf *conf;
r5conf           6377 drivers/md/raid5.c 	struct r5conf *conf = mddev->private;
r5conf           6407 drivers/md/raid5.c 	struct r5conf *conf;
r5conf           6436 drivers/md/raid5.c 	struct r5conf *conf = mddev->private;
r5conf           6446 drivers/md/raid5.c 	struct r5conf *conf = mddev->private;
r5conf           6479 drivers/md/raid5.c 	struct r5conf *conf;
r5conf           6492 drivers/md/raid5.c 	struct r5conf *conf;
r5conf           6524 drivers/md/raid5.c 	struct r5conf *conf;
r5conf           6537 drivers/md/raid5.c 	struct r5conf *conf;
r5conf           6576 drivers/md/raid5.c 	struct r5conf *conf = mddev->private;
r5conf           6589 drivers/md/raid5.c 	struct r5conf *conf;
r5conf           6599 drivers/md/raid5.c static int alloc_thread_groups(struct r5conf *conf, int cnt,
r5conf           6606 drivers/md/raid5.c 	struct r5conf *conf;
r5conf           6675 drivers/md/raid5.c static int alloc_thread_groups(struct r5conf *conf, int cnt,
r5conf           6723 drivers/md/raid5.c static void free_thread_groups(struct r5conf *conf)
r5conf           6734 drivers/md/raid5.c 	struct r5conf *conf = mddev->private;
r5conf           6747 drivers/md/raid5.c static void free_scratch_buffer(struct r5conf *conf, struct raid5_percpu *percpu)
r5conf           6755 drivers/md/raid5.c static int alloc_scratch_buffer(struct r5conf *conf, struct raid5_percpu *percpu)
r5conf           6779 drivers/md/raid5.c 	struct r5conf *conf = hlist_entry_safe(node, struct r5conf, node);
r5conf           6785 drivers/md/raid5.c static void raid5_free_percpu(struct r5conf *conf)
r5conf           6794 drivers/md/raid5.c static void free_conf(struct r5conf *conf)
r5conf           6816 drivers/md/raid5.c 	struct r5conf *conf = hlist_entry_safe(node, struct r5conf, node);
r5conf           6827 drivers/md/raid5.c static int raid5_alloc_percpu(struct r5conf *conf)
r5conf           6848 drivers/md/raid5.c 	struct r5conf *conf = container_of(shrink, struct r5conf, shrinker);
r5conf           6869 drivers/md/raid5.c 	struct r5conf *conf = container_of(shrink, struct r5conf, shrinker);
r5conf           6877 drivers/md/raid5.c static struct r5conf *setup_conf(struct mddev *mddev)
r5conf           6879 drivers/md/raid5.c 	struct r5conf *conf;
r5conf           6918 drivers/md/raid5.c 	conf = kzalloc(sizeof(struct r5conf), GFP_KERNEL);
r5conf           7151 drivers/md/raid5.c 	struct r5conf *conf;
r5conf           7505 drivers/md/raid5.c 	struct r5conf *conf = priv;
r5conf           7513 drivers/md/raid5.c 	struct r5conf *conf = mddev->private;
r5conf           7528 drivers/md/raid5.c static void print_raid5_conf (struct r5conf *conf)
r5conf           7555 drivers/md/raid5.c 	struct r5conf *conf = mddev->private;
r5conf           7597 drivers/md/raid5.c 	struct r5conf *conf = mddev->private;
r5conf           7682 drivers/md/raid5.c 	struct r5conf *conf = mddev->private;
r5conf           7769 drivers/md/raid5.c 	struct r5conf *conf = mddev->private;
r5conf           7804 drivers/md/raid5.c 	struct r5conf *conf = mddev->private;
r5conf           7820 drivers/md/raid5.c 	struct r5conf *conf = mddev->private;
r5conf           7864 drivers/md/raid5.c 	struct r5conf *conf = mddev->private;
r5conf           8003 drivers/md/raid5.c static void end_reshape(struct r5conf *conf)
r5conf           8041 drivers/md/raid5.c 	struct r5conf *conf = mddev->private;
r5conf           8071 drivers/md/raid5.c 	struct r5conf *conf = mddev->private;
r5conf           8199 drivers/md/raid5.c 	struct r5conf *conf = mddev->private;
r5conf           8342 drivers/md/raid5.c 	struct r5conf *conf;
r5conf           8404 drivers/md/raid5.c 	struct r5conf *conf = mddev->private;
r5conf            202 drivers/md/raid5.h 	struct r5conf		*raid_conf;
r5conf            519 drivers/md/raid5.h 	struct r5conf *conf;
r5conf            755 drivers/md/raid5.h extern void md_raid5_kick_device(struct r5conf *conf);
r5conf            759 drivers/md/raid5.h extern sector_t raid5_compute_sector(struct r5conf *conf, sector_t r_sector,
r5conf            763 drivers/md/raid5.h raid5_get_active_stripe(struct r5conf *conf, sector_t sector,
r5conf            765 drivers/md/raid5.h extern int raid5_calc_degraded(struct r5conf *conf);