Lines Matching defs:conf
74 static inline struct hlist_head *stripe_hash(struct r5conf *conf, sector_t sect) in stripe_hash()
193 static void __release_stripe(struct r5conf *conf, struct stripe_head *sh) in __release_stripe()
229 struct r5conf *conf = sh->raid_conf; in release_stripe() local
245 static inline void insert_hash(struct r5conf *conf, struct stripe_head *sh) in insert_hash()
257 static struct stripe_head *get_free_stripe(struct r5conf *conf) in get_free_stripe()
310 struct r5conf *conf = sh->raid_conf; in init_stripe() local
346 static struct stripe_head *__find_stripe(struct r5conf *conf, sector_t sector, in __find_stripe()
373 static int calc_degraded(struct r5conf *conf) in calc_degraded()
425 static int has_failed(struct r5conf *conf) in has_failed()
439 get_active_stripe(struct r5conf *conf, sector_t sector, in get_active_stripe()
499 struct r5conf *conf = sh->raid_conf; in ops_run_io() local
712 struct r5conf *conf = sh->raid_conf; in ops_complete_biofill() local
757 struct r5conf *conf = sh->raid_conf; in ops_run_biofill() local
1308 struct r5conf *conf = sh->raid_conf; in __raid_run_ops() local
1399 static int grow_one_stripe(struct r5conf *conf) in grow_one_stripe()
1424 static int grow_stripes(struct r5conf *conf, int num) in grow_stripes()
1473 static int resize_stripes(struct r5conf *conf, int newsize) in resize_stripes()
1618 static int drop_one_stripe(struct r5conf *conf) in drop_one_stripe()
1634 static void shrink_stripes(struct r5conf *conf) in shrink_stripes()
1647 struct r5conf *conf = sh->raid_conf; in raid5_end_read_request() local
1754 struct r5conf *conf = sh->raid_conf; in raid5_end_write_request() local
1842 struct r5conf *conf = mddev->private; in error() local
1868 static sector_t raid5_compute_sector(struct r5conf *conf, sector_t r_sector, in raid5_compute_sector()
2073 struct r5conf *conf = sh->raid_conf; in compute_blocknr() local
2198 struct r5conf *conf = sh->raid_conf; in schedule_reconstruction() local
2283 struct r5conf *conf = sh->raid_conf; in add_stripe_bio() local
2347 static void stripe_set_idx(sector_t stripe, struct r5conf *conf, int previous, in stripe_set_idx()
2364 handle_failed_stripe(struct r5conf *conf, struct stripe_head *sh, in handle_failed_stripe()
2469 handle_failed_sync(struct r5conf *conf, struct stripe_head *sh, in handle_failed_sync()
2642 static void handle_stripe_clean_event(struct r5conf *conf, in handle_stripe_clean_event()
2687 static void handle_stripe_dirtying(struct r5conf *conf, in handle_stripe_dirtying()
2789 static void handle_parity_checks5(struct r5conf *conf, struct stripe_head *sh, in handle_parity_checks5()
2877 static void handle_parity_checks6(struct r5conf *conf, struct stripe_head *sh, in handle_parity_checks6()
3040 static void handle_stripe_expansion(struct r5conf *conf, struct stripe_head *sh) in handle_stripe_expansion()
3115 struct r5conf *conf = sh->raid_conf; in analyse_stripe() local
3296 struct r5conf *conf = sh->raid_conf; in handle_stripe() local
3595 static void raid5_activate_delayed(struct r5conf *conf) in raid5_activate_delayed()
3611 static void activate_bit_delay(struct r5conf *conf) in activate_bit_delay()
3627 struct r5conf *conf = mddev->private; in md_raid5_congested() local
3695 static void add_bio_to_retry(struct bio *bi,struct r5conf *conf) in add_bio_to_retry()
3709 static struct bio *remove_bio_from_retry(struct r5conf *conf) in remove_bio_from_retry()
3743 struct r5conf *conf; in raid5_align_endio() local
3791 struct r5conf *conf = mddev->private; in chunk_aligned_read() local
3878 static struct stripe_head *__get_priority_stripe(struct r5conf *conf) in __get_priority_stripe()
3923 struct r5conf *conf = mddev->private; in make_request() local
4092 struct r5conf *conf = mddev->private; in reshape_request() local
4301 struct r5conf *conf = mddev->private; in sync_request() local
4385 static int retry_aligned_read(struct r5conf *conf, struct bio *raid_bio) in retry_aligned_read()
4459 struct r5conf *conf = mddev->private; in raid5d() local
4525 struct r5conf *conf = mddev->private; in raid5_show_stripe_cache_size() local
4535 struct r5conf *conf = mddev->private; in raid5_set_cache_size() local
4561 struct r5conf *conf = mddev->private; in raid5_store_stripe_cache_size() local
4586 struct r5conf *conf = mddev->private; in raid5_show_preread_threshold() local
4596 struct r5conf *conf = mddev->private; in raid5_store_preread_threshold() local
4620 struct r5conf *conf = mddev->private; in stripe_cache_active_show() local
4644 struct r5conf *conf = mddev->private; in raid5_size() local
4657 static void raid5_free_percpu(struct r5conf *conf) in raid5_free_percpu()
4679 static void free_conf(struct r5conf *conf) in free_conf()
4692 struct r5conf *conf = container_of(nfb, struct r5conf, cpu_notify); in raid456_cpu_notify() local
4727 static int raid5_alloc_percpu(struct r5conf *conf) in raid5_alloc_percpu()
4771 struct r5conf *conf; in setup_conf() local
4945 struct r5conf *conf; in run() local
5198 struct r5conf *conf = mddev->private; in stop() local
5211 struct r5conf *conf = mddev->private; in status() local
5224 static void print_raid5_conf (struct r5conf *conf) in print_raid5_conf()
5251 struct r5conf *conf = mddev->private; in raid5_spare_active() local
5293 struct r5conf *conf = mddev->private; in raid5_remove_disk() local
5355 struct r5conf *conf = mddev->private; in raid5_add_disk() local
5445 struct r5conf *conf = mddev->private; in check_stripe_cache() local
5461 struct r5conf *conf = mddev->private; in check_reshape() local
5493 struct r5conf *conf = mddev->private; in raid5_start_reshape() local
5607 static void end_reshape(struct r5conf *conf) in end_reshape()
5636 struct r5conf *conf = mddev->private; in raid5_finish_reshape() local
5669 struct r5conf *conf = mddev->private; in raid5_quiesce() local
5798 struct r5conf *conf = mddev->private; in raid5_check_reshape() local