Home
last modified time | relevance | path

Searched refs:r5conf (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/drivers/md/
Draid5-log.h5 extern int r5l_init_log(struct r5conf *conf, struct md_rdev *rdev);
6 extern void r5l_exit_log(struct r5conf *conf);
13 extern bool r5l_log_disk_error(struct r5conf *conf);
16 r5c_try_caching_write(struct r5conf *conf, struct stripe_head *sh,
19 r5c_finish_stripe_write_out(struct r5conf *conf, struct stripe_head *sh,
24 extern void r5c_handle_cached_data_endio(struct r5conf *conf,
28 extern void r5c_flush_cache(struct r5conf *conf, int num);
29 extern void r5c_check_stripe_cache_usage(struct r5conf *conf);
30 extern void r5c_check_cached_full_stripe(struct r5conf *conf);
34 extern bool r5c_big_stripe_cached(struct r5conf *conf, sector_t sect);
[all …]
Draid5.h202 struct r5conf *raid_conf;
522 struct r5conf *conf;
569 struct r5conf { struct
757 extern void md_raid5_kick_device(struct r5conf *conf);
761 extern sector_t raid5_compute_sector(struct r5conf *conf, sector_t r_sector,
765 raid5_get_active_stripe(struct r5conf *conf, sector_t sector,
767 extern int raid5_calc_degraded(struct r5conf *conf);
Draid5-cache.c204 static inline sector_t r5c_tree_index(struct r5conf *conf, in r5c_tree_index()
303 r5c_return_dev_pending_writes(struct r5conf *conf, struct r5dev *dev) in r5c_return_dev_pending_writes()
318 void r5c_handle_cached_data_endio(struct r5conf *conf, in r5c_handle_cached_data_endio()
338 void r5c_check_stripe_cache_usage(struct r5conf *conf) in r5c_check_stripe_cache_usage()
365 void r5c_check_cached_full_stripe(struct r5conf *conf) in r5c_check_cached_full_stripe()
408 static sector_t r5c_log_required_to_flush_cache(struct r5conf *conf) in r5c_log_required_to_flush_cache()
429 struct r5conf *conf = log->rdev->mddev->private; in r5c_update_log_state()
462 struct r5conf *conf = sh->raid_conf; in r5c_make_stripe_write_out()
696 struct r5conf *conf = mddev->private; in r5c_disable_writeback_async()
876 struct r5conf *conf = mddev->private; in r5l_append_flush_payload()
[all …]
Draid5.c79 static inline struct hlist_head *stripe_hash(struct r5conf *conf, sector_t sect) in stripe_hash()
90 static inline void lock_device_hash_lock(struct r5conf *conf, int hash) in lock_device_hash_lock()
96 static inline void unlock_device_hash_lock(struct r5conf *conf, int hash) in unlock_device_hash_lock()
102 static inline void lock_all_device_hash_locks_irq(struct r5conf *conf) in lock_all_device_hash_locks_irq()
111 static inline void unlock_all_device_hash_locks_irq(struct r5conf *conf) in unlock_all_device_hash_locks_irq()
159 static void print_raid5_conf (struct r5conf *conf);
177 struct r5conf *conf = sh->raid_conf; in raid5_wakeup_stripe_thread()
221 static void do_release_stripe(struct r5conf *conf, struct stripe_head *sh, in do_release_stripe()
306 static void __release_stripe(struct r5conf *conf, struct stripe_head *sh, in __release_stripe()
320 static void release_inactive_stripe_list(struct r5conf *conf, in release_inactive_stripe_list()
[all …]
Draid5-ppl.c281 struct r5conf *conf = sh->raid_conf; in ppl_log_stripe()
367 int ppl_write_stripe(struct r5conf *conf, struct stripe_head *sh) in ppl_write_stripe()
543 void ppl_write_stripe_run(struct r5conf *conf) in ppl_write_stripe_run()
562 struct r5conf *conf = ppl_conf->mddev->private; in ppl_io_unit_finished()
597 struct r5conf *conf = ppl_conf->mddev->private; in ppl_flush_endio()
624 struct r5conf *conf = ppl_conf->mddev->private; in ppl_do_flush()
667 static inline bool ppl_no_io_unit_submitted(struct r5conf *conf, in ppl_no_io_unit_submitted()
678 void ppl_quiesce(struct r5conf *conf, int quiesce) in ppl_quiesce()
805 struct r5conf *conf = mddev->private; in ppl_recover_entry()
1257 void ppl_exit_log(struct r5conf *conf) in ppl_exit_log()
[all …]
Ddm-raid.c1532 struct r5conf *conf; in rs_set_raid456_stripe_cache()
3512 struct r5conf *conf = mddev->private; in raid_status()