Searched refs:r5conf (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.10/drivers/md/ |
D | raid5-log.h | 5 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 …]
|
D | raid5.h | 203 struct r5conf *raid_conf; 515 struct r5conf *conf; 562 struct r5conf { struct 713 static inline struct bio *r5_next_bio(struct r5conf *conf, struct bio *bio, sector_t sector) in r5_next_bio() argument 801 extern void md_raid5_kick_device(struct r5conf *conf); 805 extern sector_t raid5_compute_sector(struct r5conf *conf, sector_t r_sector, 809 raid5_get_active_stripe(struct r5conf *conf, sector_t sector, 811 extern int raid5_calc_degraded(struct r5conf *conf);
|
D | raid5.c | 70 static inline struct hlist_head *stripe_hash(struct r5conf *conf, sector_t sect) in stripe_hash() 76 static inline int stripe_hash_locks_hash(struct r5conf *conf, sector_t sect) in stripe_hash_locks_hash() 81 static inline void lock_device_hash_lock(struct r5conf *conf, int hash) in lock_device_hash_lock() 87 static inline void unlock_device_hash_lock(struct r5conf *conf, int hash) in unlock_device_hash_lock() 93 static inline void lock_all_device_hash_locks_irq(struct r5conf *conf) in lock_all_device_hash_locks_irq() 102 static inline void unlock_all_device_hash_locks_irq(struct r5conf *conf) in unlock_all_device_hash_locks_irq() 150 static void print_raid5_conf (struct r5conf *conf); 168 struct r5conf *conf = sh->raid_conf; in raid5_wakeup_stripe_thread() 212 static void do_release_stripe(struct r5conf *conf, struct stripe_head *sh, in do_release_stripe() 297 static void __release_stripe(struct r5conf *conf, struct stripe_head *sh, in __release_stripe() [all …]
|
D | raid5-cache.c | 195 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() 865 struct r5conf *conf = mddev->private; in r5l_append_flush_payload() [all …]
|
D | raid5-ppl.c | 274 struct r5conf *conf = sh->raid_conf; in ppl_log_stripe() 360 int ppl_write_stripe(struct r5conf *conf, struct stripe_head *sh) in ppl_write_stripe() 538 void ppl_write_stripe_run(struct r5conf *conf) in ppl_write_stripe_run() 557 struct r5conf *conf = ppl_conf->mddev->private; in ppl_io_unit_finished() 592 struct r5conf *conf = ppl_conf->mddev->private; in ppl_flush_endio() 619 struct r5conf *conf = ppl_conf->mddev->private; in ppl_do_flush() 662 static inline bool ppl_no_io_unit_submitted(struct r5conf *conf, in ppl_no_io_unit_submitted() 673 void ppl_quiesce(struct r5conf *conf, int quiesce) in ppl_quiesce() 800 struct r5conf *conf = mddev->private; in ppl_recover_entry() 1252 void ppl_exit_log(struct r5conf *conf) in ppl_exit_log() [all …]
|
D | dm-raid.c | 1536 struct r5conf *conf; in rs_set_raid456_stripe_cache() 3493 struct r5conf *conf = mddev->private; in raid_status()
|