Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/md/
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 …]
Draid5.h204 struct r5conf *raid_conf;
517 struct r5conf *conf;
574 struct r5conf { struct
718 static inline struct bio *r5_next_bio(struct r5conf *conf, struct bio *bio, sector_t sector) in r5_next_bio() argument
806 void md_raid5_kick_device(struct r5conf *conf);
810 sector_t raid5_compute_sector(struct r5conf *conf, sector_t r_sector,
820 struct stripe_head *raid5_get_active_stripe(struct r5conf *conf,
824 int raid5_calc_degraded(struct r5conf *conf);
Draid5.c73 static inline struct hlist_head *stripe_hash(struct r5conf *conf, sector_t sect) in stripe_hash()
79 static inline int stripe_hash_locks_hash(struct r5conf *conf, sector_t sect) in stripe_hash_locks_hash()
84 static inline void lock_device_hash_lock(struct r5conf *conf, int hash) in lock_device_hash_lock()
91 static inline void unlock_device_hash_lock(struct r5conf *conf, int hash) in unlock_device_hash_lock()
98 static inline void lock_all_device_hash_locks_irq(struct r5conf *conf) in lock_all_device_hash_locks_irq()
108 static inline void unlock_all_device_hash_locks_irq(struct r5conf *conf) in unlock_all_device_hash_locks_irq()
157 static void print_raid5_conf (struct r5conf *conf);
176 struct r5conf *conf = sh->raid_conf; in raid5_wakeup_stripe_thread()
220 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()
[all …]
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()
327 void r5c_check_stripe_cache_usage(struct r5conf *conf) in r5c_check_stripe_cache_usage()
354 void r5c_check_cached_full_stripe(struct r5conf *conf) in r5c_check_cached_full_stripe()
397 static sector_t r5c_log_required_to_flush_cache(struct r5conf *conf) in r5c_log_required_to_flush_cache()
418 struct r5conf *conf = log->rdev->mddev->private; in r5c_update_log_state()
451 struct r5conf *conf = sh->raid_conf; in r5c_make_stripe_write_out()
685 struct r5conf *conf = mddev->private; in r5c_disable_writeback_async()
864 struct r5conf *conf = mddev->private; in r5l_append_flush_payload()
[all …]
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 …]
Ddm-raid.c1537 struct r5conf *conf; in rs_set_raid456_stripe_cache()
3513 struct r5conf *conf = rs_is_raid456(rs) ? mddev->private : NULL; in raid_status()