• Home
  • Raw
  • Download

Lines Matching defs:conf

71 static inline struct hlist_head *stripe_hash(struct r5conf *conf, sector_t sect)  in stripe_hash()
77 static inline int stripe_hash_locks_hash(struct r5conf *conf, sector_t sect) in stripe_hash_locks_hash()
82 static inline void lock_device_hash_lock(struct r5conf *conf, int hash) in lock_device_hash_lock()
88 static inline void unlock_device_hash_lock(struct r5conf *conf, int hash) in unlock_device_hash_lock()
94 static inline void lock_all_device_hash_locks_irq(struct r5conf *conf) in lock_all_device_hash_locks_irq()
103 static inline void unlock_all_device_hash_locks_irq(struct r5conf *conf) in unlock_all_device_hash_locks_irq()
169 struct r5conf *conf = sh->raid_conf; in raid5_wakeup_stripe_thread() local
213 static void do_release_stripe(struct r5conf *conf, struct stripe_head *sh, in do_release_stripe()
298 static void __release_stripe(struct r5conf *conf, struct stripe_head *sh, in __release_stripe()
312 static void release_inactive_stripe_list(struct r5conf *conf, in release_inactive_stripe_list()
355 static int release_stripe_list(struct r5conf *conf, in release_stripe_list()
385 struct r5conf *conf = sh->raid_conf; in raid5_release_stripe() local
422 static inline void insert_hash(struct r5conf *conf, struct stripe_head *sh) in insert_hash()
433 static struct stripe_head *get_free_stripe(struct r5conf *conf, int hash) in get_free_stripe()
491 init_stripe_shared_pages(struct stripe_head *sh, struct r5conf *conf, int disks) in init_stripe_shared_pages()
568 struct r5conf *conf = sh->raid_conf; in init_stripe() local
608 static struct stripe_head *__find_stripe(struct r5conf *conf, sector_t sector, in __find_stripe()
634 int raid5_calc_degraded(struct r5conf *conf) in raid5_calc_degraded()
690 static bool has_failed(struct r5conf *conf) in has_failed()
704 raid5_get_active_stripe(struct r5conf *conf, sector_t sector, in raid5_get_active_stripe()
807 struct r5conf *conf = sh->raid_conf; in stripe_can_batch() local
817 static void stripe_add_to_batch_list(struct r5conf *conf, struct stripe_head *sh) in stripe_add_to_batch_list()
931 static int use_new_offset(struct r5conf *conf, struct stripe_head *sh) in use_new_offset()
971 static void dispatch_defer_bios(struct r5conf *conf, int target, in dispatch_defer_bios()
1016 static void flush_deferred_bios(struct r5conf *conf) in flush_deferred_bios()
1031 static void defer_issue_bios(struct r5conf *conf, sector_t sector, in defer_issue_bios()
1060 struct r5conf *conf = sh->raid_conf; in ops_run_io() local
1317 struct r5conf *conf = sh->raid_conf; in async_copy_data() local
1375 struct r5conf *conf = sh->raid_conf; in ops_complete_biofill() local
1414 struct r5conf *conf = sh->raid_conf; in ops_run_biofill() local
1859 struct r5conf *conf = sh->raid_conf; in ops_run_biodrain() local
2216 struct r5conf *conf = sh->raid_conf; in raid_run_ops() local
2295 int disks, struct r5conf *conf) in alloc_stripe()
2334 static int grow_one_stripe(struct r5conf *conf, gfp_t gfp) in grow_one_stripe()
2357 static int grow_stripes(struct r5conf *conf, int num) in grow_stripes()
2427 static int resize_chunks(struct r5conf *conf, int new_disks, int new_sectors) in resize_chunks()
2462 static int resize_stripes(struct r5conf *conf, int newsize) in resize_stripes()
2636 static int drop_one_stripe(struct r5conf *conf) in drop_one_stripe()
2654 static void shrink_stripes(struct r5conf *conf) in shrink_stripes()
2667 struct r5conf *conf = sh->raid_conf; in raid5_end_read_request() local
2798 struct r5conf *conf = sh->raid_conf; in raid5_end_write_request() local
2877 struct r5conf *conf = mddev->private; in raid5_error() local
2913 sector_t raid5_compute_sector(struct r5conf *conf, sector_t r_sector, in raid5_compute_sector()
3117 struct r5conf *conf = sh->raid_conf; in raid5_compute_blocknr() local
3273 static inline bool delay_towrite(struct r5conf *conf, in delay_towrite()
3296 struct r5conf *conf = sh->raid_conf; in schedule_reconstruction() local
3409 struct r5conf *conf = sh->raid_conf; in add_stripe_bio() local
3532 static void stripe_set_idx(sector_t stripe, struct r5conf *conf, int previous, in stripe_set_idx()
3549 handle_failed_stripe(struct r5conf *conf, struct stripe_head *sh, in handle_failed_stripe()
3662 handle_failed_sync(struct r5conf *conf, struct stripe_head *sh, in handle_failed_sync()
3961 static void handle_stripe_clean_event(struct r5conf *conf, in handle_stripe_clean_event()
4076 static int handle_stripe_dirtying(struct r5conf *conf, in handle_stripe_dirtying()
4240 static void handle_parity_checks5(struct r5conf *conf, struct stripe_head *sh, in handle_parity_checks5()
4333 static void handle_parity_checks6(struct r5conf *conf, struct stripe_head *sh, in handle_parity_checks6()
4510 static void handle_stripe_expansion(struct r5conf *conf, struct stripe_head *sh) in handle_stripe_expansion()
4584 struct r5conf *conf = sh->raid_conf; in analyse_stripe() local
4879 struct r5conf *conf = sh->raid_conf; in handle_stripe() local
5271 static void raid5_activate_delayed(struct r5conf *conf) in raid5_activate_delayed()
5288 static void activate_bit_delay(struct r5conf *conf, in activate_bit_delay()
5307 struct r5conf *conf = mddev->private; in in_chunk_boundary() local
5321 static void add_bio_to_retry(struct bio *bi,struct r5conf *conf) in add_bio_to_retry()
5334 static struct bio *remove_bio_from_retry(struct r5conf *conf, in remove_bio_from_retry()
5366 struct r5conf *conf; in raid5_align_endio() local
5396 struct r5conf *conf = mddev->private; in raid5_read_one_chunk() local
5491 struct r5conf *conf = mddev->private; in chunk_aligned_read() local
5514 static struct stripe_head *__get_priority_stripe(struct r5conf *conf, int group) in __get_priority_stripe()
5618 struct r5conf *conf = mddev->private; in raid5_unplug() local
5681 struct r5conf *conf = mddev->private; in make_discard_request() local
5768 struct r5conf *conf = mddev->private; in raid5_make_request() local
5953 struct r5conf *conf = mddev->private; in reshape_request() local
6214 struct r5conf *conf = mddev->private; in raid5_sync_request() local
6305 static int retry_aligned_read(struct r5conf *conf, struct bio *raid_bio, in retry_aligned_read()
6368 static int handle_active_stripes(struct r5conf *conf, int group, in handle_active_stripes()
6423 struct r5conf *conf = group->conf; in raid5_do_work() local
6473 struct r5conf *conf = mddev->private; in raid5d() local
6564 struct r5conf *conf; in raid5_show_stripe_cache_size() local
6578 struct r5conf *conf = mddev->private; in raid5_set_cache_size() local
6608 struct r5conf *conf; in raid5_store_stripe_cache_size() local
6637 struct r5conf *conf = mddev->private; in raid5_show_rmw_level() local
6647 struct r5conf *conf = mddev->private; in raid5_store_rmw_level() local
6679 struct r5conf *conf; in raid5_show_stripe_size() local
6694 struct r5conf *conf; in raid5_store_stripe_size() local
6774 struct r5conf *conf; in raid5_show_preread_threshold() local
6787 struct r5conf *conf; in raid5_store_preread_threshold() local
6819 struct r5conf *conf; in raid5_show_skip_copy() local
6832 struct r5conf *conf; in raid5_store_skip_copy() local
6871 struct r5conf *conf = mddev->private; in stripe_cache_active_show() local
6884 struct r5conf *conf; in raid5_show_group_thread_cnt() local
6900 struct r5conf *conf; in raid5_store_group_thread_cnt() local
6968 static int alloc_thread_groups(struct r5conf *conf, int cnt, int *group_cnt, in alloc_thread_groups()
7013 static void free_thread_groups(struct r5conf *conf) in free_thread_groups()
7024 struct r5conf *conf = mddev->private; in raid5_size() local
7037 static void free_scratch_buffer(struct r5conf *conf, struct raid5_percpu *percpu) in free_scratch_buffer()
7045 static int alloc_scratch_buffer(struct r5conf *conf, struct raid5_percpu *percpu) in alloc_scratch_buffer()
7068 struct r5conf *conf = hlist_entry_safe(node, struct r5conf, node); in raid456_cpu_dead() local
7074 static void raid5_free_percpu(struct r5conf *conf) in raid5_free_percpu()
7083 static void free_conf(struct r5conf *conf) in free_conf()
7105 struct r5conf *conf = hlist_entry_safe(node, struct r5conf, node); in raid456_cpu_up_prepare() local
7116 static int raid5_alloc_percpu(struct r5conf *conf) in raid5_alloc_percpu()
7137 struct r5conf *conf = container_of(shrink, struct r5conf, shrinker); in raid5_cache_scan() local
7158 struct r5conf *conf = container_of(shrink, struct r5conf, shrinker); in raid5_cache_count() local
7168 struct r5conf *conf; in setup_conf() local
7443 static void raid5_set_io_opt(struct r5conf *conf) in raid5_set_io_opt()
7451 struct r5conf *conf; in raid5_run() local
7820 struct r5conf *conf = priv; in raid5_free() local
7829 struct r5conf *conf = mddev->private; in raid5_status() local
7844 static void print_raid5_conf (struct r5conf *conf) in print_raid5_conf()
7871 struct r5conf *conf = mddev->private; in raid5_spare_active() local
7913 struct r5conf *conf = mddev->private; in raid5_remove_disk() local
7998 struct r5conf *conf = mddev->private; in raid5_add_disk() local
8086 struct r5conf *conf = mddev->private; in raid5_resize() local
8121 struct r5conf *conf = mddev->private; in check_stripe_cache() local
8137 struct r5conf *conf = mddev->private; in check_reshape() local
8181 struct r5conf *conf = mddev->private; in raid5_start_reshape() local
8320 static void end_reshape(struct r5conf *conf) in end_reshape()
8350 struct r5conf *conf = mddev->private; in raid5_finish_reshape() local
8380 struct r5conf *conf = mddev->private; in raid5_quiesce() local
8511 struct r5conf *conf = mddev->private; in raid5_check_reshape() local
8654 struct r5conf *conf; in raid5_change_consistency_policy() local
8716 struct r5conf *conf = mddev->private; in raid5_start() local