Home
last modified time | relevance | path

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

/openbmc/linux/drivers/md/
H A Draid5-log.h5 int r5l_init_log(struct r5conf *conf, struct md_rdev *rdev);
6 void r5l_exit_log(struct r5conf *conf);
13 bool r5l_log_disk_error(struct r5conf *conf);
15 int r5c_try_caching_write(struct r5conf *conf, struct stripe_head *sh,
17 void r5c_finish_stripe_write_out(struct r5conf *conf, struct stripe_head *sh,
22 void r5c_handle_cached_data_endio(struct r5conf *conf,
26 void r5c_flush_cache(struct r5conf *conf, int num);
27 void r5c_check_stripe_cache_usage(struct r5conf *conf);
28 void r5c_check_cached_full_stripe(struct r5conf *conf);
31 bool r5c_big_stripe_cached(struct r5conf *conf, sector_t sect);
[all …]
H A Draid5.h204 struct r5conf *raid_conf;
513 struct r5conf *conf;
570 struct r5conf { struct
714 static inline struct bio *r5_next_bio(struct r5conf *conf, struct bio *bio, sector_t sector) in r5_next_bio() argument
802 void md_raid5_kick_device(struct r5conf *conf);
806 sector_t raid5_compute_sector(struct r5conf *conf, sector_t r_sector,
816 struct stripe_head *raid5_get_active_stripe(struct r5conf *conf,
820 int raid5_calc_degraded(struct r5conf *conf);
H A Draid5.c72 static inline struct hlist_head *stripe_hash(struct r5conf *conf, sector_t sect) in stripe_hash()
78 static inline int stripe_hash_locks_hash(struct r5conf *conf, sector_t sect) in stripe_hash_locks_hash()
83 static inline void lock_device_hash_lock(struct r5conf *conf, int hash) in lock_device_hash_lock()
90 static inline void unlock_device_hash_lock(struct r5conf *conf, int hash) in unlock_device_hash_lock()
97 static inline void lock_all_device_hash_locks_irq(struct r5conf *conf) in lock_all_device_hash_locks_irq()
107 static inline void unlock_all_device_hash_locks_irq(struct r5conf *conf) in unlock_all_device_hash_locks_irq()
156 static void print_raid5_conf (struct r5conf *conf);
175 struct r5conf *conf = sh->raid_conf; in raid5_wakeup_stripe_thread()
219 static void do_release_stripe(struct r5conf *conf, struct stripe_head *sh, in do_release_stripe()
305 static void __release_stripe(struct r5conf *conf, struct stripe_head *sh, in __release_stripe()
[all …]
H A Draid5-cache.c195 static inline sector_t r5c_tree_index(struct r5conf *conf, in r5c_tree_index()
292 r5c_return_dev_pending_writes(struct r5conf *conf, struct r5dev *dev) in r5c_return_dev_pending_writes()
307 void r5c_handle_cached_data_endio(struct r5conf *conf, in r5c_handle_cached_data_endio()
323 void r5c_check_stripe_cache_usage(struct r5conf *conf) in r5c_check_stripe_cache_usage()
351 void r5c_check_cached_full_stripe(struct r5conf *conf) in r5c_check_cached_full_stripe()
396 static sector_t r5c_log_required_to_flush_cache(struct r5conf *conf) in r5c_log_required_to_flush_cache()
417 struct r5conf *conf = log->rdev->mddev->private; in r5c_update_log_state()
450 struct r5conf *conf = sh->raid_conf; in r5c_make_stripe_write_out()
684 struct r5conf *conf = mddev->private; in r5c_disable_writeback_async()
863 struct r5conf *conf = mddev->private; in r5l_append_flush_payload()
[all …]
H A Draid5-ppl.c275 struct r5conf *conf = sh->raid_conf; in ppl_log_stripe()
361 int ppl_write_stripe(struct r5conf *conf, struct stripe_head *sh) in ppl_write_stripe()
532 void ppl_write_stripe_run(struct r5conf *conf) in ppl_write_stripe_run()
551 struct r5conf *conf = ppl_conf->mddev->private; in ppl_io_unit_finished()
586 struct r5conf *conf = ppl_conf->mddev->private; in ppl_flush_endio()
612 struct r5conf *conf = ppl_conf->mddev->private; in ppl_do_flush()
653 static inline bool ppl_no_io_unit_submitted(struct r5conf *conf, in ppl_no_io_unit_submitted()
664 void ppl_quiesce(struct r5conf *conf, int quiesce) in ppl_quiesce()
791 struct r5conf *conf = mddev->private; in ppl_recover_entry()
1245 void ppl_exit_log(struct r5conf *conf) in ppl_exit_log()
[all …]
H A Ddm-raid.c1538 struct r5conf *conf; in rs_set_raid456_stripe_cache()
3508 struct r5conf *conf = rs_is_raid456(rs) ? mddev->private : NULL; in raid_status()